Jump to content

Installing Prestashop, running into Undefined constant _DB_PREFIX_


dbdropper

Recommended Posts

Installing a Github copy of Prestahop, visiting the `localhost/install-dev` folder.

I fill in my working (tested) database credentials on the *System configuration* step.

Capturedecran2023-07-19a20_37_40.thumb.png.f25189028b62a672e2470aa6f249f318.png

I get the following error when I click Next. I can also see the same error when I inspect the AJAX request for the *Test your database connection now* button.

Capturedecran2023-07-19a20_36_38.thumb.png.4d35c87a00cb38636f5ce0ee6e1a80e3.png

I googled this error and nothing relevant comes up. Is this a known issue? How do I debug?

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

Hi,

  • Ensure that the database name, username, password, and host are accurate and correspond to the database you intend to use for PrestaShop.
  • Make sure you have downloaded a stable version of PrestaShop from the official repository or a reliable source on GitHub.
  • Verify PHP Version.
  • Since you mentioned seeing the error in the AJAX request for the "Test your database connection now" button, open your browser's developer tools, go to the Network tab, and trigger the AJAX request. Inspect the response for more specific error details.

Thanks!

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