bandeye Posted June 2, 2005 Share Posted June 2, 2005 I'm installing the database. The catalog has installed nicely, but when I click the "Administration" link, the following error is shown: 1046 - No Database Selected select configuration_key as cfgKey, configuration_value as cfgValue from configuration How should I fix this? Thanks! Sarah* Link to comment Share on other sites More sharing options...
♥Vger Posted June 2, 2005 Share Posted June 2, 2005 Look in catalog/admin/includes/configure.php to see if the name of the database has been written to that file. Check with catalog/includes/configure.php for the correct db info. Vger Link to comment Share on other sites More sharing options...
lorisoard Posted June 2, 2005 Share Posted June 2, 2005 Hi. I'm experiencing the same problem and this didn't fix the error. They are both set to the same thing under define('DB_DATABASE') and everything else from what I can see. I'm not great at PHP but have slowly taught myself a little bit. Any other suggestions for how to fix this error? TIA Lori Link to comment Share on other sites More sharing options...
♥Vger Posted June 2, 2005 Share Posted June 2, 2005 Look in includes/local/ to see if there is another configure.php file in there. If there is then it overrides any other configure.php file. Rename it and it won't be found by osCommerce - whcih searches for it by default. Vger Link to comment Share on other sites More sharing options...
bandeye Posted June 6, 2005 Author Share Posted June 6, 2005 :P f*ck it, nothing's working. Thx for the help anyhoo! Sarah* Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.