DedeCMS updates the article, and the topic reports an error: DedeTagEngineCreateFileFalse

Source: Internet
Author: User
Colleagues report that documents and Columns cannot be updated on an operating site. When I checked the website, I found that DedeCMS reported the error DedeTagEngineCreateFileFalse. From the perspective of DedeTagEngineCreateFileFalse, I believe everyone knows the permission !? This issue is also described in detail on the Internet, and a new copy of the memo is sent. 1. Modify

Colleagues report that documents and Columns cannot be updated on an operating site. When I checked the website, I found that DedeCMS reported the error DedeTag Engine Create File False. From the perspective of DedeTag Engine Create File False, I believe everyone knows the permission! ? This issue is also described in detail on the Internet, and a new copy of the memo is sent. 1. Modify

Colleagues report that documents and Columns cannot be updated on an operating site. When I checked the website, I found that DedeCMS reported the error DedeTag Engine Create File False. From the perspective of DedeTag Engine Create File False, I believe everyone knows the permission! ? This issue is also described in detail on the Internet, and a new copy of the memo is sent.

1. Modify the DEDECMS program code and let the program tell us the specific error information (identify whether the folder permission is incorrect)

Modify the include/dedetag. class. php File and search for "DedeTag Engine Create File False". The following code is found and changed to the second one.

$fp = @fopen($filename,”w”) or die(”DedeTag Engine Create File False”);

$ Fp = @ fopen ($ filename, "w") or die ("DedeTag Engine Create File False: $ filename ");
Note: The second part of the code is used to tell the file to be created when the file is created. For example, if I modified the file, the following message is displayed: dedeTag Engine Create File False:/news/list-1-1.html, then I know that the original File under the news directory cannot be generated.

2. Change the directory permission to "777"

The method is to set the moved folder and the files in it to the 777 attribute. The specific operation is: Check the folder, set the attribute position at the bottom to 777, and select recursion. Modify the 777 attribute. Note: It can be modified through FTP.

Through these two steps, I successfully generated all the topic files of the website and solved the problem of "DedeTag Engine Create File False.
3. Another possibility is whether the naming rule for the topic attribute list is the default {typedir}/listpolictid?#page=.html, after you know {typedir}/, you cannot have "/" or deepen the structure hierarchy by yourself. If you do not modify the File manually, The DedeTag Engine Create File False caused by the list naming rules will not appear,

Original article address: DedeCMS updates, column error: DedeTag Engine Create File False, thanks to the original author for sharing.

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.