psyho997 Posted September 26, 2014 Share Posted September 26, 2014 (edited) Hello. I do hope that someone can help us. We're on 1&1 hosting and when we're trying to regenerate thumbnails we're getting 500 error. We have checked the php settings and it was ok (max_execution_time is set to 5000 , memory set to 128mb) . Contacted the 1&1 support that it might be caused by the fast cgi configuration . Yes it is set to 30 sec and only way to change that is to get the dedicated server. We're not planing to do. Is there any work around this ? I'm afraid that we will have to change the hosting provider , and this could be tragic as we are hosting prestashop and other applications including galleries for ebay and amazon with tons of images and different files. Any ideas ? Edited September 26, 2014 by psyho997 (see edit history) Link to comment Share on other sites More sharing options...
El Patron Posted September 26, 2014 Share Posted September 26, 2014 if you do not have the exact error, i.e. thinking time out and/or memory...then turn on ps debug http://www.prestashop.com/forums/topic/224525-how-to-turn-on-error-reporting-for-debug-information/ also when checking php.ini, it's better to see these values in local, i.e. as used by ps at runtime, use this free module: http://www.prestashop.com/forums/topic/278164-free-module-display-php-environment-phpinfo-back-office/ Link to comment Share on other sites More sharing options...
psyho997 Posted September 27, 2014 Author Share Posted September 27, 2014 (edited) if you do not have the exact error, i.e. thinking time out and/or memory...then turn on ps debug http://www.prestashop.com/forums/topic/224525-how-to-turn-on-error-reporting-for-debug-information/ also when checking php.ini, it's better to see these values in local, i.e. as used by ps at runtime, use this free module: http://www.prestashop.com/forums/topic/278164-free-module-display-php-environment-phpinfo-back-office/ Thank you for your reply. Server APICGI/FastCGI I've joined logs from the php prestahop module phplog.jpg and phplog2.jpg Ive enabled the debug mode. But when tryng to regenerate thumbnails I will get 500 internal server error and nothing else - no errors displayed. Internal Server ErrorThe server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. Regards Robert Edited September 27, 2014 by psyho997 (see edit history) Link to comment Share on other sites More sharing options...
El Patron Posted September 27, 2014 Share Posted September 27, 2014 log errors is off, I assume you have debug mode turned on in PrestaShop, so this should show as on locally. also there is no defined path to error log, it's possible that when no path to error log then errors are being switched to off also, in some cases, if we set max_execution time to a higher value, that does not in all hosting mean it will be honored. these are difficult issues to address in forum because for the most part it lies within the hosting. discussing with hosting provider, when they are responsive, is a good path. (and I prefer not to point you that way). did you check if you have php error logs in hosting control panel? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now