Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Admin folder deleted ??


Coolblue

Recommended Posts

I deleted my admin folder by accident :'(

 

 

I have now uploaded a new one but what what needs editing and where ?

 

Error message:

 

1046 - No Database Selected

 

select configuration_key as cfgKey, configuration_value as cfgValue from configuration

 

[TEP STOP]

Hey Hey im a monkey

Link to comment
Share on other sites

I'm no expert at oscommerce but I would start with the admin/includes/configure.php by adding your data base info.

 

// define our database connection
 define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers
 define('DB_SERVER_USERNAME', 'YOUR INFO');
 define('DB_SERVER_PASSWORD', 'YOUR INFO);
 define('DB_DATABASE', 'YOUR INFO');
 define('USE_PCONNECT', 'false'); // use persisstent connections?
 define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

 

I hope this helps.

 

Teresa

 

I deleted my admin folder by accident  :'( 

I have now uploaded a new one but what what needs editing and where ?

 

Error message:

 

1046 - No Database Selected

 

select configuration_key as cfgKey, configuration_value as cfgValue from configuration

 

[TEP STOP]

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...