The added topic indicates that the template does not exist.
All DEDE columns use templates in the ". HTM" format, but some columns seem to be usable.
(1) templates in the. HTML format can be used for "cover pages" and "list pages;
(2) The ". HTML" format cannot be used for the "document page". You need to use ". HTM" or other formats (other formats have not been tested yet ).
Seriously think about the following:
1. The template file must exist;
2. The path is correct;
3. Other "list pages" can generate HTML files normally;
4. Use the default topic page. Later, I found the defaultBoth are .htm. I am .html.Rename. Submit the modification again. Successful. The topic cannot be generated, prompting me to try it. Please check this carefully.
When you update the document html, 'Template file does not exist and the document cannot be parsed 'appears'
If the 'Template file does not exist and the file cannot be parsed 'prompt appears when you update the html of the document, find the arc under the root directory include. archives. class. php file. The echo "template file does not exist and the file cannot be parsed! "; Changed to echo" the template file does not exist and cannot be parsed! ". $ This-> ArcID; this change means that you can see the ID number of the problematic document when prompted, and then find the corresponding document to see if it does not specify the template category, just change it.
If the 'Template file does not exist and the document cannot be parsed 'prompt appears in the html update column, find the arc under the root directory include. listview. class. php file. The echo "template file does not exist and the file cannot be parsed! "; Changed to echo" the template file does not exist and cannot be parsed! ". $ This-> TypeID; this change means that you can see the ID number of the problematic topic when prompted and modify it accordingly.
The topic I encountered was a message board. After passing through baidu, I found the answer provided by a friendly person on the dede Forum:
Solution 1: delete/dede/makehtml_list_action.php row 101: $ lv-> CountRecord (); (I didn't use this)
Method 2: delete the message book in the topic management. Do not delete plus/guestbook. php! (I didn't use this either)
Method 3: modify the online messages in the column and enter the template file by default! (I used this to choose index_default.htm?# list_default.htm and article_default.htm from the topic management> online message class .)
If the above methods are all tried, we need to think about whether it is a file directory permission problem, which may cause the template not to read or write.