Jump to content

Test mode in WAMPSERVER - Database not linked


Recommended Posts

Hi ,


I tried following the whole process in the video of the migration of Prestashop to 1.4

I have put all the files and the Database to WAMP server .

When I go to localhost/test >>> Test being the test folder in WAMP

I get a error Link to database cannot be established.

I have changed added the folder name " test " to settings.ini file .

Do I have to add anything more after in this sentence ?

define('__PS_BASE_URI__', '/test/');

if not , where am I going wrong.

I am trying to upgrade from 1.3.6 to 1.4.3

Link to comment
Share on other sites

If you have not already, try with these settings:

define('_DB_SERVER_', 'localhost');
define('_DB_USER_', 'root');
define('_DB_PASSWD_', '');



The first time I did this, I had the same problem and this turned out to be my mistake.

Link to comment
Share on other sites

i am assuming you have copied the settings from your live site, and perform an export of the database, and imported to your local wamp database?

if so, then you need to do what 4140 has suggested, and change the settings file so it points to your localhost database, and not the live sites database.

Link to comment
Share on other sites

  • 4 weeks later...

I am still working on this issue and at the moment I am getting the following message 'the database selection cannot be made'. I am assuming that this is something to do with the database name.

I have my files stored in a 'test_site' folder with Xammp. Would test site then become the database name?

Dreamweaver is trying to access the db via this path 'http://localhost/test_site/index.php'.

Any advice would be gratefully received.

Regards

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