Jump to content

Linking PrestaShop to the database


Peter.31

Recommended Posts

Can anyone advise me how to proceed correctly when connecting the eshop (PrestaShop v1.7.6.1) to the database in the localhost?

I downloaded the whole e-shop and the database from the web to the PC. I copied everything to localhost, including the database I imported in phpmyadmin.

In the parameters.php file I set the necessary parameters for connecting to the database.

In the database, I changed these PS_SHOP_DOMAIN and PS_SHOP_DOMAIN_SSL values in the ps_configuration table (I changed it from local "my web address" to localhost). I also changed the domain, domain_ssl, physical_uri values in the ps_shop_url table. (Check image).

Despite all these changes, the e-shop in localhost does not work for me. After entering the page into the web browser localhost/web writes This site is unavailable.

localhost1.png

localhost2.png

localhost3.png

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