用户
 找回密码
 入住 CI 中国社区
搜索
查看: 2731|回复: 4
收起左侧

[HELP] 为什么我的CI_SESSION用不了啊?

[复制链接]
发表于 2011-6-1 14:53:28 | 显示全部楼层 |阅读模式
初始配置,但是用不了,提示
An Error Was EncounteredIn order to use the Session class you are required to set an encryption key in your config file.


发表于 2011-6-1 15:12:23 | 显示全部楼层
老问题了,用论坛搜索一下
发表于 2011-6-3 13:02:58 | 显示全部楼层
发表于 2011-6-3 15:42:41 | 显示全部楼层
就是在config.php文件里的
$config['encryption_key'] = '';
不要为空就可以了!
 楼主| 发表于 2011-6-3 18:01:34 | 显示全部楼层
呵呵,谢谢了。

本版积分规则