 | |  | | | Photopost Pro Bug Reports Post post installation PhotoPost Pro problems here. |
May 9th, 2009, 03:02 PM
|
#1 (permalink)
| | Senior Member Verified Customer
Join Date: Nov 2002 Location: Reykjavik, Iceland
Posts: 724
| Server Error500 - Internal server error
After my upgrade to windows server 2008 this error message shows up all the time.
Photopost version is 6.22 using GD2
This is what my php.ini is set to Code: Content visible to verified customers only.
IIS7 Connection time out is set to 240
__________________
Geiri
|
| |
May 9th, 2009, 03:10 PM
|
#2 (permalink)
| | Senior Member Verified Customer
Join Date: Nov 2002 Location: Reykjavik, Iceland
Posts: 724
|
MySQL Version: 5.1.32-community
PHP Version 5.2.9-1
__________________
Geiri
|
| |
May 9th, 2009, 03:20 PM
|
#3 (permalink)
| | Senior Member Verified Customer
Join Date: Nov 2002 Location: Reykjavik, Iceland
Posts: 724
|
If I rezise the image down from 3456x2304 @ 5mb TO 1024x683 @ 271kb everything works.
__________________
Geiri
|
| |
May 9th, 2009, 03:39 PM
|
#4 (permalink)
| | Senior Member Verified Customer
Join Date: Nov 2002 Location: Reykjavik, Iceland
Posts: 724
|
Ok a small test I uploaded a image with the size of 3456x2304 @ 690kb it worked so I think the error is related to filesize ... in kb or mb
Php.ini says
post_max_size 24M 24M
upload_max_filesize 22M 22M
__________________
Geiri
|
| |
May 9th, 2009, 04:04 PM
|
#5 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,649
|
try also setting this down to a more managable setting
memory_limit = 60M
|
| |
May 9th, 2009, 04:04 PM
|
#6 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,649
|
You can also install Imagemagick on your server and you should not have this issue at all.
|
| |
May 9th, 2009, 04:36 PM
|
#7 (permalink)
| | Senior Member Verified Customer
Join Date: Nov 2002 Location: Reykjavik, Iceland
Posts: 724
|
I get this error with ImageMagick
Error creating thumbnail! Error code: 1
Command:
"c:\\Program Files\\ImageMagick\\mogrify.exe" +profile "*" -size 59x100 -quality 70 -geometry 59x100 -unsharp 10 D:/sprotinn/galleri/data/508/thumbs/Blom.jpg
__________________
Geiri
|
| |
May 9th, 2009, 08:11 PM
|
#8 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,649
|
c:\\Program Files\\ImageMagick\\mogrify.exe
My suggestion is installing image magick in a short path line this
c:/ImageMagick/mogrify.exe
You then need to make sure that your data directory at every level is set to READ WRITE EXECUTE
|
| |
May 10th, 2009, 03:58 PM
|
#9 (permalink)
| | Senior Member Verified Customer
Join Date: Nov 2002 Location: Reykjavik, Iceland
Posts: 724
|
I have tried all sorts of permissions with out luck..
Why wont GD2 work?
The server is new and has lots of power and only 2 websites both runing Pp and they bothe have this problem.
__________________
Geiri
|
| |
May 10th, 2009, 08:34 PM
|
#10 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,649
|
GD2 simply does not work well with large files. You can try altering your php memory as instructed how about placing a link to a phpinfo.php file placed in your gallery directory so we can see how php is setup.
|
| |
May 14th, 2009, 05:44 PM
|
#11 (permalink)
| | Senior Member Verified Customer
Join Date: Nov 2002 Location: Reykjavik, Iceland
Posts: 724
|
__________________
Geiri
|
| |
May 14th, 2009, 08:35 PM
|
#12 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,649
|
That all looks good.
You can also try GD2 after lowering your max image dimensions to something like 1500 or lower under upload options but as far as Imagemagick as long as permissions are correct it should work.
what happened after you installed imagemagick in the short path I noted?
|
| |
May 15th, 2009, 08:38 AM
|
#13 (permalink)
| | Senior Member Verified Customer
Join Date: Nov 2002 Location: Reykjavik, Iceland
Posts: 724
|
I got the same error
Command:
"c:\ImageMagick\mogrify.exe" +profile "*" -size 59x100 -quality 70 -geometry 59x100 -unsharp 10 D:/sprotinn/galleri/data/508/thumbs/Blom.jpg
The photo uploads to the upload folder.
Is this error becouse the system cant use mogrify.exe or becouse mogrify can't write to the data dir??
__________________
Geiri
|
| |
May 15th, 2009, 10:00 AM
|
#14 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,649
|
It can be either one
These are my thoughts which must be done explicitly. windows is a nightmare to use as a server.
1. Your path to mogrify should be
c:/ImageMagick/mogrify.exe
2. Your data and uploads directories should be set to READ WRITE EXECUTE for EVERYONE and IWAM and IUSER accounts.
3. If the following 2 do not work you can take it one step further and this line in image-inc.php change accordingly to say NT. Code: Content visible to verified customers only.
Your having permissions issues.
|
| |
May 23rd, 2009, 05:26 PM
|
#15 (permalink)
| | Senior Member Verified Customer
Join Date: Nov 2002 Location: Reykjavik, Iceland
Posts: 724
|
I wanted to rebuild my medium images this error pops up I cant rebuild my images.
I Have given perrmissions to everyone and Iuser and IIS_user and still cant get it to work.
I am Using IIS7 so there are no IWAM...
I need more ideas to fix this
__________________
Geiri
|
| |
May 23rd, 2009, 05:39 PM
|
#16 (permalink)
| | Senior Member Verified Customer
Join Date: Nov 2002 Location: Reykjavik, Iceland
Posts: 724
|
I have got Imagemagick to work but I still get the Server Error500 - Internal server error
What can it be?
__________________
Geiri
|
| |
May 23rd, 2009, 09:53 PM
|
#17 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,649
|
If Imagemagick is working how are you still getting an error? I mean if imagemagick works then your image is processed? The error you are posting suggests permissions on the data directory are incorrect. windows servers can be a bear. Does the user everyone and guest added to data and are read write execute? Did you try also changing that NT line?
|
| |
May 24th, 2009, 02:00 PM
|
#18 (permalink)
| | Senior Member Verified Customer
Join Date: Nov 2002 Location: Reykjavik, Iceland
Posts: 724
|
Imagemagick is only partialy working I thought it was becouse I could scan the database and rebuild all medium images with it.
But when I send in a new image I still get the error
Error creating thumbnail! Error code: 1
Command:
"c:\ImageMagick\mogrify.exe" +profile "*" -size 75x100 -quality 70 -geometry 75x100 -unsharp 10 D:/sprotinn/galleri/data/500/thumbs/Sirena_mjolkururt.jpg
Now what dose it tell us If Imagemagick can resize images but cant work with new one ... ??
__________________
Geiri
|
| |
May 24th, 2009, 02:29 PM
|
#19 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,649
|
That definately confirms permissions etc.
try this
open under image-inc.php and try removing this from the mogrify line Code: Content visible to verified customers only.
|
| |
May 24th, 2009, 04:03 PM
|
#20 (permalink)
| | Senior Member Verified Customer
Join Date: Nov 2002 Location: Reykjavik, Iceland
Posts: 724
|
That works, Why?
__________________
Geiri
|
| | |
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 08:12 AM. | |