JordiJ Posted September 11, 2013 Share Posted September 11, 2013 Hi all,I'm having problems today with my Internet connection.I have a prestashop installation in my PC and when I have no acces to Internet, I can access to the BO but not to the Front end!!! It remains loading and nothing is shown.Do you know why? Why my local installation needs to acces to Internet ? Link to comment Share on other sites More sharing options...
El Patron Posted September 11, 2013 Share Posted September 11, 2013 turn on error reporting...then navigate to your front office and hopefully you will see an error message Link to comment Share on other sites More sharing options...
JordiJ Posted September 11, 2013 Author Share Posted September 11, 2013 Turning on error reporting means put a low log level to recieve emails on errors, isn't it? Link to comment Share on other sites More sharing options...
JordiJ Posted September 11, 2013 Author Share Posted September 11, 2013 I turned error reporting on and turned my router off.When I access to front end the navigator says 'waiting localhost'. Then if time waiting is over than 30 secs I getFatal error: Maximum execution time of 30 seconds exceeded in ....prestashop\cache\smarty\compile\6c243d9be82352d90c3211597e4ae0be2ca92dcc.file.product.tpl.php on line 2Some times the page is shown at 28-29 second...BO works fine always... I'm worried because I go live in few days Any idea? Link to comment Share on other sites More sharing options...
El Patron Posted September 12, 2013 Share Posted September 12, 2013 some localhost, heck even some remote servers are very slow. add this to the top of your .htaccess file <IfModule mod_php5.c> php_value max_execution_time 60 </IfModule> Link to comment Share on other sites More sharing options...
JordiJ Posted September 12, 2013 Author Share Posted September 12, 2013 Thanks El Patron, but I don't understand why my localhost become slow when I have no access to Internet. If it is slow it should be slow always.I think it's not usual wait for 30 seconds to load a page and working at local. Does prestashop try to connect to remote servers? Link to comment Share on other sites More sharing options...
El Patron Posted September 12, 2013 Share Posted September 12, 2013 Thanks El Patron, but I don't understand why my localhost become slow when I have no access to Internet. If it is slow it should be slow always. I think it's not usual wait for 30 seconds to load a page and working at local. Does prestashop try to connect to remote servers? I agree it's unusually slow but I don't know what kind of processing power your localhost has. I run localhost 'a lot' on a dual core I5. as for connecting to the internet, the back office has loads of different content from PS. Mainly the 'check for module' updates. As for the front office, the only connects outside of your cms would be those you installed yourself or a module installed on your behalf. You can determine the front office connects by running say a yslow or google page speed as it will tell you httpd connects. Link to comment Share on other sites More sharing options...
JordiJ Posted September 12, 2013 Author Share Posted September 12, 2013 I used firebug network tool to know if there was a connection to other server but it wasn't.If there is a remote server connection it is on the server side not at the generated HTML.I use google fonts and I can see the connection to google 29 seconds after page request.I will continue investigatingIf you have more ideas, please write me a post. Link to comment Share on other sites More sharing options...
El Patron Posted September 12, 2013 Share Posted September 12, 2013 make sure in the back office under performance that you have force compile to never or only when updated...having force compile always will 'really' slow your site down. if you are running mysql phpmyadmin, check the runtime variable...you can tweak things like query cache to get more giddy up... the real test is installing on your remote server... Link to comment Share on other sites More sharing options...
Recommended Posts