Home > CMS Tutorial > DEDECMS > body text

How to deal with the cache in the Dreamweaver column that causes the number of newly published articles and pagination to be out of sync?

藏色散人
Release: 2019-12-13 09:34:57
Original
1915 people have browsed it

How to deal with the cache in the Dreamweaver column that causes the number of newly published articles and pagination to be out of sync?

How to deal with the cache in the Dreamweaver column that causes the number of newly published articles and paging to be out of sync?

Just now Building a website requires filling in a lot of data. I found that the newly added data was not synchronized to the column article pagination in real time.

Recommended study:梦Weavercms

As shown in the picture:

How to deal with the cache in the Dreamweaver column that causes the number of newly published articles and pagination to be out of sync?

Picture 2:

How to deal with the cache in the Dreamweaver column that causes the number of newly published articles and pagination to be out of sync?

The pagination is not correct. After checking, it will take 1 hour to automatically process due to caching issues. It can be restored to normal, or you can manually clear all the files in the data cache using ftp. If you don’t want to clean it manually every time, you can change the file so that it does not need to be cached.

Use an editing tool to open /dede/ content_list.php Find about 104 lines, change

if (empty($arr))
Copy after login

to

if (true || empty($arr))
Copy after login

and save it. .

The above is the detailed content of How to deal with the cache in the Dreamweaver column that causes the number of newly published articles and pagination to be out of sync?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!