Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Infinite loading state #493

Open
Nicryc opened this issue May 24, 2016 · 22 comments
Open

Infinite loading state #493

Nicryc opened this issue May 24, 2016 · 22 comments

Comments

@Nicryc
Copy link

Nicryc commented May 24, 2016

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.

@simogeo
Copy link
Owner

simogeo commented May 24, 2016

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 ?

@Nicryc
Copy link
Author

Nicryc commented May 24, 2016

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).

@simogeo
Copy link
Owner

simogeo commented May 24, 2016

What's happening if you just keep default js configuration ?

@Nicryc
Copy link
Author

Nicryc commented May 24, 2016

It does the same thing, infinite load.

@Nicryc
Copy link
Author

Nicryc commented May 26, 2016

Help me please.

@psolom
Copy link
Collaborator

psolom commented May 26, 2016

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.

@Nicryc
Copy link
Author

Nicryc commented May 26, 2016

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 …

@johngoh
Copy link

johngoh commented May 26, 2016

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/

@Anhellian
Copy link

Anhellian commented Jun 28, 2016

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\

@simogeo
Copy link
Owner

simogeo commented Jun 28, 2016

any online url to provide ?

@Anhellian
Copy link

not possible, it´s in internal system :-(

@simogeo
Copy link
Owner

simogeo commented Jun 28, 2016

and what's browser developer panel is saying ?

@Anhellian
Copy link

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 ??

@simogeo
Copy link
Owner

simogeo commented Jun 28, 2016

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

@urnenfeld
Copy link

urnenfeld commented Jul 17, 2016

I have the same problem. The error I see, happens in two places.
getJSON returns null as data parameter.

getjson

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.

@commanderinchief
Copy link

commanderinchief commented Sep 21, 2016

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
error

@kyme32
Copy link

kyme32 commented Feb 4, 2017

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

@psolom
Copy link
Collaborator

psolom commented Feb 4, 2017

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.

@natedigzz
Copy link

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)

@simogeo
Copy link
Owner

simogeo commented Nov 5, 2017

you may try to debug that using browser's web developer tool

@natedigzz
Copy link

there are no errors in the developer window.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

9 participants