How to clean cache files in phpcms: first find "/search/data/news"; then delete the generated cache files; then clear the "phpcms_search" data table; finally update the searchid to 0 and update the URL. .
phpcms clear cache and rebuild index method
phpcms search cannot regenerate cache problem
The problem that has been tangled up has been solved.
The search cache cannot be generated in different environments. My solution is:
Step 1: Delete the generated cache file
Path:/search/data/news
Tip: If there are many folders under /search/data/, delete them all.
Step 2: Clear the phpcms_search data table
Execute the SQL statement: truncate phpcms_search;
Step 3: Update searchid to 0
Execute the SQL statement :update phpcms_content set searchid='0';
Last step: Update URL
Backend content management=》Generate HTML=》Update URL
Recommendation:《 phpcms tutorial》
The above is the detailed content of How to clear cache files in phpcms. 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

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

SublimeText3 Chinese version
Chinese version, very easy to use

SAP NetWeaver Server Adapter for Eclipse
Integrate Eclipse with SAP NetWeaver application server.

Dreamweaver Mac version
Visual web development tools

Safe Exam Browser
Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

MinGW - Minimalist GNU for Windows
This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.