CodeIgniter Forums
Community Auth : Undefined property: CI_Session::$regenerated_session_id - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: External Resources (https://forum.codeigniter.com/forumdisplay.php?fid=7)
+--- Forum: Addins (https://forum.codeigniter.com/forumdisplay.php?fid=13)
+--- Thread: Community Auth : Undefined property: CI_Session::$regenerated_session_id (/showthread.php?tid=65357)



Community Auth : Undefined property: CI_Session::$regenerated_session_id - zenepay - 06-02-2016

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


RE: Community Auth : Undefined property: CI_Session::$regenerated_session_id - skunkbad - 06-02-2016

are you autoloading session?


RE: Community Auth : Undefined property: CI_Session::$regenerated_session_id - zenepay - 06-02-2016

(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');


RE: Community Auth : Undefined property: CI_Session::$regenerated_session_id - skunkbad - 06-02-2016

(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!


RE: Community Auth : Undefined property: CI_Session::$regenerated_session_id - zenepay - 06-03-2016

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.