Jump to content

Moving prestashop 1.6.14 from local to another computer


Recommended Posts

Hi, good afternoon.
 

I have a local copy of my prestashop store and I want to move it to another computer in the same lan.
It seems that everything is OK, but when I click in any link it takes about 20s to load the page.

 

I'm working with linux (ubuntu) computers and I have a prestashop 1.6.14 shop.

 

This is what I've done:

1.- Tarball all the prestashop tree. Send it to the other computer and untar.

2.- Give recursive write permissions to: ~/config/, ~/cache/, ~/log/, ~/img/, ~/mails/, ~/modules/, ~/override/, ~/themes/default/lang/, ~/themes/default/pdf/lang/, ~/themes/default/cache/, ~/translations/, ~/upload/, ~/download/, ~/sitemap.xml

3.- Modify config/settings.inc.php with new data.

4.- Copy the mysql ddbb to the new computer.

5.- Changes propper fields in ps_configuration and ps_shop_url to link to the new computer.

 

6.- Regenerate .htaccess.
 

 

After that everything works in the new computer, but links take 20s to load.

 

 

Any ideas?

 

Thanks in advance.

Link to comment
Share on other sites

try to optimize the site under advanced parameters, performance.

you can also enable the debuggin profile into the defines.inc.php to check wich modules or queries take too long

 

Also use gtmetrix.com to see wich resources take too long to load (maybe images, js files)

Link to comment
Share on other sites

Hi. Thanks for your reply.

 

The new machine is faster and has more resources than the old. If I've copied everything from the source machine, so performance should be at least the same, don't you agree?

 

I had already debuggin enabled, but I'm not sure where to read logs.... Apache logs do not show anything /var/log/apache2/error.log

 

define('_PS_MODE_DEV_', true);

define('_PS_DEBUG_PROFILING_', true);
 

 

Where should I look at?

 

Thanks in advance.

 

PS: I forgot to mention that backoffice works fine, my problem only happens in frontend.

Edited by serpeal79 (see edit history)
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...