好得很程序员自学网

<tfoot draggable='sEl'></tfoot>

织梦CMS提示 Error:Tag disabled:"php" more...解决技巧

织梦CMS提示 Error:Tag disabled:"php" more...解决技巧

dedecms中模板中使用了dede:php标签了,只要有这个页面的执行时都会提示Error:Tag disabled:"php" more...错误了,导致这个问题是我们设置中不允许php标签执行了,下面来看看解决办法.

出现DedeCMS Error:Tag disabled:"php" more...!只要简单在后台网站后台--系统--系统基本参数---其他选项 ---模板引擎禁用标签 把里面的php 去掉就行了就可以了.

当然我们还可以使用sql直接操作了,代码如下:

INSERT INTO `dede_sysconfig` (`varname`, `info`, `groupid`, `type`, `value`) VALUES( 'cfg_disable_funs' ,  '模板引擎禁用PHP函数' , 7,  'bstring' , 'phpinfo, eval , exec , passthru ,shell_exec,system,proc_open,    popen,curl_exec,curl_multi_exec, parse_ini_file ,show_source, file_put_contents ');   //phpfensi.com   INSERT INTO `dede_sysconfig` (`varname`, `info`, `groupid`, `type`, `value`) VALUES ( 'cfg_disable_tags' ,  '模板引擎禁用标签' , 7,  'bstring' ,  'php' ); 

这样执行之后就可以了,非常的简单.

查看更多关于织梦CMS提示 Error:Tag disabled:"php" more...解决技巧的详细内容...

  阅读:49次