[SOLVED] image upload error (server responded with 500 code)
Permalink
When my client are uploading big images (3200px x 4900px) they get an error "server responded with 500 code".
So, I tried making it smaller (max height 3000px ) and then it works.
Where can I see what the max size (in pixels!) to upload is, or where can I change it so my client don't get an error?
So, I tried making it smaller (max height 3000px ) and then it works.
Where can I see what the max size (in pixels!) to upload is, or where can I change it so my client don't get an error?
With big file dimensions, you could also be running into memory limits within the graphics applications used to create thumbnails. Again this will be dependant on server php settings.
"Your server php will have a setting post_max_size. However, uploading will also be affected by execution time and cpu time."
Thank you, I will ask my hosting.
"If you need large files, rather than messing with your server environment its usually best to use FTP to copy them to /application/files/incoming/ and then import them using the file manager."
This is no option in this case. My clients can not work with FTP. They just want to use the CMS (and even that is hard for some of them). They don't need big images, they just have no knowledge how to make image smaller. So I set a max image size :).
Thank you, I will ask my hosting.
"If you need large files, rather than messing with your server environment its usually best to use FTP to copy them to /application/files/incoming/ and then import them using the file manager."
This is no option in this case. My clients can not work with FTP. They just want to use the CMS (and even that is hard for some of them). They don't need big images, they just have no knowledge how to make image smaller. So I set a max image size :).
Solution:
GD image used more than 128MB for processing images, limit is now set to 256MB and it works.
GD image used more than 128MB for processing images, limit is now set to 256MB and it works.
If you need large files, rather than messing with your server environment its usually best to use FTP to copy them to /application/files/incoming/ and then import them using the file manager.