Granny Posted December 25, 2003 Share Posted December 25, 2003 1046 - No Database Selected select configuration_key as cfgKey, configuration_value as cfgValue from configuration [TEP STOP] Where-?-where do I make this change? application_*.php I found nothing in that one. Plz help me out on how to run this admintool Cheers The only good things in this world are cookies & Granny... Link to comment Share on other sites More sharing options...
charles Posted December 26, 2003 Share Posted December 26, 2003 Check your 'catalog/includes/configure.php' and 'admin/includes/configure.php' files and make sure the following code section is set thus. define our database connection ?define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers ?define('DB_SERVER_USERNAME', 'your_username'); ?define('DB_SERVER_PASSWORD', 'your_password'); ?define('DB_DATABASE', 'your_database_name'); ?define('USE_PCONNECT', 'true'); // use persistent connections? ?define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' I'm assuming you have a database. If you don't, then either you or your provider will have to create one first. Good luck, Charles We stand in ignorance only for questions not asked. Plug up the leaks in your knowledge base and open up a flood of understanding. Link to comment Share on other sites More sharing options...
Granny Posted December 28, 2003 Author Share Posted December 28, 2003 Hey dude u are gold!! I made an error in admin/.. ../configure.php and now found it, thxs for taking your time mate! now for some serious poking around with this beauty =) Cheers The only good things in this world are cookies & Granny... Link to comment Share on other sites More sharing options...
menace Posted January 3, 2004 Share Posted January 3, 2004 hey, i'm having the same problem. i install it and it tell me to go to "/store/admin" and enter my username and pass. when i log in it shows this page: 1046 - No Database Selected select configuration_key as cfgKey, configuration_value as cfgValue from configuration [TEP STOP] and i did what you said above to do, the main directory its stored in is "store" so instead of going to 'catalog/includes/configure.php' i went to 'store/includes/configure.php' and i got a 403 forbidden "Forbidden You don't have permission to access /store/includes/configure.php on this server." and when i went to the other one 'admin/includes/configure.php' it juss shows a blank page. and i'm pretty sure its on a DB cause after i remove it from my server at the bottom of the list of stuff that was deleted it says "Dropped Database osc5". i'm really lost and if you could help me with this one it would be really appreciated. thanx. Link to comment Share on other sites More sharing options...
Guest Posted January 3, 2004 Share Posted January 3, 2004 have you set your permissions on the 2 configure file as 706 or 777 if not , then shell in and chmod 706 those 2 config files.. that may help jacob :) Link to comment Share on other sites More sharing options...
menace Posted January 3, 2004 Share Posted January 3, 2004 have you set your permissions on the 2 configure file as 706 or 777if not , then shell in and chmod 706 those 2 config files.. that may help jacob :) i have no idea what n e of that is, could u elaborate a lil more....PLEASE. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.