valintinr Posted December 9, 2013 Share Posted December 9, 2013 (edited) Hello, Getting 500 error while importing csv data and image thumbnail regeneration. No errors reported except "Premature end of script headers" My php.ini file disable_functions = enable_dl = On session.save_path = /tmp error_reporting = E_ALL & ~E_NOTICE log_errors = On error_log = /home/strekozz/public_html/adm_it/error_log display_errors = Off max_execution_time = 6000 max_input_time = 6000 post_max_size = 6000M upload_max_filesize = 6000M mysql.connect_timeout = 6000 TimeOut 6000 memory_limit = 1024M max_input_vars = 6000; suhosin.post.max_vars = 6000; suhosin.request.max_vars = 6000; magic_quotes_gpc = off PrestaShop™ 1.5.6.0 .htacces file correct, permissions correct. Server side - cpanel (apache+suphp). Also nginx installed but same error when disabled it. Can someone help why it happens. Edited December 9, 2013 by valintinr (see edit history) Link to comment Share on other sites More sharing options...
asmar Posted December 19, 2013 Share Posted December 19, 2013 Did you find a solution on this? I've got the same error and timeout in php.ini does not solve this as I've got a huge timeout and just a couple of hundead images. Link to comment Share on other sites More sharing options...
Dh42 Posted December 19, 2013 Share Posted December 19, 2013 How long did the page load for? Most browsers will only support 600 seconds before they display a 500 error. Even with displaying the error if your php.ini is set high enough, the file is still processed in the background. Link to comment Share on other sites More sharing options...
asmar Posted December 19, 2013 Share Posted December 19, 2013 I just figure out the problem. I was using Virtualmin in my server and there is an extra setting that overwrites php ini values I assume as when I changed that to unlimited it worked. Link to comment Share on other sites More sharing options...
valintinr Posted December 19, 2013 Author Share Posted December 19, 2013 php.ini is correct, not overrided by other php.ini (phpinfo() displaying right info). Page loading 20-30 seconds and then 500 error. Link to comment Share on other sites More sharing options...
Dh42 Posted December 19, 2013 Share Posted December 19, 2013 Make a php inof file and check that the settings are actually being loaded. It does not sound like they are. Link to comment Share on other sites More sharing options...
valintinr Posted December 19, 2013 Author Share Posted December 19, 2013 (edited) Ive already aprroved that php.ini vars is loaded correct max_execution_time 6000 6000 max_input_time 6000 6000 max_input_vars 6000 6000 post_max_size 6000M 6000M memory_limit 1024M 1024M Edited December 19, 2013 by valintinr (see edit history) Link to comment Share on other sites More sharing options...
valintinr Posted December 19, 2013 Author Share Posted December 19, 2013 Link to comment Share on other sites More sharing options...
Recommended Posts