Page 2 of 2

Re: JError Unable to load Database [drive]

Posted: Thu Nov 26, 2015 12:16 am
by drewkulig
I recently noticed that my completed website displays this message and no longer loads. How would I fix this problem? Would I have to redo all changes made to my current theme?

Re: JError Unable to load Database [drive]

Posted: Tue Feb 23, 2016 1:49 pm
by anabarcellos
RichardWalsh wrote:I just had this problem after creating a local XAMP-based version of my online database.

The suggestion made by Nik above worked for me. My settings were empty in configuration.php as Nik had experienced.

/* Database Settings */
var $dbtype = 'mysql';
var $host = 'localhost';
var $user = 'root';
var $password = '';
var $db = '6562_PSS';
var $dbprefix = 'jos_';

Thanks Nik and others.

Richard
In my case, this line was missing:

Code: Select all

public $dbtype = 'mysql';
I just added it and it worked! Thank you, guys