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

3.0.2 top_controls not displaying for regular users #11872

Closed
Xeevis opened this issue Jul 14, 2017 · 4 comments
Closed

3.0.2 top_controls not displaying for regular users #11872

Xeevis opened this issue Jul 14, 2017 · 4 comments
Labels
answered For when a question was asked and we referred to forum or answered it.

Comments

@Xeevis
Copy link

Xeevis commented Jul 14, 2017

I've installed recently updated Piwik 3.0.2 from Synology package center. Everything works great except for top controls where search/dashboard etc are located. They simply don't get revealed for regular users, if I promote user to super user they do start showing.

I've tried Edge, Chromium, Firefox, different machine, nothing helped, also no errors in console beside jQuery warning on Synchronous XMLHttpRequest.

For super users I can see div being styled

<div class="top_controls" style="visibility: visible; opacity: 1;">

Regular users are left out

<div class="top_controls">

Restoring styles manually on this div restores controls which appear to be otherwise fully functional.

Issue

@sgiehl
Copy link
Member

sgiehl commented Jul 18, 2017

I could find why it's not shown, but I don't know the reason.
The problem is, that none of those lines are rendered. That should be possible to happen. Maybe check if the file has the same content on your installation or try clearing the tmp directory of Piwik.

@Xeevis
Copy link
Author

Xeevis commented Jul 18, 2017

@sgiehl Nailed it, that file was quite different, probably modified by Synology to prevent users from running updater (because not even super users had notification about new version) and they inadvertently killed controls for users while doing so. I've restored the file and updated to latest 3.0.4, all good, thanks! 👍

@Xeevis Xeevis closed this as completed Jul 18, 2017
@mattab
Copy link
Member

mattab commented Jul 24, 2017

Synology should not be allowed to do this. Do you know how we could contact them about this? @Xeevis

@Xeevis
Copy link
Author

Xeevis commented Jul 24, 2017

@mattab Here is a diff of the two files, they broke the HTML 🤦‍♂️

Corporations like this require you to go through super forms I'm afraid https://www.synology.com/en-us/company/contact_us

Attachment: _headerMessage.zip

@mattab mattab added the answered For when a question was asked and we referred to forum or answered it. label Sep 11, 2017
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