web site inaccessable for nearly a week

Status
Not open for further replies.

bluegruntfuttock

New Member
Messages
25
Reaction score
0
Points
0
am losing visitors hand over fist at the moment and as time is going on, my visitors are going to other sites.

Why is my site still unavailable in nearly a week.

Getting message

Coppermine critical error:
Unable to connect to database !

MySQL said: Access denied for user 'ftas_ftas'@'lotus.x10hosting.com' (using password: YES)

:mad:
 
Last edited:

Zubair

Community Leader
Community Support
Messages
8,766
Reaction score
305
Points
83
am losing visitors hand over fist at the moment and as time is going on, my visitors are going to other sites.

Why is my site still unavailable in nearly a week.

Getting message

Coppermine critical error:
Unable to connect to database !

MySQL said: Access denied for user 'ftas_ftas'@'lotus.x10hosting.com' (using password: YES)
Change your database HOST to 'localhost'
 
Last edited:

descalzo

Grim Squeaker
Community Support
Messages
9,373
Reaction score
326
Points
83
Open the "config.inc.php" in the "include" directory.

There should be a variable named something like $HOST or $dbhost. It should be set to 'localhost'.
 

bluegruntfuttock

New Member
Messages
25
Reaction score
0
Points
0
Here is a copy of the file you mention, I cannot see host or dbhost anywhere, is it me?

<?php
// Coppermine configuration file

// MySQL configuration
$CONFIG['dbserver'] = 'mysql-lotus.x10hosting.com'; // Your database server
$CONFIG['dbuser'] = 'ftas_ftas'; // Your mysql username
$CONFIG['dbpass'] = 'xxxxxx'; // Your mysql password
$CONFIG['dbname'] = 'ftas_ftas'; // Your mysql database name


// MySQL TABLE NAMES PREFIX
$CONFIG['TABLE_PREFIX'] = 'cpg_';
?>
 
Last edited:

Livewire

Abuse Compliance Officer
Staff member
Messages
18,169
Reaction score
216
Points
63
Here is a copy of the file you mention, I cannot see host or dbhost anywhere, is it me?

<?php
// Coppermine configuration file

// MySQL configuration
$CONFIG['dbserver'] = 'mysql-lotus.x10hosting.com'; // Your database server
$CONFIG['dbuser'] = 'ftas_ftas'; // Your mysql username
$CONFIG['dbpass'] = 'za1vfcucao'; // Your mysql password
$CONFIG['dbname'] = 'ftas_ftas'; // Your mysql database name


// MySQL TABLE NAMES PREFIX
$CONFIG['TABLE_PREFIX'] = 'cpg_';
?>

$CONFIG['dbserver'] = 'mysql-lotus.x10hosting.com'; // Your database server

Change to

$CONFIG['dbserver'] = 'localhost'; // Your database server

EDIT 2/11/1:55pm CDT: Fixed my faulty code, I either hit a key twice or hit shift and turned ' into " by accident, my bad. Hope no one shoots me for it :)
 
Last edited:

bluegruntfuttock

New Member
Messages
25
Reaction score
0
Points
0
ok, pasted the line over the old line, now receive the following error

Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/ftas/public_html/include/config.inc.php on line 7
 

leafypiggy

Manager of Pens and Office Supplies
Staff member
Messages
3,819
Reaction score
163
Points
63
Code:
$CONFIG['dbserver'] = 'mysql-lotus.x10hosting.com'; // Your database server

make that

Code:
$CONFIG['dbserver'] =' localhost'; // Your database server

Also, please edit out your database password from your above post.
Edit:
ok, pasted the line over the old line, now receive the following error

Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/ftas/public_html/include/config.inc.php on line 7


Do what I said, just replace the line with my code. Livewire's code was faulty. ;)
 
Last edited:

bluegruntfuttock

New Member
Messages
25
Reaction score
0
Points
0
done that (and edited password(thanks)), however first the password appears in quote, and second, now getting this error

Coppermine critical error:
Unable to connect to database !

MySQL said: Unknown MySQL server host ' localhost' (3)
 

Livewire

Abuse Compliance Officer
Staff member
Messages
18,169
Reaction score
216
Points
63
Do what I said, just replace the line with my code. Livewire's code was faulty. ;)

Yes, it was - I hit shift on the ' which made it " >_<

Editing my original post to remove the code so it doesn't screw anyone else up, sorry folks!
 

bluegruntfuttock

New Member
Messages
25
Reaction score
0
Points
0
To clarify where I am at the moment,

Have pasted the following in and saved it

$CONFIG['dbserver'] = 'localhost'; // Your database server

Now receiving the following error

Coppermine critical error:
Unable to connect to database !

MySQL said: Access denied for user 'ftas_ftas'@'lotus.x10hosting.com' (using password: YES)
Edit:
Any further help here? Still have error message as shown in previous post
Edit:
any futher progress here? I stil have error message as shown on previous post
 
Last edited:
Status
Not open for further replies.
Top