Home  >  Article  >  CMS Tutorial  >  What should I do if 404 appears in dedecms5.7 ask module?

What should I do if 404 appears in dedecms5.7 ask module?

藏色散人
藏色散人Original
2019-12-10 10:31:222321browse

What should I do if 404 appears in dedecms5.7 ask module?

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:&#39;dede_ask&#39;">&#39;dede_ask&#39;</a>, $this->temp, $this->temp.&#39;/lurd&#39;);

to Lurd that is

The code is as follows:

$this->lurd = new Lurd(<a href="mailto:&#39;dede_ask&#39;">&#39;dede_ask&#39;</a>, $this->temp, $this->temp.&#39;/lurd&#39;);;

2. Answer management page: Similarly

The code is as follows:

askcontroladminanswer.php 的 $this->lurd = new lurd(<a href="mailto:&#39;dede_ask&#39;">&#39;dede_ask&#39;</a>, $this->temp, $this->temp.&#39;/lurd&#39;);

’s lurd is changed to Lurd, which is the

code As follows:

$this->lurd = new lurd(<a href="mailto:&#39;dede_ask&#39;">&#39;dede_ask&#39;</a>, $this->temp, $this->temp.&#39;/lurd&#39;);。

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:How dede sorts by IDNext article:How dede sorts by ID