Explore information related to joomla no database selected
Joomla error displaying the error page
This article will guide you on steps to resolve #Joomla #error displaying the error page which occurs due to trouble in the configuration file or a corrupt #database.
After you have determined the correct database settings, you are ready to update the configuration.php file.
To do this, follow these steps:
1. In the FILES section of the cPanel home screen, click File Manager:
2. Navigate to the directory where Joomla is installed.
3. Right-click the configuration.php file, and then click Edit.
4. Locate the $db variable, and then replace the value with the name of the Joomla database that you obtained in the previous procedure.
For example, if your database name is username_joom123, modify the text as follows:
public $db = 'username_joom123';
5. Locate the $user variable, and then replace the value with the database username that you obtained in the previous procedure. For example, if your database username is username_joomuser, modify the text as follows:
public $user = 'username_joomuser';
6. Locate the $password variable, and then replace the value with the database user's password. For example, if your database user's password is example_password, modify the text as follows:
public $password =
7. Locate the $dbprefix variable, and then replace the value with the database table prefix that you obtained in the previous procedure.
For example, if the database table prefix is jos_, modify the text as follows:
public $dbprefix = 'jos_';
8. irm that the $host variable is set to localhost as follows:
public $host = 'localhost';
9. Click Save Changes.
10. Use your web browser to go to the Joomla site's URL. The site should load.
