CodeIgniter Database Session Error
15,109
Solution 1
Problem solved by restarting Apache.
I attach the url which saved me: http://forum.codeigniter.com/thread-64763.html
Solution 2
In my case i did the following
Restart apache
That's it!
Solution 3
The files in system should not be modified. My files were modified somehow and were throwing error. I resolved my problem as below.
- Download fresh codeigniter and extract files
- copy system files from fresh codeigniter into your project and overwrite the whole system folder.
This should fix your problem.
Author by
50l3r
Updated on June 18, 2022Comments
-
50l3r almost 2 years
When I try to execute any controller of my CodeIgniter project i receive this error:
Fatal error: Class CI_Session_files_driver contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (SessionHandlerInterface::read) in D:\Git\crud-farm\system\libraries\Session\drivers\Session_files_driver.php on line 49 A PHP Error was encountered Severity: Error Message: Class CI_Session_files_driver contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (SessionHandlerInterface::read) Filename: drivers/Session_files_driver.php Line Number: 49 Backtrace:
I tried to replace CodeIgniter system files but it didn't work. The problem appears in all projects
-
Taufik Nur Rahmanda about 7 yearsI have this problem too. Restarted my apache do the work, but this solution is temporary until that "mysterious" fatal error happen again.
-
Talk is Cheap Show me Code about 6 yearsReally Don't know why this appeared but restarting apache solved the prob.