Jump to content

Please Help - Localhost to Live Srver


Recommended Posts

When I upload my PrestaShop 1.4.1.0 website from localhost to live server and I get this message:
" Link to database cannot be established."
I am dealing with this problem for more than a week, Googling, looking for a solution in the forum and tried almost everything without success.

I've already uploaded with v.1.4.17 with success from localhost to live server.
I do not understand why it's not working with 1.4.1.

Why this is so complicated and time consuming?

How is the correct/right process to upload the website from Localhost to Live server?

Please help and advice, I am sure lot of people have this problem.
That would be great and helpful if we can have as a sticky in the forum.
Thank you in advance for any assistance or help.

Link to comment
Share on other sites

pasko, thanks for reply.

Do you have the right link to database in your config/settings.inc.php file?


My website is working correctly in localhost, that means I have the right link to database in my config/settings.inc.php file,
please see screen shot.

I uploaded all the files of my website into live server, that's all I did.
1-Now my question: what is the next step?

I heard that I need to modify the config/settings.inc.php when going to live server.
2-What exactly do I need to modify?

Thanks.

44482_ykT1XzrBMAfLmgPCEVFf_t

Link to comment
Share on other sites

You’ll have to change the Shop URL from localhost to your current site in your database in order to prevent redirects. The table to edit is ps_config


I looked at database in ps_config, couldn't find any Shop URL. (see screen shot)
Thanks.

44546_d88CMCqXwO8elzWRGMVG_t

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