本文介绍了会话:找不到配置的驱动程序“文件".堕胎的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
作为CodeIgniter的初学者,他试图制作登录应用程序.完成某些会话的工作后,它无法加载之前已加载的登录页面.
Being beginner in CodeIgniter, was trying to make login application. After doing some session's work,it's unable to load the login page which was getting loaded earlier.
错误是:
类型:UnexpectedValueException
Type: UnexpectedValueException
消息:会话:找不到配置的驱动程序文件".正在中止.
Message: Session: Configured driver 'files' was not found. Aborting.
文件名: C:\ wamp64 \ www \ CodeIgniter-3.0.1 \ system \ libraries \ Session \ Session.php
Filename: C:\wamp64\www\CodeIgniter-3.0.1\system\libraries\Session\Session.php
推荐答案
autoload.php中的以下错误
Following is wrong in your autoload.php
$autoload['drivers'] = array('files');
将此更改为
$autoload['drivers'] = array('session');
现在检查
这篇关于会话:找不到配置的驱动程序“文件".堕胎的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!