kevinscof Posted November 22, 2003 Share Posted November 22, 2003 I recieve the following error after I click the admin button after I installed osCommerce on a windows 2003 server running php 4.3.4 mysql 4.0.9 .. 1046 - No Database Selected select configuration_key as cfgKey, configuration_value as cfgValue from configuration [TEP STOP] This is after it creates the database entries and everything seems ok. If I goto http://my_url/catalog/ it will redirect me to the /install/index.php to re install it again. I enter in the information that is requested and it says everythings fine and worked. I host several phpnuke sites and several other php forums with no problems on them. Any and all help is greatly appreciated Thank You. Link to comment Share on other sites More sharing options...
TomThumb Posted November 22, 2003 Share Posted November 22, 2003 Check the database section of /catalog/includes/configure.php could be a password issue. while (!succeed) {try()}; GMT -6:00 Link to comment Share on other sites More sharing options...
kevinscof Posted November 24, 2003 Author Share Posted November 24, 2003 http://www.videotronics.com It wasnt a password issue it was a permission issue. What I did was after I uploaded everything to the server I changed the permissions on the include and admin section to linux equivalent 777 or everyone/IUSR to have full modify permissions. Then went thru the install and got the db configured. Once the install was done I put these 2 directories back to everyone/IUSR back to list folders only and set configure.php to read only and everything is working fine. I havent quite figured out what exact files need to have write permissions in them 2 folders yet for the initial install but I will narrow it down Link to comment Share on other sites More sharing options...
korsh Posted November 24, 2003 Share Posted November 24, 2003 It wasnt a password issue it was a permission issue. thanks Kevinscof, I will have a look and see what permissionsI have got set and get back to you. James Link to comment Share on other sites More sharing options...
kevinscof Posted November 25, 2003 Author Share Posted November 25, 2003 Thanks for the information TomThumb as it wasnt a password problem but when I looked in the configure.php file I noticed that after the install it still was blank. This is how I figured out that it was a permission issue causing my problem. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.