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!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

WebStorm Mac version
Useful JavaScript development tools

mPDF
mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

EditPlus Chinese cracked version
Small size, syntax highlighting, does not support code prompt function

DVWA
Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software

SublimeText3 English version
Recommended: Win version, supports code prompts!
