• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CI Session database driver error

#1
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 the CodeIgniter Community in 2009.          ( Skype: insitfx )
Reply

#3
(11-03-2016, 07: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 the CodeIgniter Community in 2009.          ( Skype: insitfx )
Reply

#5
(11-04-2016, 07: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
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 the CodeIgniter Community in 2009.          ( Skype: insitfx )
Reply

#7
It is a php bug. A solution does not exist.

https://forum.codeigniter.com/thread-64849.html

https://bugs.php.net/bug.php?id=72112
https://bugs.php.net/bug.php?id=75199
Reply

#8
Try PHP 7.2
Reply

#9
Hello,
you can try PHP 7.1 !!
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
2 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2018 MyBB Group.