Problems, need help? Have a tip or advice? Post it here.
14 posts Page 2 of 2
@KK: yes, everything is set with values above what was discussed, no errors are getting output...
it appears the problem is with the image being too big - it's about 5mb, but if I upload the same resized image (up to 1mb), then everything is fine. Though weird thing happens - some 5mb images do get uploaded, some don't... even if I try them one by one.
Then it most certainly is a memory problem.

You may ask your hosting provider to increase the limit for you.
Or if you are on a VPS kind of host and can restart the server, find the php.ini being used by your server (see the output from phpinfo()) and then edit the following values to set them to the desired values (restart the server after this to make the new values take effect) -
Code: Select all
upload_max_filesize = 25MB
post_max_size = 27MB
memory_limit = 128MB

If that is not an option, try placing the following in your site's .htaccess file (either the one in the root or the one in 'couch' folder) -
Code: Select all
php_value upload_max_filesize 25MB
php_value post_max_size 27MB
php_value memory_limit 128MB

If nothing works, please contact your host.

Hope this helps.
Nope, it doesn't help. I'm trying this on localhost also... it's getting uploaded, size changes (because image gets resized) and page refreshes and no images appear. As I said, some 5mb images get uploaded, some don't. If it was a memory issue, no 5mb images would get uploaded...
The images you upload are all in compressed formats (e.g. jpeg, png) etc.
When such images need to be processed (e.g. resized), they first get decompressed and this can cause two images (both e.g. of 5MB) to require vastly different memory allocations.

Anyway, there is not much I can do to help you while your site is on localhost.
Once you get it hosted to a proper server, please let me know in case the problem persists.
14 posts Page 2 of 2