File Picker not loading across mutiple servers

File Picker not loading across mutiple servers

by Alan Cherwinski -
Number of replies: 11

Moodle 2.9.3+ (Build: 20151209) LAMP


The File Picker will not display or load on a number of Moodle installs on a single server.  No changes and the functionality was working for course creator and learners a few months back. Nothing but spinning wheel. No Repository or Upload options are displayed.


Thanks

Average of ratings: -
In reply to Alan Cherwinski

Re: File Picker not loading across mutiple servers

by Alan Cherwinski -

All of the browse repository functionality is broken across the installations. No picker dialogue boxes open.

In reply to Alan Cherwinski

Re: File Picker not loading across mutiple servers

by Ken Task -
Picture of Particularly helpful Moodlers

In one of the sites not working, what are the settings for Ajax and Javascript?

Use online YUI off - not checked.

YUI Combo loading - on - checked

Cache javascript - on - checked

Might consider manually removing files ...

moodledata/cache/cachestore_file/default_application/core_yuimodules/

in just one site to see if that works.

'spirit of sharing', Ken

In reply to Ken Task

Re: File Picker not loading across mutiple servers

by Alan Cherwinski -

I have tried all combinations. The defaults had been set and I turned all off and on without any change - as well a purged all cache.

Use online YUI off - not checked.

YUI Combo loading - on - checked

Cache javascript - on - checked


Still the spinning wheel. I discovered that it is displaying correctly in IE (not Edge), while not Chrome or Firefox.

I removed the folder and files  moodledata/cache/cachestore_file/default_application/core_yuimodules/.  No change.

Thank you,




In reply to Alan Cherwinski

Re: File Picker not loading across mutiple servers

by Ken Task -
Picture of Particularly helpful Moodlers

You've mentioned the server had multiple instances ... is cron job running frequently enough for each instance?

Might have to get nasty/nasty and manually remove /moodledata/cache and moodledata/localcache.

Those will be rebuilt slowly as site is accessed used.

Additional thought ... is the server behind some sort of network filter?   Have you checked apache (assuming apache you've not said) error logs?

Are all sites the same version of Moodle?

'spirit of sharing', Ken

In reply to Ken Task

Re: File Picker not loading across mutiple servers

by Alan Cherwinski -

The sites are all the same version and not behind anything. Certainly nothing new in the last year. I use CloudFlare, but that won't cause this. The Browse Repositories button is also not working. It seems to be a whole family of code.   I found it works properly on the Mobile interface (Android) and IE. I will remove the cache you suggest. The sites are barely used.

Thank you. I very much appreciate your help.

In reply to Alan Cherwinski

Re: File Picker not loading across mutiple servers

by Ken Task -
Picture of Particularly helpful Moodlers

Uhhh .... you've two threads in these forums that are basically the same issue. ;)

CloudFlare ... is a cache ... in front of the moodles.  Request to one of your moodles (All) could be served from the CDN and never actually reach the moodle instance.

Please see: https://support.cloudflare.com/hc/en-us/articles/200172516-Which-file-extensions-does-Cloudflare-cache-for-static-content-

According to the link above, js files are cached at cloudflare and js files are involved in uploading of files ... I think.

Don't run cloudflare myself, but from what you've described (all are affected) the only thing in common with all sites is the fact that cloudflare is in front of them.

'spirit of sharing', Ken

In reply to Ken Task

Re: File Picker not loading across mutiple servers

by Alan Cherwinski -

Yes Ken, My apology for the two threads. I initially thought it an assignment module issues and got helpful responses there. I thought it rude not to continue to communicate there once I realised the issue was broader.  I will play with the CloudFlare settings. It is odd that it will work in IE but not Firefox if it is a CloudFlare issue.



In reply to Ken Task

Re: File Picker not loading across mutiple servers

by Alan Cherwinski -
I turned off the CloudFlare services for the urls and am using it only for the DNS at the moment. That didn't resolve the situation. I am upgrading one of the sites to 3.3 to see if that fixes the issue. The Web host can recreate the problem, but does not see any issue in the logs.
In reply to Alan Cherwinski

Re: File Picker not loading across mutiple servers

by Ken Task -
Picture of Particularly helpful Moodlers

How long does it take for CF to adjust?   IF the web host can recreate the problem, means problem was solved then they broke it again to re-create the issue.   What did they do to re-create it?   Does your web hosting have any thing in front of the moodles acting like CF?   mod_security/su-php/selinux on the system itself?

Remember that apache logs only show either errors or access.    There is no log of which am aware that looks at request for external files your Moodles are making for outside files.   Only evidence of that would be the date/time stamps on files moodle caches.

'spirit of sharing', Ken

In reply to Ken Task

Re: File Picker not loading across mutiple servers

by Alexandro Lacadena Gómez -

Good morning

Have you found the solution? I have exactly the same problem... is really weird as with the old IE works like a charm, and Opera, Firefox, Chrome, Vivaldi... none of them loads the uploading form, keeps the circle rolling.

Tried disabling CF and cleaning cache, but doesn't work, isn't about that. Any other idea?

Thanks!!

In reply to Ken Task

Re: File Picker not loading across mutiple servers

by ob kofi -

I had this problem. as i was reading through this thread and you mentioned cloudflare, i quickly remembered that i just started using cloudflare on my website, i disabled Auto Minify, i uncheck javascript, css and Html. its under SPEED.

File upload has started working now.


 

Average of ratings: Useful (1)