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

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

Description

@GabrielUlici

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions