First of all, I appear this problem, not the template really does not exist, I believe many friends will be very depressed, make a little
There's no confidence.
Let me take a look at how to solve this problem.
In simple terms,
The template file does not exist and the document cannot be parsed
This problem may be due to the system installed in the level two directory,
There was an error in the write level two directory and the template could not be found.
The workaround is: to system settings-core settings-
Dedecms
installation directory
Set the correct path, if it is the root directory
installation, you do not need to fill in any content. Root installation remember to leave empty.
Then, the more useful way is to update the system cache, a mess of the full update, the general problem of all-round
Availability
If not, then your problem is the same as me, and then look down. I also searched a lot of posts later, have not resolved
Problem, here is the workaround.
My question is rather strange, I don't know what your situation is. My solution is, where there is an error,
Where to find the wrong.
I have this error when I update the document, you guys, I'm going straight to
Include
Search in the folder
“
Template file does not exist
In, the document cannot be parsed
”
This string of characters. Got it
arc.archives.class.php
This file.
I looked at this class and changed the code for the error.
Copy Code
echo "
The template file does not exist and the document cannot be parsed!
";
Modify to copy Code
echo "
The template file does not exist and the document cannot be parsed!
". $this->arcid;
This can return the wrong article
Id
So I got a couple of articles when I built it.
Id.
Open this article editor and discover
This article actually did not set the classification.
Quite a strange mistake. Set up the document column after the problem solved!
Similarly, if this is the case when generating a column list, you can modify
include/arc.listview.class.php
This one
File.
Copy Code
echo "
The template file does not exist and the document cannot be parsed!
";
Modified to:
echo "
The template file does not exist and the document cannot be parsed!
:
$tempfile ";
Weave Dream CMS template file does not exist, cannot parse document