售前咨询 售后咨询
当前位置: 上海网站设计 > 建站知识 > 行业新闻

DedeCMS Error: (PHP 5.3 and above) Please set request_order

网站编辑:小润 | 发表时间:2019-01-17 22:43:40

     【润壤科技-专注网站建设029-88661315】
   位于include/common.inc.php文件的第32行到第36行。代码是这样的:
if(version_compare(PHP_VERSION, ‘5.3.0’, ‘>’))
{
if(strtoupper(ini_get(‘request_order’)) == ‘GP’)
 
exit(‘DedeCMS Error: (PHP 5.3 and above) Please set \’request_order\’ ini value to include C,G and P (recommended: \’CGP\’) in php.ini,
小编把这段代码进行了修改:


if(version_compare(PHP_VERSION, ‘5.3.0’, ‘>’))
{
if(strtoupper(ini_get(‘request_order’)) == ‘CGP’)    
 
exit(‘DedeCMS Error: (PHP 5.3 and above) Please set \’request_order\’ ini value to include C,G and P (recommended: \’CGP\’) in php.ini,


不知道看出来了吗?GP改成CGP即可。问题解决!

关键字:
官方微信
上海市长宁区宣化路300号华宁国际广场中区7层
+021-8031 0607
+135 8590 1130