Welcome Guest, Not a member yet? Register   Sign In
annoying session/interface problem

(This post was last modified: 11-20-2016, 05:42 AM by ibraheem_ghazi.)

in codeigniter v3 i'm facing an annoying problem related to session
and recently appears much times which become annoying

PHP Code:
Fatal error: Class CI_Session_files_driver contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (SessionHandlerInterface::readin Z:\project\system\libraries\Session\drivers\Session_files_driver.php on line 49 

i looked for it but the only solution i found is restart the Apache , OK that a temp solution but when it appear repeatedly i can not take it as a solution anymore.

so i looked into system folder at these files :
  • Session.php
i know that i shouldn't edit any system files but i want to figure out the problem , in the end
i removed
PHP Code:
implements SessionHandlerInterface 
from each of these files:
  • Session_driver.php
and the error disappeared but session not works properly

so can anyone suggest a permanent solution for this problem because removing interface implementing is not a solution?!

Messages In This Thread
annoying session/interface problem - by ibraheem_ghazi - 11-20-2016, 02:23 AM

Theme © iAndrew 2016 - Forum software by © MyBB