dedecms 安裝時遇到的問題

dedecms 5.7 sp1 安裝使用的問題


1.DedeCMS Error: (PHP 5.3 and above) Please set 'request_order' ini value to include C,G and P (recommended: 'CGP') in php.ini,more...

解決方案:

打開include/common.inc.php 文件,查找

if(strtoupper(ini_get('request_order')) == 'GP')

修改爲

if(strtoupper(ini_get('request_order')) == 'CGP')



2.您的管理目錄的名稱中包含默認名稱dede,建議在FTP裏把它修改爲其它名稱,那樣會更安全!

解決方案:

修改一個網站根目錄的dede目錄名稱



3.安裝後首頁上邊出現:DedeCMS Error:Tag disabled:"php" more...!

解決方案:

進入後臺admin/

系統/系統基本參數/其它選項 設置

模板引擎禁用標籤:設置爲空



4.安裝完成後,進入空白效果

解決方案:

打開include/userlogin.class.php 文件,把所有 @session_register 開頭的行刪除或註釋


5.打開前臺首頁提示

G:\abc\include\http:\www.abc.com\templets\default\index.htm Not Found!


打開data/config.cache.inc.php 文件,

找到

$cfg_cmspath = '/http:/www.abc.com';

$cfg_cookie_encode = 'PlAWv3058L';

$cfg_indexurl = '/http:/www.abc.com';


改成


$cfg_cmspath = '';

$cfg_cookie_encode = 'PlAWv3058L';

$cfg_indexurl = '';

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章