[eluser]heavenquake[/eluser]
Hello. First and foremost: I'm inexperienced on these forums, but I've tried my best to search before posting. I didn't find anything of relevance, but please bear with me if there was something I overlooked
The bug, at least that's what I think it is, seems to be in the Session-library of CI.
On random occurances, about 20-30% of my pageloads, but sometimes multiple loads in a row, I get the following two messages.
The first is a Codeigniter-style exception:
Code:
A PHP Error was encountered
Severity: Notice
Message: Undefined property: Master::$db
Filename: libraries/Session.php
Line Number: 746
While the second is a standard PHP fatal error:
Code:
Fatal error: Call to a member function where() on a non-object in /home/heavenquake/documents/programming/webpages/HqCMS/system/libraries/Session.php on line 746
I am running this on localhost, and my environment is as follows:
Code:
Debian GNU/Linux
Apache2
PHP5
CodeIgniter 1.7.0 w. Modular Extensions(although I highly doubt this library to be the cause, as it doesn't fiddle with the Session library at all)
My browser is Iceweasel(Firefox), if that has anything to say.
It happens on any controller and any view - both those that utilize sessions and those that doesn't (however, I have the session library autoloaded).
EDIT: Perhaps I should add that I'm not yet doing any database-work, and that I'm thus not trying to store sessiondata in a database. I don't even load the database library.