Jump to content

[SOLVED] Moving from localhost to webserver


Recommended Posts

I am very sorry to ask this question again, I have followed all the guides provided by you generous geniuses to other people who asked the same question but none of them worked for me.  

 

I am trying to move my new shop into my new webspace - I have got it just how I want it on localhost.

 

I have:

FTP'd everything up there

exported the db to an SQL file

created a new db in the online PHPMyAdmin, and setup the login credentials

imported the SQL file to the new db

changed the settings.inc.php file to reflect the new set up

changed the tables according to Nemo's excellent tutorial here: http://nemops.com/prestashop-migration-local-live/

 

and I am still getting this:

 

Link to database cannot be established: SQLSTATE[HY000] [2002] No such file or directory[/size]

 

I am sure it's a simple thing for those who know what they are doing!

 

thanks in advance...

Declan

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

The error states: Database does not exist or database name in your settings.inc is wrong. Connection not possible.

 

If you moved to host, so you need to adapt the name of the database in settings.inc according the instructions of your hoster (name and password should be adapted accordingly).

Edited by selectshop.at (see edit history)
Link to comment
Share on other sites

follow these steps carefully and in order:

 

1. Prior to moving PrestaShop files you should login to PrestaShop admin panel.

2. Navigate to Preferences -> SEO & URLs

3. Scroll down to Set shop URL section and change Base URI field.

     shop domain: nemops.com

     ssl domain: nemops.com

     base URL: /       

(in your base url put only the /  like in the picture)

 

4. Save the changes.

5. Connect via FTP to your domain and move all the files to root folder

post-723372-0-56914000-1389899068_thumb.jpg

Edited by walidon (see edit history)
  • Like 1
Link to comment
Share on other sites

Happy to hear that everything gone well for the move.

now mark your topic as solved

to do that: Go to your topic (1st one) > edit >  use full editor  > put [sOLVED] in front of the title

 

P.S: when you are online, on any site or with anyone, DO NOT SHARE your private and secure information,whatever they are, with anyone but those whom you personally know and for the same of work or Professional matters. Apart from that keep them safe and for your use only:)

Edited by walidon (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...