Skip to content
This repository has been archived by the owner on Apr 24, 2019. It is now read-only.

Error in reading the variable from class.config.php #13

Open
GabrielUlici opened this issue Aug 9, 2012 · 0 comments
Open

Error in reading the variable from class.config.php #13

GabrielUlici opened this issue Aug 9, 2012 · 0 comments

Comments

@GabrielUlici
Copy link

i think that the file class.database.php cannot read the variables set in class.config.php , in my case.
I set in the class.config.php for production

        $this->dbHost       = 'mysql17.000webhost.com';
        $this->dbName       = 'a5653879_shine';
        $this->dbUsername   = 'a5653879_jarvis1';
        $this->dbPassword   = 'password';
        $this->dbDieOnError = false;

but i receive an error " Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'a5653879'@'localhost' (using password: NO) in /home/a5653879/public_html/Shine/includes/class.database.php on line 67"

then i changed in class.database.php this and it worked.

        $this->host       = 'mysql17.000webhost.com';
        $this->name       = 'a5653879_shine';
        $this->username   = 'a5653879_jarvis1';
        $this->password   = 'password';

Please tell me if i did something wrong.
Thanks.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant