-
When attempting to execute the Stutter chat script, the following errors are generated.
Code:
Warning: Access denied for user: 'nobody@localhost' (Using password: NO) in common.php on line 36
Warning: MySQL Connection Failed: Access denied for user: 'nobody@localhost' (Using password: NO) in common.php on line 37
Warning: MySQL: A link to the server could not be established in common.php on line 37
However, the script still works.
The variables have been set up as below ($db_password not really starred). Lines 36 and 37 in the mentioned file, common.php call variables from the list below.
Code:
$db_host = "localhost";
$db_user = "cybernetx";
$db_password = "*********";
$db_name = "cybernetx";
$db_table = "stutter";
$timeout = 180;
$language = "english"; // current translations: english|spanish
and this is the section from the index.php file which cals the variables.
Code:
$user = ereg_replace(" ", "_", $user);
$user = strip_tags($user);
if ($user == "-") { $user = ""; }
if ($user == "*") { $user = ""; }
if ($user) {
setcookie("StutterUser", $user);
}
include("common.php");
Please help!
PS, the database is correctly set up also.
-
hmmm.. I don't know sh*t about PHP and these forms are not intended for PHP, but is there a user called nobody at your localhost? Maybe that's the prob... maybe I'm just brabbling but what the hell...
-
I've posted it on the Internet forum as well!
All username and passsword are trying to do is to connect tpo a mySQL database on a server called localhost. There are no other users. Thanks for trying though!
-
hmm.. your running the server yourself (assuming that by seeing Localhost in your post) maybe (I say maybe) it doens't allow hostnames, instead try 127.0.0.1
Not sure if it works but it's worth the try
-
It's running on UKLinux's server, and localhost as the server name works with another script. This script does work, It's just that those error messages come up for no apparent reason.