Welcome Guest, Not a member yet? Register   Sign In
Weird autoload bug
#1

[eluser]georgeedwards[/eluser]
Hello all. I've had a production site live for a few months now (ftw.gd) but today just randomly discovered an error. I think it may be due to a hosting PHP upgrade, but they say they haven't upgraded anything. Not a great help.

But anyway, it seems as though, I can't autoload Session properly anymore. In fact, I can't load the library anywhere.

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

This produces:

Code:
A PHP Error was encountered

Severity: Notice

Message: Undefined property: CI_Loader::$session

Filename: views/header.php

Line Number: 43

The funny thing is, if I take out autoloading of the database library, the Session library loads successfully and works fine.

What gives? Any ideas?


Messages In This Thread
Weird autoload bug - by El Forum - 11-17-2010, 01:45 PM
Weird autoload bug - by El Forum - 11-17-2010, 01:59 PM
Weird autoload bug - by El Forum - 11-17-2010, 02:06 PM
Weird autoload bug - by El Forum - 11-17-2010, 02:10 PM
Weird autoload bug - by El Forum - 11-17-2010, 04:01 PM
Weird autoload bug - by El Forum - 11-17-2010, 05:10 PM
Weird autoload bug - by El Forum - 11-17-2010, 10:29 PM
Weird autoload bug - by El Forum - 11-18-2010, 03:52 AM
Weird autoload bug - by El Forum - 11-23-2010, 06:05 AM
Weird autoload bug - by El Forum - 11-23-2010, 08:26 AM
Weird autoload bug - by El Forum - 11-23-2010, 11:08 AM



Theme © iAndrew 2016 - Forum software by © MyBB