开发者

Extplorer File Manager Not Working

开发者 https://www.devze.com 2023-01-24 21:09 出处:网络
On my localhost, I have extfilemanager its a file manager that combines php, js and ajax to make a file manager, I have it working well locally (using xampp PHP Version 5.3.1) but I have moved it to a

On my localhost, I have extfilemanager its a file manager that combines php, js and ajax to make a file manager, I have it working well locally (using xampp PHP Version 5.3.1) but I have moved it to a windows-shared hosting godaddy server and all of a sudden it doesn't work.

The server is running PHP Version 5.2.14, which is different from the XAMPP PHP installation but that shouldn't affect it right?

I get this error:

Uncaught Unable to load Ext, core YUI utilities (yahoo, dom, event) not found.

I've moved exactly the same directory over using Coda first, and then deleted it and tried FileZilla just to make sure the files were getting sent over properly. I've noticed that it us开发者_StackOverflow中文版es a script called FetchScript.php to include the files that it needs.

I've had issues with "including" files using PHP on windows servers before and also "file_get_contents," this had something to do with the server not allowing absolute URLs to be included.

Has anybody come across this issue before? Thanks!

UPDATE: I went to the line which this error is thrown and it looks like this:

if(typeof YAHOO=="undefined"){throw"Unable to load Ext, core YUI utilities (yahoo, dom, event) not found.";


I added in the yahoo-min.js and the error went away, I guess the way fetch-script.php worked didn't get along well with a windows-godaddy server, I added this into the index.php of the file manager:

<script src="http://yui.yahooapis.com/2.8.2r1/build/yahoo/yahoo-min.js"></script>
0

精彩评论

暂无评论...
验证码 换一张
取 消