Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to solve the problem of Weaving Dream dedecms5.7 generating Home Tip 404 error

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Editor to share with you how to solve the problem of Weaving Dream dedecms5.7 generated home page hint 404 error, I hope you will learn a lot after reading this article, let's discuss it together!

Dream dedecms5.7 generated home page prompt 404 error how to do?

Today, when the dedecms background generates the home page html file, it prompts the 404.html error. Directly visiting the home page of the website will automatically jump to 404.html. At the same time, the error that does not exist in the file is prompted. It turns out that it is the problem of dedecms.

In the use of dedecms5.7 dream weaving station system, a major bug was found.

A problem condition occurs:

When the background generates the home page html file, it prompts the 404.html error, and directly visiting the home page of the website will automatically jump to 404.html and prompt the error that the file does not exist.

Solution:

Modified file path: / www/dede/include/taglib/flinktype.lib.php

Find this code:

$dedecms = false; $dedecms- > id = 999; $dedecms- > typename = 'dream chain'; if ($type = = 'dedecms') $row [] = $dedecms

Change the red part and change it to any character.

For example: if ($type = = 'jb51net') $row [] = $dedecms

The overall situation is as follows:

The code is as follows

$dedecms = false;$dedecms- > id = 999Trachededecms-> typename = 'dream chain'; if ($type = = 'jb51net') $row [] = $dedecms

Saving can solve the problem, and someone later posted a transcript of a chat on the official forum, which is said to have been caused by the so-called "dream chain" advertisement code added to the newly released program.

After reading this article, I believe you have a certain understanding of how to solve the problem of error on the home page of Weaving Dream dedecms5.7. If you want to know more about it, welcome to follow the industry information channel. Thank you for your reading!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report