Coolblue Posted August 14, 2005 Posted August 14, 2005 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
Guest Posted August 14, 2005 Posted August 14, 2005 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] <{POST_SNAPBACK}>
Recommended Posts
Archived
This topic is now archived and is closed to further replies.