Javascript links not shown

Javascript links not shown

by Sonja Sperber -
Number of replies: 6

Hi all,


at the moment we are running 

MoodleRelease:  Moodle 2.9.1+ (Build: 20150716)

Theme: BCU


we have probs with our course administration frontend.

The point is we have 47 segments in  a particular course. 

When I open it, the browser does not load the site completely.

That means in the first case the course site becomes visible, but the javascript links

for adding materials or activities to a segment are not shown.


In the browser console I get the message:


require.min.js:10 Uncaught Error: Load timeout for modules: jqueryprivate

http://requirejs.org/docs/errors.html#timeout


Can you get me started how to overcome this mistake and let

people be able to add materials or activities to the 

segments ?


If I limit it to say the first 10 segments everything works.

Looking forward to your help … thanks in advance !


Best Regards,


Sonja


Average of ratings: -
In reply to Sonja Sperber

Re: Javascript links not shown

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

Can you test the same steps using Clean instead BCU?

Please, verify also the Designer mode is disabled.

In reply to Fernando Acedo

Re: Javascript links not shown

by Sonja Sperber -

Hi Fernando,


thx for that ....!

I tested our moodle with the default clean theme.

As a result moodle shows the same behaviour. With e.g. 10

segments the javascript links are shown with a large number 

say 46 segments the javascript links are not there.

So there's no prob with BCU theme...


other ideas  ?

What is the suitable way to track the error further ?

Javascript ? 

Is it worth to exchange require.min.js  for e.g. require.js

and see what's the matter in line 10 ... and to correct it ?


sorry .. I'm a little bit clueless.


Another point...

I uploaded an .mbz-file  on another server a order insert

the course on another moodle - plattform. In the course of

doing so, I got the an error message saying "missing aliases" or

similar. ... Anybody an idea what that means ? Relevant for

the js.prob ?


best,

Sonja




 




In reply to Fernando Acedo

Re: Javascript links not shown

by Sonja Sperber -

Hi all together,


I have to apologize ... there are other reasons to that

prob. None-the-less it was a learning for me ..

thanks for your patience!


Best Regards,

Sonja



In reply to Sonja Sperber

Re: Javascript links not shown

by Emma Richardson -
Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Plugin developers

Please share what the problem was - it might help someone else.

In reply to Emma Richardson

Re: Javascript links not shown

by Sonja Sperber -

Hi Emma,

... the problem is not solved yet. Because we have moodle 2.9 I think, it all hinges on AMD which is responsible for the javascript handling. Anyway I still get errors. I asked here: https://moodle.org/mod/forum/discuss.php?d=315184


Best,

Sonja

In reply to Sonja Sperber

Re: Javascript links not shown

by Gareth J Barnard -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers

Given Damyon's "But - if you have a javascript error earlier in the page, than the requirejs calls it could be affected." try removing VideoEasy and see if that helps.