dedecms 5.7 网站搬家后产生的问题记录

1.已经安装好了dedecms了,访问index.php首页依然提示:
如果你确定要重新安装,请先从FTP中删除 install/install_lock.txt!

那你如果你改过data位置的话,马上去更改:

请在index.php中将

if(!file_exists(dirname(__FILE__).'http://www.8kmm.com/data/common.inc.php'))
{
    header('Location:install/index.php');

中的data改成你现在的data位置。  

如果打开所有php页面空白,就需要确认include下common.inc.php文件的字符编码了,我碰到的情况直接用notepad++转成UTF-8 BOM编码就好了。

如果PHP版本太新,dedecms版本升级根不上,建议还是降php的版本,以示和谐。

清风明月本无价,近水远山皆有情。
原文地址:https://www.cnblogs.com/onlylove2015/p/4393611.html