YUI problems when logging on via internet

YUI problems when logging on via internet

by Dominik Jeni -
Number of replies: 8

Hi everyone,

I've got the following problems with Moodle (2.X):

Our Moodle installation is located on a server within the DMZ. It can be reached from the inside of our local network and also from the outside (but only with certificate and an authentication at our firewall)! Also, it is fully https (but only from the outside! wwwroot is set to http://localserver/..).
The problem with two different URL names was solved by our firewall (masquerading), so this works fine...
Moodle works completely fine when using it inside the intranet. But when logging on via internet with certificate and domain authentication, some problems occur: The main problem is, that somehow most of (or all?) the YUI scripts fail. I cannot move the blocks to the dock, i cannot open the menus (Site administration etc), the HTML editor is not shown, i cannot upload files because the buttons are gone, the popup at the end of a test does not work and so on.
I tried to switch the internal URL to https as well,.. disabled YUI,.. set YUI to download its files directly over the internet,.. but nothing helped.

Maybe anyone experienced these problems as well and has a solution?

Our environment:

- Windows Server 2008 R2 (Webserver IIS 7.5)
- MySQL database
- PHP 5.3.6
- MS Forefront TMG Firewall
- Moodle 2.X (tested with 2.1.2 and 2.2.1+)

Thanks a lot for every help!!!

Kind regards,
Dominik

Average of ratings: -
In reply to Dominik Jeni

Re: YUI problems when logging on via internet

by Ramil Valitov -

Hi, Dominik!

Try to uncheck all checkboxes at "AJAX & Javascript" settings menu, located at Adminstration -> Appearance.

If this helps, it'll be possible to explain the origin of the problem.

In reply to Ramil Valitov

Re: YUI problems when logging on via internet

by Dominik Jeni -

Hi Ramil!

Thanks for your answer! I've unchecked all boxes, but unfortunately it remains the same...

Same problems and same errors,... e.g. "M.block_navigation is null or not an object" -> but if connecting to moodle via intranet, everything is fine.

Any suggestions?

Thanks in advance! smile

Kind regards,

Dominik

In reply to Dominik Jeni

Re: YUI problems when logging on via internet

by Ramil Valitov -

Hi, Dominik!

After unchecking the checkboxes you should clean all the cache in your browser. Ot try another browser just to make sure you get new, not cached data.

In reply to Ramil Valitov

Re: YUI problems when logging on via internet

by Dominik Jeni -

Hi Ramil!

Thanks, but it stays the same... still no chance to "open" the menu items, or to attach files etc...

The language cannot be changed as well ... (in the intranet, all these functions work very well)

Kind regards,

Dominik

In reply to Dominik Jeni

Re: YUI problems when logging on via internet

by Ramil Valitov -

Hi Dominik!

Do you login to the domain with your credentials from the Internet to the same server where the Moodle is installed? Or is it a another dedicated server? It seems that the problem is about your firewall/proxy. Does your firewall/proxy use caching for Moodle?

In reply to Ramil Valitov

Re: YUI problems when logging on via internet

by Dominik Jeni -

Hi Ramil!

It's the same server and the same moodle installation. This server is reachable from the intranet as well as from the internet (DMZ). Using LDAP, the login at the firewall and at moodle is also the same.

Refering to your question about our firewall, I'll check this out later.

Thanks & best regards,

Dominik

In reply to Dominik Jeni

Re: YUI problems when logging on via internet

by James Heather -

Did you get anywhere with this? I'm having a similar problem here. The site is blocked through the firewall, but we have a remote access thing that uses Juniper Connect.

The things that don't work for Dominik are exactly the same things that don't work for me. In my case, I don't care much about the site administration and so on, because I can sort that out when I'm in the office; but the students need to be able to submit their work, and they can't at the moment because the upload buttons don't work.

James

In reply to James Heather

Re: YUI problems when logging on via internet

by Marcus Hoberg -

During our migration we revealed the same issue here (yui/java scripts not working from external). From internal everything works well. Similar environment like Dominik, the connecting link seems to be the MS Forefront TMG server. The logs don´t help, everything is published without errors.

Is there any progress in your investigations, you can share? Did you find any solution for your setting?

MS TMG in general seems to give some headache with redirects and http/https transcription: https://moodle.org/mod/forum/discuss.php?d=171336

This also affects moodle 1.9, where I can say this works over here: https://moodle.org/mod/forum/discuss.php?d=216970 (tracker: http://tracker.moodle.org/browse/MDL-37025

Has anybody any idea on this? Would be a nice xmas present big grin.

Best Regards, Marcus