Weave Dream CMS template file does not exist, cannot parse document

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.