dedecms5.7 What should I do if the ask module gets a 404 error?
dedecms5.7 The solution to the 404 error in question management and answer management of the ask module
Recommended learning: 梦Weavercms
After dedecms was placed in the Wanwang space, I found that the question management and answer management of the background ask module had 404 errors, but it was fine locally. I checked the source files, and there were quite a few. Later I thought that the current virtual host is a Linux system. It may be because the file is case-sensitive.
After a while, it’s really like this, evil dedecms, can’t you be more serious?
Make the following modifications and it will run correctly:
1. Problem management page:
The code is as follows: Change the lurd of
askcontroladminissue.php 的 $this->lurd = new lurd(<a href="mailto:'dede_ask'">'dede_ask'</a>, $this->temp, $this->temp.'/lurd');
to Lurd that is
The code is as follows:
$this->lurd = new Lurd(<a href="mailto:'dede_ask'">'dede_ask'</a>, $this->temp, $this->temp.'/lurd');;
2. Answer management page: Similarly
The code is as follows:
askcontroladminanswer.php 的 $this->lurd = new lurd(<a href="mailto:'dede_ask'">'dede_ask'</a>, $this->temp, $this->temp.'/lurd');
’s lurd is changed to Lurd, which is the
code As follows:
$this->lurd = new lurd(<a href="mailto:'dede_ask'">'dede_ask'</a>, $this->temp, $this->temp.'/lurd');。
The above is the detailed content of What should I do if 404 appears in dedecms5.7 ask module?. For more information, please follow other related articles on the PHP Chinese website!