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 |