Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Upgraded to 2.2


Hydrox

Recommended Posts

the admin side keeps giving me this error

 

1046 - No Database Selected

 

select configuration_key as cfgKey, configuration_value as cfgValue from configuration

 

[TEP STOP]

 

 

lost? :angry:

Link to comment
Share on other sites

I had this problem early on, its easy enough to fix. Open catalog/admin/includes/configure.php.

 

At the bottom (~lines 39-42) you should see:

define('DB_SERVER', ''); // eg, localhost - should not be empty for productive servers

define('DB_SERVER_USERNAME', '');

define('DB_SERVER_PASSWORD', '');

define('DB_DATABASE', '');

 

Make sure the information in the '' matches what you see when you open catalog/configure.php and look at the corresponding lines.

 

Hope this helps!

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...