 | |  | | | Photopost Pro Installation & Upgrades If you're having install or upgrade problems |
March 10th, 2007, 01:47 PM
|
#1 (permalink)
| | Member Verified Customer
Join Date: Mar 2004
Posts: 33
| Error Code 1 after upgrade
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
Command:
"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 6.3.3.1. 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, 01:56 PM
|
#2 (permalink)
| | Member Verified Customer
Join Date: Mar 2004
Posts: 33
| Progress?
OK, I saw another one of your posts and removed twice:
+profile \"*\"
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, 04:36 PM
|
#3 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,704
|
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, 05:40 PM
|
#4 (permalink)
| | Member Verified Customer
Join Date: Mar 2004
Posts: 33
| Date
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:
/stylesheets/darkblue-borders/indicator.gif
/stylesheets/darkblue-borders/report.gif
/stylesheets/darkblue-borders/mm-ms.gif
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, 07:33 PM
|
#5 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,704
|
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, 12:39 PM
|
#6 (permalink)
| | Member Verified Customer
Join Date: Mar 2004
Posts: 33
| Stuck
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, 04:09 PM
|
#7 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,704
|
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, 10:08 PM
|
#8 (permalink)
| | Member Verified Customer
Join Date: Mar 2004
Posts: 33
| reg_date
Chuck, user table reg_date example would be "Aug 06, 2002" and the structure is "varchar(20)".
|
| |
March 12th, 2007, 12:02 AM
|
#9 (permalink)
| | Member Verified Customer
Join Date: Mar 2004
Posts: 33
| user_level?
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, 06:59 AM
|
#10 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,704
|
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 Code: Content visible to verified customers only.
|
| |
March 12th, 2007, 10:13 AM
|
#11 (permalink)
| | Member Verified Customer
Join Date: Mar 2004
Posts: 33
| Thanks
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, 11:30 AM
|
#12 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,704
|
It uses the same function there so it should work the same as comments
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 09:15 PM. | |