Page 1 of 1

Fatal Error Fix

Posted: Mon Feb 17, 2014 6:15 pm
by vipster247
Hi there,

It seems that I have uploaded a image that is to large for my server and I need someone to fix this for me.

http://www.rubyspenshop.co.uk

If you could please PM me with your quote.

Kind Regards

Re: Fatal Error Fix

Posted: Mon Feb 17, 2014 8:03 pm
by nvedia
Try changing php values to start with

memory_limit = 999M;
max_execution_time = 300;
post_max_size = 999M;
upload_max_filesize = 998M;

Re: Fatal Error Fix

Posted: Tue Feb 18, 2014 6:00 am
by butte
Almost.

memory_limit = 512M;
max_execution_time = 300;
post_max_size = 999M;
upload_max_filesize = 998M;

Memory should be in powers of 2 (32,64,128,256,512,1024) -- 64 suffices fresh out of the box but is low, 128 and 256 usually work, and 512 should be adequate. Other three are okay. Post must exceed upload, the difference of 1 suffices. Execution can go higher if you can get away with it, but 300 should suffice.

Re: Fatal Error Fix

Posted: Tue Feb 18, 2014 6:05 am
by nvedia
So memory_limit = 999M; doesnt works and its same as 512M ?
phpinfo doesnt gives me any error and memory_limit shows as 999M

Re: Fatal Error Fix

Posted: Tue Feb 18, 2014 7:34 am
by butte
It might be set at that in php.ini and if it appears to work that's well and good, but there have been a few instances where changing to a pro forma 2/nth value stopped logging of errors, warnings, or notices (not absolutely everything in the logs has to be taken seriously, some of what is logged is just information). There are php errors in error.txt but there are also server php error.log files, which may tell "the rest of the story" when you need it, provided that they can be located in the trees, in the control panel, or obtained from support. Those are generated over everything, not just over OC. Both shared and unshared servers have them; some of each don't.

Re: Fatal Error Fix

Posted: Tue Feb 18, 2014 9:21 pm
by nvedia
ok thanks
OP issue has been resolved so it can be marked as 'Closed'

Re: Fatal Error Fix

Posted: Wed Feb 19, 2014 4:17 am
by butte
When you're back, vipster247, go ahead and edit your opening title Solved, for others' benefit when they search. Congratulations.