LincsIT Posted February 19, 2004 Posted February 19, 2004 Hi, I really hope someone can help with this. I backed up my installation and deleted OSC due to some problems. I re-installed OSC with the chosen Contributions added beforehand. Everything came back OK and the main site is working but when I go to the Admin area I get the following message and it won't let me in. 1046 - No Database Selected select configuration_key as cfgKey, configuration_value as cfgValue from configuration [TEP STOP] Is anyone familiar with this? How do I select the database and in which file? Cheers, Bret Bret Inexperienced PHP User but will try anything for a laugh!
bloodshoteyes Posted February 19, 2004 Posted February 19, 2004 You need to go into catalog/admin/includes/configure.php and make the proper entries. You will have chmod the configure file to 777 first and re chmod the configure file back to 644. You might check the catalog/includes/configure.php file also. These two files set down the pathways to the database. Remember to change them both back to 644 permissions. If that doesn't help you might try running the configuration side of the install program. It won't touch your mods. :rolleyes:
LincsIT Posted February 19, 2004 Author Posted February 19, 2004 Hi Mike, Cheers mate, you're a top man. That fixed the problem within about 2 minutes. The only problem I have now I can get into the Admin panel is that none of the links work. Does the database store the encryption keys and would these have changed when I re-installed OSC? Stuck once again! Cheers, Bret Bret Inexperienced PHP User but will try anything for a laugh!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.