Codeigniter 类CI_会话_文件_驱动程序包含1个抽象方法,因此必须声明为抽象或实现其余方法
我对CodeIgniter有一些问题,这个错误来自系统文件,我不知道如何修复它Codeigniter 类CI_会话_文件_驱动程序包含1个抽象方法,因此必须声明为抽象或实现其余方法,codeigniter,codeigniter-3,Codeigniter,Codeigniter 3,我对CodeIgniter有一些问题,这个错误来自系统文件,我不知道如何修复它 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 E:\Xampp\htdocs\Yachi\syst
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 E:\Xampp\htdocs\Yachi\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:
我读了一些关于这方面的文章,但这无助于找到答案。谢谢。该漏洞似乎与windows+php7有关。不适用于CI 重新启动apache服务器可以是一个临时解决方案。但每次撞车时你都应该重复 我建议使用linux环境 或者将php版本降级为5.x,直到解决问题 我找到的相关链接:
该漏洞似乎与windows+php7有关。不适用于CI 重新启动apache服务器可以是一个临时解决方案。但每次撞车时你都应该重复 我建议使用linux环境 或者将php版本降级为5.x,直到解决问题 我找到的相关链接:
尝试使用会话驱动程序作为数据库检查以下链接抱歉,它不起作用。会话的实际设置是什么。你能发布你的会话配置数据吗。您运行的是什么版本的CI和什么版本的PHP。很抱歉,由于延迟,我刚刚用文件设置了session_驱动程序,我使用CodeIgniter 3.1.5和PHP7.1.4。如果我将会话驱动程序更改为数据库,则会出现更多错误。请尝试使用会话驱动程序作为数据库检查以下链接抱歉,它不起作用。会话的实际设置是什么。你能发布你的会话配置数据吗。您运行的是什么版本的CI和什么版本的PHP。很抱歉,由于延迟,我刚刚用文件设置了session_驱动程序,我使用CodeIgniter 3.1.5和PHP7.1.4。如果我将会话驱动程序更改为数据库,则会出现更多错误。