|
-
Sep 23rd, 2000, 01:26 PM
#1
Thread Starter
Hyperactive Member
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.
-
Sep 23rd, 2000, 01:36 PM
#2
Frenzied Member
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...
Jop - validweb.nl
Alcohol doesn't solve any problems, but then again, neither does milk.
-
Sep 23rd, 2000, 01:39 PM
#3
Thread Starter
Hyperactive Member
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!
-
Sep 23rd, 2000, 02:18 PM
#4
Frenzied Member
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
Jop - validweb.nl
Alcohol doesn't solve any problems, but then again, neither does milk.
-
Sep 23rd, 2000, 02:44 PM
#5
Thread Starter
Hyperactive Member
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|