Jump to content

PS 1.7.0.6 : How to transfer PS 1.7 from localhost to server


ladebo

Recommended Posts

Hello guys,,

 

i have a problem when transfer PS 1.7 from my localhost to server domain.

I have followed all the steps of file transfer.

 

i do this step:

1- compress prestashop files to zip file in localhost.

2- export prestashop database in localhost to a sql file.

3- move myprestashop zip file to public html in live host via filezilla

4- extract zip file in live host and path is: public_html/all prestashop folder and files

5- went to mysqldatabases in cpanel and create database prestashop and user and import prestashop.sql that created in localhost. then add user to database with all privilegs.

6- edit settings.php:

<?php

define('_DB_SERVER_', 'www.ladebo.co.id');

define('_DB_NAME_', 'deara800_ladebo_db_1');

define('_DB_USER_', 'deara800_bo2712');

define('_DB_PASSWD_', 'xxxxxxxxx');

define('_PS_VERSION_', '1.7.0.6');

and...

7- in livehost database change tables: ps_configuration and ps_shop url

 

shop url table info:

domain=http://www.ladebo.co.id

domain_ssl=http://www.ladebo.co.id

physical_uri=/

virtual_uri=''

 

ps_configuration table changes:

PS_SHOP_DOMAIN=http://www.ladebo.co.id

PS_SHOP_DOMAIN_SSL=http://www.ladebo.co.id

 

i think do all steps completely but when i go to http://www.ladebo.co.id in live host, I only see the message "Link to the database can not be established: SQLSTATE [HY000] [1045] Access denied for user 'root' @ 'localhost' (using password: NO)" on the screen.

 

can anyone help me?

thanks.

post-1279746-0-90087400-1491204289_thumb.jpg

  • Like 1
Link to comment
Share on other sites

Hello guys,,

 

i have a problem when transfer PS 1.7 from my localhost to server domain.

I have followed all the steps of file transfer.

 

i do this step:

 

6- edit settings.php:

 

file settings.inc.php no, The data of access to the database is configured in the file: 

/app/config/parameters.php


Sorry for my English. 

Link to comment
Share on other sites

  • 3 weeks later...
  • 6 months later...
  • 2 years later...

Hi Ladebo,

Your solution works for me whatever I have some issues :

  1. There is no file named settings.php in my prestashop 1.7.6.1. Instead I changed parameters that are saved in app/config/parameters.php.
  2. I have an issue with products images. In developer tools they are now linked to an non existing location in displayCrossSellingShoppingCart position.

I spent much time but could not find the reason product images are not linked correctly. I also deactivated and reactivated 'featured products' with no result.

Thank you beforehand for your help.

Link to comment
Share on other sites

  • 3 weeks later...
On 2/5/2020 at 2:54 AM, bafbes said:

Hi Ladebo,

Your solution works for me whatever I have some issues :

  1. There is no file named settings.php in my prestashop 1.7.6.1. Instead I changed parameters that are saved in app/config/parameters.php.
  2. I have an issue with products images. In developer tools they are now linked to an non existing location in displayCrossSellingShoppingCart position.

I spent much time but could not find the reason product images are not linked correctly. I also deactivated and reactivated 'featured products' with no result.

Thank you beforehand for your help.

Hi bafbes,

Could you solved your problem? 

I've the same issue.

Link to comment
Share on other sites

  • 1 year later...

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...