BlackSpike Posted October 25, 2012 Share Posted October 25, 2012 In trying to set up a test-bed version of PrestaShop, i am consistently getting time-out errors on some events. In the Admin section, I can view a list of Orders, but cannot view their details or alter them. My browser reports a "web-site error". On investigating my Apache logs, i find a time-out error: One example: [Thu Oct 25 16:51:32 2012] [error] [client 192.168.1.3] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/shop/tools/smarty/sysplugins/smarty_internal_templateparser.php on line 3114, referer: http://192.168.1.8/shop/goaway/index.php?controller=AdminOrders&token=b3b78cebcbd60064a48c071e00e68194 In the Customers section, looking at the Customer details, the order shows as an Invalid Order, but I cannot find why, as again I get a time-out error when trying to access details. Can anyone shed some light on this? Link to comment Share on other sites More sharing options...
vekia Posted October 25, 2012 Share Posted October 25, 2012 In trying to set up a test-bed version of PrestaShop, i am consistently getting time-out errors on some events. In the Admin section, I can view a list of Orders, but cannot view their details or alter them. My browser reports a "web-site error". On investigating my Apache logs, i find a time-out error: One example: [Thu Oct 25 16:51:32 2012] [error] [client 192.168.1.3] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/shop/tools/smarty/sysplugins/smarty_internal_templateparser.php on line 3114, referer: http://192.168.1.8/s...48c071e00e68194 In the Customers section, looking at the Customer details, the order shows as an Invalid Order, but I cannot find why, as again I get a time-out error when trying to access details. Can anyone shed some light on this? Maximum execution time error is about the number of seconds a script is allowed to run. If this is reached, the script returns a fatal error. The default limit is 30 seconds or, if it exists, the max_execution_time value defined in the php.ini. you installed 1.5.2 version from official archive? or from SVN repository? Link to comment Share on other sites More sharing options...
BlackSpike Posted October 25, 2012 Author Share Posted October 25, 2012 I installed 1.5.1 from http://www.prestashop.com/en/download a few days ago. Link to comment Share on other sites More sharing options...
BlackSpike Posted October 25, 2012 Author Share Posted October 25, 2012 I have now updated to 1.5.2 using the tne-click upgrade module, but am still getting the same errors. Link to comment Share on other sites More sharing options...
sibony88 Posted December 12, 2012 Share Posted December 12, 2012 hello i have the same problem when trying to generate the invoice "Maximum execution time of 120 seconds exceeded in /home/prestashop/html/tools/tcpdf/tcpdf.php on line 4975" my server config is : PHP Version: 5.3.3 Memory limit: 512M Max execution time: 120 Database information MySQL: 5.0.95 Prestashop: 1.5.2.0 Link to comment Share on other sites More sharing options...
Site Posted December 12, 2012 Share Posted December 12, 2012 It would depend how powerful your web server is, You may want to increase the max_execution_time value defined within the php.ini on your server if your host allows. Link to comment Share on other sites More sharing options...
Recommended Posts