Welcome Guest, Not a member yet? Register   Sign In
Trying to debug a DB problem (load and autoload)
#2

[eluser]vitoco[/eluser]
This error it's telling you that the DB class it's trying to load the "dbdriver" driver for the active connection.
Code:
A PHP Error was encountered

Severity: Warning

Message: require_once(/sites/foo/bar/home/public_html/system/database/drivers/dbdriver/dbdriver_driver.php) [function.require-once]: failed to open stream: No such file or directory

Filename: database/DB.php

Line Number: 140

Line 140 database/DB.php :
Code:
require_once(BASEPATH.'database/drivers/'.$params['dbdriver'].'/'.$params['dbdriver'].'_driver.php');

But that driver doesn't exists, and checking the drivers folder i get this list of posible values
Code:
cubrid, mssql, mysql, mysqli, oci8, odbc, pdo, postgre, sqlite, sqlsrv

So i don't know what type of database engine you are working with, but you must check the ['dbdriver'] value on your database.php file.


Messages In This Thread
Trying to debug a DB problem (load and autoload) - by El Forum - 12-18-2012, 07:11 PM
Trying to debug a DB problem (load and autoload) - by El Forum - 12-25-2012, 12:39 AM



Theme © iAndrew 2016 - Forum software by © MyBB