gray Posted December 1, 2014 Share Posted December 1, 2014 (edited) Editing and saving a tpl file and with Force Compile set. In refreshing the shop it only displays only part of the shop. It seems to time out, and thus it does not do a complete compile. Any ideas where I can extend the time period for a compile ? PS 1.4.8.2 Edited December 1, 2014 by gray (see edit history) Link to comment Share on other sites More sharing options...
El Patron Posted December 1, 2014 Share Posted December 1, 2014 please turn on error reporting... http://www.prestashop.com/forums/topic/224525-how-to-turn-on-error-reporting-for-debug-information/ and re-create issue to see if there is a php error thanks Link to comment Share on other sites More sharing options...
gray Posted December 10, 2014 Author Share Posted December 10, 2014 Sorry for the delay. In running the 'force compile' with error reporting on. I get the following php error max execution time of 60 secs.......etc..... smarty/internals/core.write_files.php However there is no time limits setup within that php code. Link to comment Share on other sites More sharing options...
vekia Posted December 11, 2014 Share Posted December 11, 2014 it looks like you exceeded limitations related to your hosting account. if you've got possibilities - try to increase script max execution time in php.ini Quote Using the max_execution_time directiveBy default, the maximum execution time for PHP scripts is set to 30 seconds. If a script runs for longer than 30 seconds, PHP stops the script and reports an error. You can control the amount of time PHP allows scripts to run by changing the max_execution_time directive in your php.ini file. To change the maximum execution time, use a text editor to modify the max_execution_timedirective in your php.ini file. For example, to set the maximum execution time to 10 seconds, use the following setting:max_execution_time = 10 Link to comment Share on other sites More sharing options...
gray Posted December 12, 2014 Author Share Posted December 12, 2014 Max execution time is already set to 160 from a previous problem of 2 years ago. Link to comment Share on other sites More sharing options...
NemoPS Posted December 12, 2014 Share Posted December 12, 2014 If the error says 60, then no, it's still 60 seconds really. Make sure that php.ini is getting loaded and the setting is not overridden Link to comment Share on other sites More sharing options...
gray Posted December 12, 2014 Author Share Posted December 12, 2014 I have rechecked php.ini it is definitely max_execution_time = 160 I have switched off and on computer to ensure php.ini is being run Forcing a compile I still get the following fatal error, even when nothing has changed. Fatal error: Maximum execution time of 60 seconds exceeded in C:\wamp\www\prestashop\tools\smarty_v2\internals\core.write_file.php on line 27 Link to comment Share on other sites More sharing options...
El Patron Posted December 12, 2014 Share Posted December 12, 2014 On 12/10/2014 at 9:03 PM, gray said: Sorry for the delay. In running the 'force compile' with error reporting on. I get the following php error max execution time of 60 secs.......etc..... smarty/internals/core.write_files.php However there is no time limits setup within that php code. where and what is your hosting package? Link to comment Share on other sites More sharing options...
Dh42 Posted December 12, 2014 Share Posted December 12, 2014 Make a php info file in the exact same directory as the issue and see what it says. It looks like that directory will need its own php.ini file with the time setting in it. Link to comment Share on other sites More sharing options...
El Patron Posted December 12, 2014 Share Posted December 12, 2014 phpinfo does not show ini_set by prestashop, grasshopper you can load this free module and display you php info, including path to php.ini and paths that server will look for 'other' phpini.. http://www.prestashop.com/forums/topic/278164-free-module-display-php-environment-phpinfo-back-office/ and answer all questions in the post....don't be selective....happy day, el Link to comment Share on other sites More sharing options...
gray Posted December 13, 2014 Author Share Posted December 13, 2014 Hi - This is really weird, as in using the module in previous message, it shows that the max execution time is set to 60 secs (local and master values). But my php.ini definitely is set to 160secs. Also paths from the above module are Configuration File (php.ini) Path - C:\WindowsLoaded Configuration File - C:\wamp\bin\apache\Apache2.2.17\bin\php.iniScan this dir for additional .ini files - (none)Additional .ini files parsed - (none) Having checked, there is no other php.ini anywhere on my computer, only in the php directory. Where its got the path to the apache directories i just do not know. It must be reading some default settings from somewhere else ? Link to comment Share on other sites More sharing options...
gray Posted December 13, 2014 Author Share Posted December 13, 2014 I have now deleted the only php.ini from the system and rebooted the computer, and it still shows max execution time = 60 secs Its got to be reading the default settings from somewhere else. 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