PDA

View Full Version : what's going on?


DaGGeR
05-21-2005, 01:37 PM
I'm making my clan's website and it was working fine.... then i installed a new module called nukematch and my roster wouldn't work, it gives a database error, i was just wondering if any of you could help me out and maybe tell me what i need to change to fix this error.

http://www.the227clan.com/uploadedpics/mysqlerror.gif

Anyone seen this before or know ohw to fix it?

scoutt
05-21-2005, 01:51 PM
yeah, it means you can't connect to the db. did you insert the credintials? eg: username and password and database name?

DaGGeR
05-21-2005, 04:57 PM
yeah, all this worked before....it was working fine then this just showed up, i'll check it again

DaGGeR
05-23-2005, 03:30 PM
still nothing....the credentials are setup, like i said... we were using this page before, we had all of our data entered and then all of a sudden this showed up!!!

scoutt
05-23-2005, 03:45 PM
not sure what to say, when you see connect failed than you have issues with the db or the location to the db has changed.

you have threee thigns that connect.

localhost, username,password

than you have which database.

either localhost changed or the name of the db is wrong.

putts
05-24-2005, 06:16 AM
what do you mean by module?

Is it possible that this "module" requires some customization to get the db connect working?

DaGGeR
05-25-2005, 05:03 PM
all the necessary data has been entered properly, this is a php-nuke module to clear all that up... It was working fine, then i recently installed a new module and now this one has stopped working, i have decided to bite the bullet and use a new database and make it a strict vwar database, i'll have to re-install all the data..but thats ok :)

DaGGeR
05-25-2005, 05:14 PM
ok ...i just installed it in a brand new database and i get the exact same error....i have no idea what to do now...can anyone help me out?

scoutt
05-25-2005, 05:32 PM
wel without seeing the module and the connection code it is hard to say.

DaGGeR
05-25-2005, 09:28 PM
what information would you like for me to post regarding the database and the module?

scoutt
05-25-2005, 09:37 PM
well, you can show the way it connects. you can edit teh username an dpassword but the code is good to look at.

other than that, it is hard to say what it is. maybe it needs another file being called like the db structure. does the module use the same connection as the rest of the site? if so then is it being called correctly?

I never ran php-nuke so it wouldn't make any since to me.

DaGGeR
05-26-2005, 10:40 PM
// ################################### DATABASE SETTINGS ##############################
$sql["hostname"] = "localhost"; // Hostname of the MySQL-Database
$sql["username"] = "###r"; // MySQL Username
$sql["password"] = "nb####age"; // MySQL Password
$sql["database"] = "####r"; // MySQL Database Name

// With this option you can install more than one VWar.
// Number of VWar (if you update from max. v1.2.2 delete the 1.
// $n = "";
//
// example: (don't use "" if $n is set to a value)
// --------
// $n = 2;
$n = 1;

This is how it connects, blocked out the passwords but the info is all correct

scoutt
05-27-2005, 07:40 AM
hmmm, I am not sure really. where is the part that says mysql_connect? or where you start the mysql query, the part wherre it is erroring on?

DaGGeR
05-27-2005, 09:08 AM
this module has about 100 files and each one has one of those mysql_connect's ...i'm gonna try re-posting this in the php section as i don't think databasing was the correct area! :rofl: thatnks for all your help :)

scoutt
05-27-2005, 09:24 AM
well what is the first page you see it on? that is all I care about.