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 doesn't load correctly on the first load for admin pages #9123

Closed
pcambra opened this issue Oct 29, 2015 · 3 comments
Closed

Javascript doesn't load correctly on the first load for admin pages #9123

pcambra opened this issue Oct 29, 2015 · 3 comments
Labels
answered For when a question was asked and we referred to forum or answered it.

Comments

@pcambra
Copy link

pcambra commented Oct 29, 2015

Piwik 2.14.3, both firefox and chrome I'm always getting a js error on the first load of the piwik admin pages:

TypeError: $(...).attr(...) is undefined
...){if(broadcast.isHashExists()==false){$('li:first a:first',this.menuNode).click(...

That makes the date range widget look like this:

https://monosnap.com/file/88Dud3StbxP2y5WiQfSphHJbhK9Nnp.png

And the graphs aren't displayed either.

Refreshing the page solves the problem but it happens in every new visit.

@tsteur
Copy link
Member

tsteur commented Oct 29, 2015

Do you mind updating to the latest Piwik version (2.15.0)? There's a chance this issue is fixed and in case you're using something like an Ad blocker Piwik should detect it and display a warning.

@pcambra
Copy link
Author

pcambra commented Oct 30, 2015

Thanks for the feedback, we don't have Ad blockers in place an this happens to all our admin users.

Planning to upgrade to 2.15.0 but not immediately, I've been having this issue since 1.8-1.9 (not sure if before), any hint on where to start debugging?

@tsteur
Copy link
Member

tsteur commented Oct 30, 2015

Yes, I'd check out https://piwik.org/faq/troubleshooting/faq_18485/ in this case

@mattab mattab closed this as completed Nov 26, 2015
@mattab mattab added the answered For when a question was asked and we referred to forum or answered it. label Nov 26, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
answered For when a question was asked and we referred to forum or answered it.
Projects
None yet
Development

No branches or pull requests

3 participants