Welcome Guest, Not a member yet? Register   Sign In
Bug at 281 CodeIgniter Session.php library?
#1

[eluser]dojolab[/eluser]
Hello everybody,

I have a crazy error on line 281 of /libraries/Session.php CI's file.
I Used a db to storage my session.

But this is the error:
Code:
Call to a member function where() on a non-object codeigniter [...] Session.php 281

On my VPS run PHP 5.2.3 Smile
#2

[eluser]WanWizard[/eluser]
Sure your database connection is ok? Any modular solution in use? How is the session library loaded?
#3

[eluser]danmontgomery[/eluser]
Did you load the database?
#4

[eluser]dojolab[/eluser]
[quote author="noctrum" date="1288833157"]Did you load the database?[/quote]

Sure and Works fine.
I used autoload config for database and session.

:/
#5

[eluser]dojolab[/eluser]
[quote author="WanWizard" date="1288830485"]Sure your database connection is ok? Any modular solution in use? How is the session library loaded?[/quote]

The session library is loaded into config file.
#6

[eluser]danmontgomery[/eluser]
make sure database is before session in autoload

Code:
$autoload['libraries'] = array('database', 'session');




Theme © iAndrew 2016 - Forum software by © MyBB