Error when setting dev_password in the MY_fuel.php file

edited August 2011 in Bug Reports
I'm getting an error when I add the following to my MY_fuel.php file:

$config['dev_password'] = 'password';

This is the error:

A PHP Error was encountered

Severity: Notice

Message: Undefined property: Page_router::$fuel_auth

Filename: hooks/Fuel_hooks.php

Line Number: 58

( ! ) Fatal error: Call to a member function is_logged_in() on a non-object in C:\wamp\www\fuel\modules\fuel\hooks\Fuel_hooks.php on line 58
Call Stack
# Time Memory Function Location
1 0.0182 716888 {main}( ) ..\index.php:0
2 0.0242 798224 require_once( 'C:\wamp\www\fuel\codeigniter\core\CodeIgniter.php' ) ..\index.php:270
3 0.1508 4786752 MY_Hooks->_call_hook( ) ..\CodeIgniter.php:274
4 0.1508 4786960 MY_Hooks->_run_hook( ) ..\MY_Hooks.php:137
5 0.1512 4787344 Fuel_hooks->dev_password( ) ..\MY_Hooks.php:246

Any hints?
Erik

Comments

Sign In or Register to comment.