Welcome Guest, Not a member yet? Register   Sign In
CI Session database driver error
#1

(This post was last modified: 11-03-2016, 04:15 AM by vwalunj. Edit Reason: to specify php and ci version )

Hi,
Recently I'm getting this error 

INFO - 2016-10-24 05:17:02 --> Database Driver Class Initialized
Severity: Error --> Class CI_Session_database_driver contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (SessionHandlerInterface::open) C:\ccstack64\htdocs\cchub\system\libraries\Session\drivers\Session_database_driver.php 49

Error frequency is rare but I need to Restart Apache every time I get this error.

I'm using
PHP Version : 7.0.0
CI Version : 3.0.0


Please help
Reply
#2

Did you upgrade to the new CodeIgniter v3.1.2 ?
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply
#3

(11-03-2016, 06:31 AM)InsiteFX Wrote: Did you upgrade to the new CodeIgniter v3.1.2 ?

No I'm still using CI 3.0.0
Reply
#4

You should upgrade to the new CI version it fixes a security issue.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply
#5

(11-04-2016, 06:26 AM)InsiteFX Wrote: You should upgrade to the new CI version it fixes a security issue.



Now I am using v.3.1.6. but still got this error.
Any advice?
Reply
#6

(This post was last modified: 12-15-2017, 04:23 AM by InsiteFX.)

Show your session configuration from your config.php file.

But usually this is caused by not using all the new session folders.

Could be a bad install of CI.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply
Reply
#8

Try PHP 7.2
Reply
#9

Hello,
you can try PHP 7.1 !!
Reply




Theme © iAndrew 2016 - Forum software by © MyBB