File Manager error in Zhimeng 5.7: file_manage_main.htm on line 24
Error message:
Fatal error: Call to a member function read () on a non-object in ......templetsfile_manage_main.htm on line 24
What is the answer from the Zhimeng official help center?
A: One possibility is that the SQL statement sent is too long and exceeds the size of max_allowed_packet. For this reason, you only need to modify my. cnf and increase the value of max_allowed_packet.
A: We recommend that you:
1. (website path) check whether there are any Chinese characters and spaces, which will affect both;
2. Check whether the directory is restricted by php. ini or php_admin_value.
3. Determine whether the dir function is supported.
4. dede cannot be installed in virtual directories.
However, this method may not work here. I have experienced it myself, if this problem occurs, you only need to delete the content in the DedeCMS installation directory in the background-> System-> Basic System Settings-> core settings. If you install the content in the root directory
But I still cannot solve this problem. Then gg
There is no problem with viewing the website subdirectories. This problem occurs only when it is returned to the root directory of the website,This is probably because of permission issues.Solution.
Solution:
You can solve the problem by giving the directory browsing permission to the upper-level Directory of the root directory folder of the site.
For example, if all your site folders are under webroot, you can grant the webroot directory browsing permission.
Okay. If none of the above solutions can solve your problem, try.
Manual solution :,Find index_top.php in the management directory and find96 rowsFind the following code:
The code is as follows: |
Copy code |
<Li id = 'd10'> <a href = "javascript: OpenMenu (10,'', 'File _ manage_main.php? Activepath =/templets ', 10) "> Template management </a> </li> Changed: <Li id = 'd10'> <a href = "javascript: OpenMenu (10,'', 'File _ manage_main.php? Activepath = <? Echo $ cmd_cmspath?> /Templets ', 10) "> Template management </a> </li> |