View Full Version : Error Code 1 after upgrade
March 10th, 2007, 02:47 PM
Howdy, I just upgraded from v4.8.1 to v5.6.2 and now I am getting a mogrify error:
Error creating thumbnail! Error code: 1
"E:/ImageMagick/mogrify.exe" +profile "*" -size 100x75 -quality 70 -geometry 100x75 -unsharp 10 D:/wwwroot/photopost/data/500/thumbs/P5220012.JPG
This is on a Win2K3 server with IIS6, PHP4.4.4 and ImageMagick 188.8.131.52. The data directories (actually all of the Photopost files and directories) have "Everyone" with "Full Control" since I figured this was a permissions problem.
Any ideas? Thanks, Derek
March 10th, 2007, 02:56 PM
OK, I saw another one of your posts and removed twice:
and now it loads the image, but I get another error:
function.localtime]: Windows does not support negative values for this function in D:\wwwroot\photopost\pp-inc.php on line 1768 g="0" border="0" bgcolor="#000000">
I'll keep pokin'....
March 10th, 2007, 05:36 PM
list($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime($date);
did you just upgrade your PHP? I guess trying to figure why your date is not a positive number
March 10th, 2007, 06:40 PM
Hi Chuck, PHP has been this version on the server for a while. You helped me a bit back with similar problems when I integrated Photopost Pro with PHP Nuke user tables. This time, once again, the GMT settings from the bastardized PHPBB2 forum in PHP Nuke seemed to throw things out of whack. I changed them and now that error is gone. Now I just have the "Registered Dec 1969" problem, which I am sure I fixed somewhere in showphoto.php a long time ago and now just need to find again. No need to respond. Thanks, I reread some of your other posts and now things are making sense.
BTW, some of the icons in 5.6.2 were missing from my download:
I grabbed "indicator.gif" from the orange one that came with 5.6.2, but there is no report or mm-ms anywhere. Any place I can download?
March 10th, 2007, 08:33 PM
we dont have a darkblue-borders stylesheet for a long time so thats your issue just delete that directory under your stylesheets directory
As far as anything else to assist post a url here so we can see your integration type etc
March 11th, 2007, 01:39 PM
Chuck, the URL is http://datsun510.com/photopost
Last time the "Dec 1969" registration happened I think the fix was in nuke.php under forums, but that was many versions ago. The PHP Nuke is v7.8. Let me know if you have any ideas. At this point I am stuck. Thanks, Derek
March 11th, 2007, 05:09 PM
I dont have any ideas currently. You integrate with Nuke right so the registration date comes from user_regdate field from your users table so what is in that table for any specific user?
March 11th, 2007, 11:08 PM
Chuck, user table reg_date example would be "Aug 06, 2002" and the structure is "varchar(20)".
March 12th, 2007, 01:02 AM
Hey Chuck, dumb question, but does user_level from the nuke users table have anything to do with this? I remember it was foobar during the integration and my admin is a 2 and my registered users are 1. Is Photopost expecting something different?
March 12th, 2007, 07:59 AM
user_regdate is suppose to be a unix timestamp thats what our program is expecting to work with at least in phpbb it is which is what this is based on.
in your nuke.php integration file try adding this line in bold
list( $cuser, $chomepage, $cposts, $ctitle, $regdate ) = mysql_fetch_row($results);
ppmysql_free_result( $results );
$regdate = strtotime($regdate);
March 12th, 2007, 11:13 AM
That did it! The only date thing not showing now is on the showphoto page under "Photo Details" it does not have any date, just the word date:, but I am not too worried about that. Thanks for your help.
March 12th, 2007, 12:30 PM
It uses the same function there so it should work the same as comments
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.