Home  >  Article  >  CMS Tutorial  >  How to clear cache files in phpcms

How to clear cache files in phpcms

藏色散人
藏色散人Original
2020-07-14 10:44:153797browse

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. .

How to clear cache files in phpcms

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!

Statement:
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