cavedweller Posted May 19, 2003 Share Posted May 19, 2003 i followed the instructions but i cannot access the admin panel. I get the following error and i saw one other post with the same thing but no answer. 1046 - No Database Selected select configuration_key as cfgKey, configuration_value as cfgValue from configuration [TEP STOP] Any ideas as to how i can fix this? heres the configuration.php code lines 13-29 i figure they may be helpful. I hope at least. require('includes/application_top.php'); if ($HTTP_GET_VARS['action']) { switch ($HTTP_GET_VARS['action']) { case 'save': $configuration_value = tep_db_prepare_input($HTTP_POST_VARS['configuration_value']); $cID = tep_db_prepare_input($HTTP_GET_VARS['cID']); tep_db_query("update " . TABLE_CONFIGURATION . " set configuration_value = '" . tep_db_input($configuration_value) . "', last_modified = now() where configuration_id = '" . tep_db_input($cID) . "'"); tep_redirect(tep_href_link(FILENAME_CONFIGURATION, 'gID=' . $HTTP_GET_VARS['gID'] . '&cID=' . $cID)); break; } } $cfg_group_query = tep_db_query("select configuration_group_title from " . TABLE_CONFIGURATION_GROUP . " where configuration_group_id = '" . $HTTP_GET_VARS['gID'] . "'"); $cfg_group = tep_db_fetch_array($cfg_group_query); ?> thanks for any help someone may be able to offer. Jerry Thanks Link to comment Share on other sites More sharing options...
Guest Posted May 19, 2003 Share Posted May 19, 2003 Did you install MySQL and MyAdmin first? I'm WAY novice, but had the same problem with my initial install. It took a day for the MyAdmin to work and once that was up for me, oscommerce worked. Link to comment Share on other sites More sharing options...
cavedweller Posted May 19, 2003 Author Share Posted May 19, 2003 thanks Jen i just happened to load the two directories on the same level and did not reflect that in the install. Bu ti got her working now. Thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.