cmsphp 发表于 2011-2-9 13:10:05

在线等---1.7.3 怎么升级到2.0 ? 报错

本帖最后由 cmsphp 于 2011-2-11 21:49 编辑

1.7.3 怎么升级到2.0直接把写的application覆盖新的就可以了吗?

An Error Was Encountered
In order to use the Session class you are required to set an encryption key in your config file.

Hex 发表于 2011-2-9 13:54:32

http://codeigniter.org.cn/user_guide/installation/upgrade_200.html

zix 发表于 2011-2-9 15:42:30

要把MY_Controller.php和MY_Model.php等自己对CI写的扩展放到 application\core 下

bluelomo 发表于 2011-2-10 10:41:13

http://www.leadnt.com/PHP/CodeigniterCong1-7-2ShengJiDao2-0-0ShengJiShuoMing.html

cmsphp 发表于 2011-2-11 21:48:34

看了以后没有一个和我的报错相关的

An Error Was Encountered
In order to use the Session class you are required to set an encryption key in your config file.

jeongee 发表于 2011-2-11 22:12:06

回复 5# cmsphp


   application/config/config.php里的$config['encryption_key'] = '';这行,给这个变量个值就可以了,比如$config['encryption_key'] = 'xxx';

as3291363 发表于 2011-2-12 10:58:15

這個是session要加key...32位.在config.php中.

朱丹丹 发表于 2013-11-20 10:03:39

楼上方法很管用,多谢
页: [1]
查看完整版本: 在线等---1.7.3 怎么升级到2.0 ? 报错