Welcome Guest, Not a member yet? Register   Sign In
Community Auth : Undefined property: CI_Session::$regenerated_session_id
#1

Hi
Please help. I am just new installing the Community Auth. After follow all instruction, I got this error below.
How I could fix this session error.
===================================
A PHP Error was encountered

Severity: Notice

Message: Undefined property: CI_Session::$regenerated_session_id

Filename: hooks/auth_sess_check.php

Line Number: 24

Backtrace:

File: /home/zoviral/public_html/dev/application/hooks/auth_sess_check.php
Line: 24
Function: _error_handler

File: /home/zoviral/public_html/dev/index.php
Line: 292
Function: require_once
Reply
#2

are you autoloading session?
Reply
#3

(This post was last modified: 06-02-2016, 08:20 AM by zenepay.)

(06-02-2016, 07:53 AM)skunkbad Wrote: are you autoloading session?

I put it is config/autoload.php ,it should do or not?
$autoload['libraries'] = array('database','session','tokens','Authentication');
Reply
#4

(06-02-2016, 08:14 AM)zenepay Wrote:
(06-02-2016, 07:53 AM)skunkbad Wrote: are you autoloading session?

I put it is config.php it should do, right?
$autoload['libraries'] = array('database','session','tokens','Authentication');

No, the autoloading goes in /application/config/autoload.php

I've got to go out to a meeting, so won't be around for a few hours. Hopefully you can figure it out!
Reply
#5

Hi Skunbad,
Thank you very much.
I got it worked now.
The problem with CI files, I reinstalled from fresh then it worked. Thank you.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB