Jump to content

Local installation accessing to Internet


Recommended Posts

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

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 get

Fatal error: Maximum execution time of 30 seconds exceeded in ....prestashop\cache\smarty\compile\6c243d9be82352d90c3211597e4ae0be2ca92dcc.file.product.tpl.php on line 2

Some 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

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

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

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 investigating

If you have more ideas, please write me a post.

Link to comment
Share on other sites

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

×
×
  • Create New...