Home > Article > CMS Tutorial > How to clear cache files in phpcms
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!