Dedecms use Fatal error encountered during the solution

Source: Internet
Author: User
Tags aliyun cms cms system dedecms error find hosting html

Intermediary trading http://www.aliyun.com/zixun/aggregation/6858.html"> SEO diagnostic Taobao customer hosting technology hall

Today, I was busy tonight to be a military news type station, because the use of foreign space to do, so need to find a cms php system to engage in.
Selected 4 hours, or selected dede, used once in 2007, then like supersite put down, it now appears in phpcms or dede update the fastest, huh, huh. By the way, we promote new station: [http://jiaoyou.jiefangjun.org/]. Please see the text below.
Nonsense not to say, directly under the encountered problems encountered in the process and solutions, this is just a log.
Dede5.1utf8 downloaded from the official website after a local installation and testing,
All in front of the smooth, click on the template management tips:

Fatal error: Call to a member function read () on a non-object in D: \ gmAMP \ www \ xl_user \ dede \ templets \ file_manage_main.htm on line 29

Can not replace the template, this is broken, after finding information and groping problem solving.

The method is to find the root directory dede / index_top.php,

Put the code in line 96:

<li id ​​= 'd10'> <a href="javascript:OpenMenu(10,'','file_manage_main.php?activepath=/templets',10)"> gt; <br /> </ li>

Changed to:

<li id ​​= 'd10'> <a href="javascript:OpenMenu(10,'','file_manage_main.php?activepath=&lt;?=$cfg_templets_dir;?> ', 10) "> Template Management </ a > </ li>

Open with a text editor and find the code in line 96:

problem solved!

Related Article

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.