View Full Version : No Database Selected error.
Bless
12-13-2005, 09:12 PM
For everyone who is getting this, after reading through the index.php in the installation directory I found the problem.
Anyone using an underscore in DB/Usernames (most will) will cause they script to fail finding it. I had to just enter my direct database info into it, and then it worked. Can you guys check your quotes and ' ' too see where it is stripping the underscore? I never had time, nor do I want to look since I fixed this, however I'm sure you would like to fix it :)
Meow the Great
12-13-2005, 09:20 PM
Thanks a lot, very helpful, i'll take a look in there but hopefully they will be able to get an update to this problem.
Bless
12-14-2005, 12:19 AM
Was trying to fix the problems with the eqDKP system and ended up just fixing the index.php myself. Here's the problem:
$dbcnx=mysql_connect($_POST[dbServer],$_POST[dbUse r],$_POST[dbPassword]); $cnx = mysql_select_db($_POST[dBase],$dbcnx);
There is no post, we've already cleared it by writing the file. We are trying to use the file we wrote, but this is not going to do it. We need to replace this with:
$dbcnx = mysql_connect($dbServer,$dbUser,$dbPassword);
$cnx = mysql_select_db($dBase,$dbcnx);
oops sorry, I did find that earlier but I went to ZG instead :)
All up now
Bless
12-14-2005, 01:04 AM
Any chance you know what's wrong with the eqDKP upgrade script? I enter my info and it just refreshes, doesn't execute the script at all, just wipes the info.
Any ideas?
Just fixed that too..
if($_POST[submit] == "Update etc...) {
change $submit to $_POST[submit] ----- I thought I had all this covered. I uploaded the changes again. sorry :(
Bless
12-14-2005, 01:47 AM
Thank you :) You and your post arrays... =D
Powered by vBulletin® Version 4.1.9 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.