ariuks333 Posted November 19, 2004 Posted November 19, 2004 1046 - No Database Selected select configuration_key as cfgKey, configuration_value as cfgValue from configuration [TEP STOP] That is the message I see when I try to enter oscommerce admin area. Everything was fine before I made catalog/includes/configure.php file "read only" because I had a Warning message: Warning: I am able to write to the configuration file: C:/apachefriends/xampp/htdocs/catalog/includes/configure.php. This is a potential security risk - please set the right user permissions on this file. I am using windows xp home edition. Please help, anyone.
241 Posted November 19, 2004 Posted November 19, 2004 I do not see anything urgent about this post that would set it aside in importance to any other post, maybe that is why it has been viewed several times without a reply being posted. Claiming urgency 1046 - No Database Selected select configuration_key as cfgKey, configuration_value as cfgValue from configuration This indicates that either no database has been created or the wrong database name DB_DATABASE exists in the configure.php files No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes.
Guest Posted November 19, 2004 Posted November 19, 2004 I just fixed the same problem....my problem was with the installer(i think) it never wrote anythign to the config files. I had to go in and imput the data manually....i just hope i didnt miss anything.
TCwho Posted November 19, 2004 Posted November 19, 2004 I do not see anything urgent about this post that would set it aside in importance to any other post, maybe that is why it has been viewed several times without a reply being posted. Claiming urgency :lol: ....everything feels likes it urgent to us....but 241 is correct....its good to read the rules before posting...helps to avoid any problems... ;) Well, Im new at this, but maybe you should take a look at your : \catalog\includes\configure.php lines 37 - 43: define our database connection define('DB_SERVER', 'xxxxxxxxxxxx); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', 'xxxxxxxxxxxxx'); define('DB_SERVER_PASSWORD', 'xxxxxxxxxxx'); define('DB_DATABASE', 'xxxxxxxxxxxxx'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' and make sure you have everything setup correctly where you see the "x"s Hope that helps B) Drop_Shadow How Did You Hear About Us Email HTML Order Link ---- GMT -5:00
Recommended Posts
Archived
This topic is now archived and is closed to further replies.