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

Javascript isn’t being loaded in the admin panel #8839

Closed
jonnybarnes opened this issue Sep 22, 2015 · 2 comments
Closed

Javascript isn’t being loaded in the admin panel #8839

jonnybarnes opened this issue Sep 22, 2015 · 2 comments
Labels
duplicate For issues that already existed in our issue tracker and were reported previously.

Comments

@jonnybarnes
Copy link

This could be due to anything and I’m not sure what.

I’m running Firefox Nightly (v44), my local maching is running PHP7 behind nginx 1.9.4 with the HTTP/2 patch applied.

When I look at the admin HTML source of the admin panel I see the line:

<script type="text/javascript" src="index.php?module=Proxy&amp;action=getCoreJs&amp;cb=68d318c61961d4506b48f3fbb6d37920"></script>

and if I manually visit that URL I see a load of jQuery text in my browser.

However when just visiting the admin CP it isn’t loaded. Thus leading to an error of ReferenceError: $ is not defined when later scripts are assuming jQuery has been loaded.

I don’t know why Firefox isn’t even trying to load the script?

@tsteur
Copy link
Member

tsteur commented Sep 24, 2015

Are you using an Ad blocker? See eg #7928

And is the problem only in the admin panel? only on a specific page or everywhere?

@jonnybarnes
Copy link
Author

Disabling uBlock for the page worked! Thanks.

@mattab mattab added the duplicate For issues that already existed in our issue tracker and were reported previously. label Oct 13, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate For issues that already existed in our issue tracker and were reported previously.
Projects
None yet
Development

No branches or pull requests

3 participants