JError: Unable to load Database Driver: mysql_fab (solved)

Status
Not open for further replies.

thomasmes

Member
I installed F3 pre-alpha on j16 on a (local) WAMP server. After installation I went to "Components > fabrik" in the back-end and got an error: "JError: Unable to load Database Driver: mysql_fab"

In \administrator\components\com_fabrik\controllers\home.raw.php I found:

$dest = JPATH_SITE.DS.'libraries'.DS.'joomla'.DS.'database'.DS.'database';
$ret = JFile::move(COM_FABRIK_FRONTEND.DS.'dbdriver'.DS.'mysql_fab.php', $dest.DS.'mysql_fab.php');
$ret = JFile::move(COM_FABRIK_FRONTEND.DS.'dbdriver'.DS.'mysqli_fab.php', $dest.DS.'mysqli_fab.php');

so I manually copied "mysql_fab.php" (and "mysqli_fab.php") from \components\com_fabrik\dbdriver to \libraries\joomla\database\database. This solved the problem. I expect that this process should be done automatically on installation?

I also noticed a typo on line 39 in "mysql_fab.php" and "mysqli_fab.php":
"com_farik.package". I think this should be "com_fabrik.package".

Hope this helps to improve this great product!
 
I expect that this process should be done automatically on installation?
Yup it should, guess I need to look at that!

I also noticed a typo on line 39 in "mysql_fab.php" and "mysqli_fab.php":
"com_farik.package". I think this should be "com_fabrik.package".
Thanks I've fixed that in my local copy

-Rob
 
I had the same problem and the same solution (spelling change and file copy).

@Thomasmes - Thanks for leading the way to the solution on this minor problem.

@Rob - Thanks for continuing to improve on such a wonderful product!
 
@Rob - Thanks for continuing to improve on such a wonderful product!
A pleasure :)

I've resolved the issue of the driver files not being copied in the installer - so closing this thread
 
Status
Not open for further replies.
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top