Question: Error Establishing A Database Connection

Error Establishing A Database Connection

I have intsalled the files successfully but after that its showing me database connection error. Here is the link Error establishing a database connection In installation it didnt sho

A

Arslan

Asked
I have intsalled the files successfully but after that its showing me database connection error.

Here is the link Error establishing a database connection

In installation it didnt show any error. but on login screen its showing Error establishing a database connection
  • MS

    Mian Saleem

    Answered
    Hello,

    You can check the database connection settings in `app/config/database.php`

    Thank you
  • A

    Arslan

    Answered
    Everything is fine from files. i even again install it and no error came in installation. but when im accessesing the link it showing error.

    This travellersutopia.com page can’t be foundNo webpage was found for the web address: https://travellersutopia.com/crm/auth/login
    HTTP ERROR 404

    Please give a solution for this, why this is happening.
  • MS

    Mian Saleem

    Answered
    Hello,

    404 not found and database are different errors.

    404 in most cases are caused when you missed uploading `.htaccess` file.

    ---

    **Why am I getting 404 Not Found error after installation?**

    Please

    1. make sure that your apache `mod_rewite` is enabled
    2. check that `.htaccess` file is successfully uploaded and exists in the main directory of uploaded files
    3. `base_url` in `app/config/config.php`

    If you are using godaddy, please visit the codeigniter [official guide](https://github.com/bcit-ci/CodeIgniter/wiki/Godaddy-Installation-Tips). You might need to check and modify your `.htaccess` file too.

    You can always check your error log or with server admin to get more information about the issue.

    Thank you
  • Login to Reply