Prior to a recent server change, our members could upload large (up to 16MB files) to our Photopost Pro galleries at
SeriousCompacts.com and
Mu-43.com - Micro Four Thirds User Group
These large file uploads no longer work. I was getting a generic "image(s) too large" white page error and then remembered that on the old server I had to modify the .htaccess to include the following:
#set php max upload size in MB
php_value upload_max_filesize 20M
#set max post size
php_value post_max_size 20M
#set max time script can take
php_value max_execution_time 200
#set max time for input to be recieved
php_value max_input_time 200
In the process of moving the new server, someone had commented out these lines. When I restored them and try the large file upload, I get the following error:
"Fatal error: Allowed memory size of 50331648 bytes exhausted (tried to allocate 19712 bytes) in /home/asabet/public_html/seriouscompacts.com/gallery/image-inc.php on line 116"
I contacted URLJet about this issue, and they responded that "php limits have been increased" and that the uploads should now work. However, with my test image (
http://farm6.static.flickr.com/5064/...24a4fd49_o.jpg) I again got:
Fatal error: Allowed memory size of 50331648 bytes exhausted (tried to allocate 19712 bytes) in /home/asabet/public_html/seriouscompacts.com/gallery/image-inc.php on line 116
Contacted URLJet support again and got the following response:
Quote:
Amin,
The limits on the server are more than adequate to upload the image your referring to.
The issue is in the gallery program itself.
Fatal error: Allowed memory size of 50331648 bytes exhausted (tried to allocate 19712 bytes) in /home/asabet/public_html/seriouscompacts.com/gallery/image-inc.php on line 116
gallery/image-inc.php on line 116.... refers to a hard limit in the gallery's php settings, not the server. The part I wonder about is that the program need over 50mb to upload an 8.5mb image?
|
I explained to them that this software was working perfectly fine for us prior to the server change but was wondering whether you could help me with this.
As I said in another post, the new server removed support for exec in case that makes any difference here. We've been using GD2 all along.
Thanks,
Amin