Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Problem getting to admin page


wingnut144

Recommended Posts

Ok, I set up a test folder on my server so I can make any changes on the test site before rolling them out to the live page. They use the same database (I basically just copied the working folder to a seperate folder name).

 

The problem comes when I try to log into the admin side of the test site, I get:

Warning: mysql_connect() [function.mysql-connect]: Can't connect to MySQL server on 'localhost' (10061) in D:\home\salleboise.com\wwwroot\store2\admin\includes\functions\database.php on line 19
Unable to connect to database server!

 

I works fine on the live site, just not the test.

 

What do I need to do so I can get to the admin side of things on the test site?

Link to comment
Share on other sites

I will check, but I didn't change anything in the files, I just renamed the folder to /store2

 

compare your database connection info in your includes>configure.php and admin>include>configure.php to see if you have missed typed anything

 

just check the last section 'Database Connection'

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...