无法加载请求的类:会话 [英] Unable to load the requested class: session
本文介绍了无法加载请求的类:会话的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我的配置文件看起来像这样 - >
my config file looks like this->
$config['sess_cookie_name'] = 'ci_session';
$config['sess_expiration'] = 7200;
$config['sess_expire_on_close'] = TRUE;
$config['sess_encrypt_cookie'] = FALSE;
$config['sess_use_database'] = FALSE;
$config['sess_table_name'] = 'ci_sessions';
$config['sess_match_ip'] = FALSE;
$config['sess_match_useragent'] = TRUE;
$config['sess_time_to_update'] = 300;
自动载入 - >
$autoload['libraries'] = array('database','session','uri');
我收到错误:
Unable to load the requested class: session
请告诉我实际的问题是。我搜索了所有以前的问题,关于这一点,但不能解决这个问题。提前感谢。
Please tell me what the actual problem is. I have searched all the previous questions concerned about this but was not able to fix the problem yet. Thanks in advance .
推荐答案
设置您的config.php文件
Set your config.php file
$config['encryption_key'] = 'xyz'
这篇关于无法加载请求的类:会话的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文