What should I do if phpcms v9 cannot generate static pages?
Question:
Suddenly discovered that my local svn's phpcms v9 cannot generate static pages. For example, the English directory of the first-level column "Consultation" is named zi_xun, which is divided into 3 below Sub-columns: News 1, News 2, News 3. . . . The access always reports 404
. Go to the html directory and see that the first-level column does not generate a static homepage index.html at all, and then starts to mess around: update cache, batch update column pages, batch update URL, batch update content Page. . . . Go to the HTML page and see if there is still nothing there. Then check the template to see if there is any conflict between js and pc tags. . . All useless! ! So damn weird!
Solution:
Go to HTML and delete everything in the zi_xun directory, update the cache again, and update the column pages in batches. . . . Yes, I am really speechless.
It was found through experiments that you must click "Batch Update Column Page" on the left menu, and the first-level column will generate a directory and index.html with the same name in the html directory! !
PHP Chinese website, a large number of free PHPCMS tutorials, welcome to learn online!
The above is the detailed content of What should I do if phpcms v9 cannot generate static pages?. For more information, please follow other related articles on the PHP Chinese website!