View Full Version : Server Error on Uploading Images (1500x1500)
August 14th, 2006, 05:00 PM
**I've searched the board, the filesize is only 32kB but the image size is 1200x1200***
I get an Internal Service Error on uploading certain images. I only get this error when I try to upload an image size of 1200x1200 or above. I tried this while testing an image of that size, and a filesize of only 32kB. I still recieve this error. My admin settings have a max image size set to 3000x3000.
Why can't I upload this file?
On a side note: When installing this product, I was very excited to see how well it intergrated with vB3. I was impressed. I read the board about php.ini settings, and to be honest I'm rather upset. For somone, like myself, who has no experience installing php on a httpd, would never know that the default settings in php.ini will limit the size of my uploads. I'm paying for my webhost, and that's not something I have the luxury of changing. If there were something in the list of requirements for this product, I would have not purchased it unless I knew I would have access to php.ini. What if file_uploads was turned off?
August 14th, 2006, 05:17 PM
for any product that does file uploads file uploads need to be on.
You should have no problem with only a 32kb image. without more info etc I can take a guess here
Your using gd2 right? Have you tried placing this line in bold on pp-inc.php where noted at the top
error_reporting (E_ALL ^ E_NOTICE);
August 14th, 2006, 05:30 PM
I updated pp-inc.php with this line, then attempted to upload a 1200x1200 image with a small filesize and I recieved this error.
Parse error: syntax error, unexpected T_STRING in <the correct path to->pp-inc.php on line 18
August 14th, 2006, 05:36 PM
Yes, I am using GD2.
Some things I noticed that were set in php.ini:
I'm not sure what this value is but output_buffering 1024
I've successfully uploaded a 1100x1100 image.
PHP Version 4.4.2
Intergrated with vB3
Not sure what else I should tell you... The install went perfectly, and I don't have any other problems other then uploading an image over 1200x1200.
Right now there is limited access to the site at which my photopost pro is at, if you need to get on there to test something, just let me know. I can either make a user for you, or give access to anyone to view.
max allowable 3000x3000
Quality setting for resizing/thumbnails? 100
If photo upload width or height exceeds maximums, resize upload down to max dimensions? Yes
August 14th, 2006, 08:16 PM
recopy the line again
August 15th, 2006, 12:45 AM
odd, i didnt get the same error as last time =/
I'm just getting the 500 - Internal server error again
i tested twice, once with a 1100x1100 and with a 1200x1200
1100x1100 = successful
1200x1200 = server error
August 15th, 2006, 09:00 AM
what size is the image filesize? GD is chocking on the memory and PHP is shutting down.
August 15th, 2006, 10:37 AM
1100x1100 = 12.7kB
1200x1200 = 13.2kB
August 15th, 2006, 10:43 AM
On a side note, I've had success uploading an image with 1200x964 dimensions and a filesize of 678.1kB
August 15th, 2006, 10:44 AM
do you have mogrify on the server?
Your image sizes are small so what I would normally say is mute here since I already gave you the ini_set line to raise PHP memory whereas GD craps PHP out with larger files. Let's see try in global options clearing the line to jpegtran make that blank.
we are just going to have to do trial and error here. Does your server error logs have anything in them?
August 15th, 2006, 10:54 AM
Ok, new update. Possibly a related issue. I tried uploading a 3meg 1100x1100 bitmap image, it told me that file type was not supported. I went into admin, .jpg,.jpeg,.png,.gif,.bmp,.psd are all in the acceptable file types....
"Sorry, this image type (6) is not supported yet. "
I'm starting to think this might be an issue with file permissions.
August 15th, 2006, 11:07 AM
wow! "Let's see try in global options clearing the line to jpegtran make that blank."
musta worked!! i just uploaded a 1200x1200 image, im doing more testing...
August 15th, 2006, 11:10 AM
attempt to upload a 460kB 2000x1333 failed.
I do not have mogrify on the server, i do not have access to php error logs.
August 15th, 2006, 01:57 PM
psd is not an image file so you can not upload that.
If your using GD2 the only supported formats that it does are this
jpg gif png
also unless you change the max uploadable filesize in php settings you can not upload a file over 2mb
August 15th, 2006, 02:23 PM
ok, i changed upload photo settings to just accept jpg gif png
tried uploading a 2000x2000 171kB .png image and i get an internal server error
August 15th, 2006, 02:24 PM
here is some of the GD information for my php.ini
GD Support enabled
GD Version bundled (2.0.28 compatible)
FreeType Support enabled
FreeType Linkage with freetype
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled
August 15th, 2006, 03:37 PM
You can PM me a url admin login and ftp login
September 4th, 2006, 02:42 PM
moved to another host, works fine now :)
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.