Configured driver database was not found CI3 |
I have searched many sites and can not find solution to this problem with the library session on "C3".
I tested with PHP Code: $ autoload ['libraries'] = array ('database', 'session'); //From autoload And always get this error: An uncaught Exception was encountered Type: UnexpectedValueException Message: Session: Configured driver 'database' was not found. Aborting. Filename: public_html/igniter/system/libraries/Session/Session.php Line Number: 230 Backtrace: File: /home/public_html/igniter/application/controllers/Welcome.php Line: 8 Function: __construct File: /home/public_html/igniter/index.php Line: 292 Function: require_once The error only occurs when I add to the array session, when I remove it, it works.
What do you mean by "add to the array session"? Please show more code.
You either don't have system/libraries/Session/drivers/Session_database_driver.php for some weird reason, or you have an application/libraries/Session/drivers/Session_database_driver.php for an even weirder reason and it doesn't do what it should.
(01-03-2016, 04:12 AM)Narf Wrote: You either don't have system/libraries/Session/drivers/Session_database_driver.php for some weird reason, or you have an application/libraries/Session/drivers/Session_database_driver.php for an even weirder reason and it doesn't do what it should. Although I've only heard of it happening once, there's a chance that the OP's CI download was corrupt. I would swap out the system directory for a new copy.
[SOLVED]
As he said "skunkbird" perhaps the files are corrupt. The solution was to uploading a new directory tree CI3 It was a headache. But the solution was simple. Thanks a lot |
Welcome Guest, Not a member yet? Register Sign In |