Jump to content
MakeWebGames

Recommended Posts

Posted

I get this error on the login page and the register page of my game.

 

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'webcn'@'localhost' (using password: YES) in /home/webcn/public_html/class/class_db_mysql.php on line 46
FATAL ERROR: Could not connect to database on localhost (Access denied for user 'webcn'@'localhost' (using password: YES))

 

Anyone have a idea what it could be.

Thanks

Posted

Re: Please help....

ah yeah thats the problem then the password has been changed by your host and send via email or something?

then the config file tries running old pw n fails to connect to the databases lol

so when you get the new one just add it in config.php and you'll be fine mate, glad i could help

Posted

Re: Please help....

 

ah yeah thats the problem then the password has been changed by your host and send via email or something?

then the config file tries running old pw n fails to connect to the databases lol

so when you get the new one just add it in config.php and you'll be fine mate, glad i could help

ive done that but when i click save on file edit for config.php i get this:

 

File Saved

open config.php failed: Permission denied at cpanel.pl line 590 Carp::croak('open config.php failed: Permission denied') called at /usr/local/cpanel/Cpanel/Fileman.pm line 1240 Cpanel::Fileman::fmsavefile('%2fhome%2fwebcn%2fpublic_html', 'config.php', '<?php^M^J$_CONFIG = array(^M^J\'hostname\' => \'localhost\',^M^J\'user...', 1, 1) called at cpanel.pl line 590 main::__ANON__('%2fhome%2fwebcn%2fpublic_html', 'config.php', '<?php^M^J$_CONFIG = array(^M^J\'hostname\' => \'localhost\',^M^J\'user...', 1, 1) called at cpanel.pl line 1763 main::exectag('<cpanel Fileman="fmsavefile($FORM{\'dir\'},$FORM{\'file\'},$FORM...') called at cpanel.pl line 4806 main::dotag(undef) called at cpanel.pl line 4673 main::cpanel_parseblock('SCALAR(0x919fa24)') called at cpanel.pl line 4625 main::cpanel_parse('GLOB(0x9406234)') called at cpanel.pl line 1295

[a fatal error or timeout occurred while processing this directive]

Posted

Re: Please help....

 

ive done that but when i click save on file edit for config.php i get this:

 

File Saved

open config.php failed: Permission denied at cpanel.pl line 590 Carp::croak('open config.php failed: Permission denied') called at /usr/local/cpanel/Cpanel/Fileman.pm line 1240 Cpanel::Fileman::fmsavefile('%2fhome%2fwebcn%2fpublic_html', 'config.php', '<?php^M^J$_CONFIG = array(^M^J\'hostname\' => \'localhost\',^M^J\'user...', 1, 1) called at cpanel.pl line 590 main::__ANON__('%2fhome%2fwebcn%2fpublic_html', 'config.php', '<?php^M^J$_CONFIG = array(^M^J\'hostname\' => \'localhost\',^M^J\'user...', 1, 1) called at cpanel.pl line 1763 main::exectag('<cpanel Fileman="fmsavefile($FORM{\'dir\'},$FORM{\'file\'},$FORM...') called at cpanel.pl line 4806 main::dotag(undef) called at cpanel.pl line 4673 main::cpanel_parseblock('SCALAR(0x919fa24)') called at cpanel.pl line 4625 main::cpanel_parse('GLOB(0x9406234)') called at cpanel.pl line 1295

[a fatal error or timeout occurred while processing this directive]

Thats a server problem it looks like...

Posted

Re: Please help....

 

ive done that but when i click save on file edit for config.php i get this:

 

File Saved

open config.php failed: Permission denied at cpanel.pl line 590 Carp::croak('open config.php failed: Permission denied') called at /usr/local/cpanel/Cpanel/Fileman.pm line 1240 Cpanel::Fileman::fmsavefile('%2fhome%2fwebcn%2fpublic_html', 'config.php', '<?php^M^J$_CONFIG = array(^M^J\'hostname\' => \'localhost\',^M^J\'user...', 1, 1) called at cpanel.pl line 590 main::__ANON__('%2fhome%2fwebcn%2fpublic_html', 'config.php', '<?php^M^J$_CONFIG = array(^M^J\'hostname\' => \'localhost\',^M^J\'user...', 1, 1) called at cpanel.pl line 1763 main::exectag('<cpanel Fileman="fmsavefile($FORM{\'dir\'},$FORM{\'file\'},$FORM...') called at cpanel.pl line 4806 main::dotag(undef) called at cpanel.pl line 4673 main::cpanel_parseblock('SCALAR(0x919fa24)') called at cpanel.pl line 4625 main::cpanel_parse('GLOB(0x9406234)') called at cpanel.pl line 1295

[a fatal error or timeout occurred while processing this directive]

Thats a server problem it looks like...

 

Nop

i managed to fix it

click home then change the permissions of index_html to 0777 i think did it.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...