Welcome Guest, Not a member yet? Register   Sign In
Library creation problem!
#5

[eluser]Joseph1982[/eluser]
Now it returns another error:

******************************************

A PHP Error was encountered

Severity: Notice

Message: Undefined property: User_authentication::$session

Filename: libraries/User_authentication.php

Line Number: 32

Fatal error: Call to a member function userdata() on a non-object in /system/application/libraries/User_authentication.php on line 32


On Line 32, I added a Session checking and is below:

Code:
if(!$this->session->userdata('logged_in'))

Actually I want to redirect to the home page, if the user doesn't logged in.. For that I checked inside the Session..


Messages In This Thread
Library creation problem! - by El Forum - 09-17-2008, 04:24 AM
Library creation problem! - by El Forum - 09-17-2008, 05:04 AM
Library creation problem! - by El Forum - 09-17-2008, 06:35 AM
Library creation problem! - by El Forum - 09-17-2008, 06:36 AM
Library creation problem! - by El Forum - 09-17-2008, 07:01 AM
Library creation problem! - by El Forum - 09-17-2008, 07:03 AM
Library creation problem! - by El Forum - 09-17-2008, 07:09 AM
Library creation problem! - by El Forum - 09-17-2008, 07:26 AM
Library creation problem! - by El Forum - 09-17-2008, 07:30 AM
Library creation problem! - by El Forum - 09-17-2008, 07:33 AM
Library creation problem! - by El Forum - 09-17-2008, 07:40 AM



Theme © iAndrew 2016 - Forum software by © MyBB