This article is a mirror article of machine translation, please click here to jump to the original article.

View: 11793|Reply: 0

[Mutual Assistance] DEDECMS Background: Fatal error: Call to a member function read()

[Copy link]
Posted on 5/11/2015 4:02:50 PM | | |

Solution for using DEDECMS backend template management error V5.1sp1

I accidentally found that dede's background template management could not be used, and I checked the information online for a long time, but I didn't find any solution.
After my careful search, I found that it was actually a very simple problem, and the reason for the problem was that it was not installed in the root directory of the site

If you also have the following situations:

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

Manual solution: Find the index_top.php in the management directory, find the following code on line 96:

<li id='d10'><a href="javascrip remove t:OpenMenu(10,'','file_manage_main.php?activepath=/templets',10)" > template management</a></li>

Changed to:

<li id='d10'><a href="javascrip remove t:OpenMenu(10,'','file_manage_main.php?activepath=<? echo $cfg_cmspath?>/templets',10)" > template management</a></li>

Of course, you can also write the actual address directly at the mark.

Hehe, refresh the page, problem solved!


Regarding the solution to the error management using DEDECMS background template management version V5.1sp1, I didn't know about it before, I didn't use it




Previous:Social Engineering Dictionary Generator
Next:Open the website page and the Authorization Required solution appears
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com