Filemanager
Filemanager copied to clipboard
Infinite loading state
Hi,
I've just installed the file manager and I don't understand, I have an infinite loading state. However I have set the filemanager.config.json file with "serverRoot": true, "fileRoot": "monApp/depot/",
Only this : http://imgur.com/llKbjGc
Thank you for your help.
I guess you use PHP connector. Enable log and copy-paste results here. See https://github.com/simogeo/Filemanager/wiki/Enable-log-debug-in-PHP-connector for instructions.
What's happening if you just keep default js configuration ?
If I keep default js configuration file it's the same thing. Maybe I should tell that I work with WampServer. I don't know how to enable log, I changed logger option to true but I have nothing in C:\wamp64\tmp (I supposed it was there).
What's happening if you just keep default js configuration ?
It does the same thing, infinite load.
Help me please.
Put filemanager into your webroot folder and try again. If you will get the same result, you should consider your environment as a cause of the problem. In any case check the console of your browser and log file for errors.
I don't have log files and the only things that is displayed in my console is : Total execution time : 4 ms and synchronous XMLHttpRequest is obsolete blabla …
To find logfile, see :
- http://www.askvg.com/where-does-windows-store-temporary-files-and-how-to-change-temp-folder-location/
- http://answers.microsoft.com/en-us/windows/forum/windows_7-windows_programs/where-is-the-temporary-folder/44a039a5-45ba-48dd-84db-fd700e54fd56?auth=1
All I see is the spinning logo (wait30trans.gif) and I'm having similar issues here, running on PHP 5.6.17, lighttpd/1.4.36 (ssl), OpenWRT. Here's my log,
[27/05/2016 04:42:16]#X.X.101.200#Filemanager::enableLog - Log enabled (in /var/log/lighttpd/fileman file)
[27/05/2016 04:42:16]#X.X.101.200#Filemanager::__construct $this->root value /srv/wwwxx/fileman/
[27/05/2016 04:42:16]#X.X.101.200#Filemanager::__construct $this->path_to_files /srv/wwwxx/tmp/
[27/05/2016 04:42:16]#X.X.101.200#Filemanager::__construct $this->doc_root value /srv/wwwxx/tmp/
[27/05/2016 04:42:16]#X.X.101.200#Filemanager::__construct $this->separator value tmp
[27/05/2016 04:42:16]#X.X.101.200#substr path : /srv/www-priv/tmp/
[27/05/2016 04:42:16]#X.X.101.200#real path : /srv/www-priv/tmp/
I have the same problem. The folder exist but it will nothing load. :-(
[28/06/2016 11:33:40]#127.0.0.1#Filemanager::enableLog - Log enabled (in C:/filemanager_log.txt file)
[28/06/2016 11:33:40]#127.0.0.1#Filemanager::__construct $this->root value C:\wamp2\www\sportisimo.czz\admin\controller\javascript\minified\Filemanager-master
[28/06/2016 11:33:40]#127.0.0.1#Filemanager::__construct $this->path_to_files C:/wamp2/www/sportisimo.czz/pub/
[28/06/2016 11:33:40]#127.0.0.1#Filemanager::__construct $this->doc_root value C:/wamp2/www/
[28/06/2016 11:33:40]#127.0.0.1#Filemanager::__construct $this->separator value pub
[28/06/2016 11:33:40]#127.0.0.1#substr path : C:\wamp2\www\sportisimo.czz\pub
[28/06/2016 11:33:40]#127.0.0.1#real path : C:\wamp2\www\sportisimo.czz\pub\
any online url to provide ?
not possible, it´s in internal system :-(
and what's browser developer panel is saying ?
after clearing cache and redis it´s fixed , now i have to set a file folder, i am using wamp and i have alias for website, and in a log file i have
[28/06/2016 12:37:44]#127.0.0.1#Filemanager::__construct $this->root value D:\work\www\sportisimo-utf8\admin\controller\javascript\minified\Filemanager-master\
[28/06/2016 12:37:44]#127.0.0.1#Filemanager::__construct $this->path_to_files C:/wamp2/www//
[28/06/2016 12:37:44]#127.0.0.1#Filemanager::__construct $this->doc_root value C:/wamp2/www/
Can i set a route to the samo folder as a root ??
Not sure it will work with aliases.... or maybe by adding some rewrite rules in .htaccess file.
Try with setFileRoot() : https://github.com/simogeo/Filemanager/wiki/How-to-allow-users-to-have-their-own-folder
or maybe try with the new version of FM : https://github.com/servocoder/RichFilemanager
I have the same problem. The error I see, happens in two places. getJSON returns null as data parameter.
I tried to recreate the URL and found out my server is not actually serving properly php pages. I'll suggest to check if you have the same type of error in the JS console of your browser.
I got an error with Internal server error 500 when I'm inspect. So I remove filemanager from my public folder and rerun "php artisan vendor:publish" . After that, I got an err with "Failed to load resource: the server responded with a status of 404 (Not Found)". Those error are causing only in my cpanel webhosting. But filemanager is still working in my localhost. I'm already try default.js file for filemanager, but still getting those annoying error. Please help me solve this problem.
Best Regard,
#YMN
it would be cool if it were an setting to define the root folder of the script to avoid errors i want to include your file manager to one of my webs and guess what? yeah...everything it's messed up due the fact that root folder it's not defined in settings and it takes the root of the file what include the script...sadly i have no patience to edit every file with new root to make it work anyway, it's really nice script, i love how it look, simple and it do his job. i'm hoping in future there will be an setting to define root path for script to avoid this problem
Why don't you just load filemanager via iframe? In this case there no matter what the root is and where the filemanager is located (if you mean script web root of course). Btw, take a look RichFilemanager. The current one is deprecated.
I have this issue as well, but only on my testing server.
When i run all of this locally it works perfectly. When we run the code on our production server it works (domain is https://kulaboard.net/) When i run it on my test server it fails (domain is https://kulaboard.info)
Our kulaboard.info url used to be the kulaboard.net server. So this code used to work on this server. It was when the domain name switched that I started getting infinite load screens.
I cannot get the logging to work either, so im flying blind. (i have the logging working locally, for some reason its not working on the serveR)
you may try to debug that using browser's web developer tool
there are no errors in the developer window.