首页 > CMS > 织梦DEDE > 正文

.dedecms5.7 后台 ask 模块管理 404 错误解决方法

2024-07-12 08:43:04
字体:
来源:转载
供稿:网友

dedecms放到万网空间后发现后台的 ask 模块的问题管理和答案管理出现404错误,但是在本地是好的,我查了一下源文件,一个不少,后来想到现在的虚拟主机是 linux 系统,可能是文件区分大小写所致.

度娘了一下,果真如此,万恶的 dedecms,你就不能正经一点吗?做如下修改,运行正确.

1、问题管理页面,代码如下:

askcontroladminissue.php 的 $this->lurd = new lurd('#@__ask', $this->temp, $this->temp.'/lurd'); 的 lurd 改为 Lurd即.

代码如下:

$this->lurd = new Lurd('#@__ask', $this->temp, $this->temp.'/lurd');;

2、答案管理页面,同理,代码如下:

askcontroladminanswer.php 的 $this->lurd = new lurd('#@__ask', $this->temp, $this->temp.'/lurd'); 的 lurd 改为 Lurd 即

代码如下:

$this->lurd = new lurd('#@__ask', $this->temp, $this->temp.'/lurd');。

发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表