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

Administration/Settings missing #6878

Closed
ghost opened this issue Dec 18, 2014 · 21 comments
Closed

Administration/Settings missing #6878

ghost opened this issue Dec 18, 2014 · 21 comments
Assignees
Labels
answered For when a question was asked and we referred to forum or answered it. Bug For errors / faults / flaws / inconsistencies etc.
Milestone

Comments

@ghost
Copy link

ghost commented Dec 18, 2014

After upgrading to the current version from 2.3.x, one of the menu entries (probably the administration/settings entry) in the upper right corner is missing (see picture). I reinstalled completely Piwik, but nothing changed (new files, new database, new account).

bildschirmfoto 2014-12-18 um 15 50 04

@mattab
Copy link
Member

mattab commented Dec 18, 2014

Hi there, could you try the latest Piwik beta? Maybe this bug will be fixed. If you still have issue with latest beta, do you see a JavaScript error in your browser console?

@mattab mattab added this to the Piwik 2.11.0 milestone Dec 18, 2014
@mattab mattab added the Bug For errors / faults / flaws / inconsistencies etc. label Dec 18, 2014
@ghost
Copy link
Author

ghost commented Dec 19, 2014

Thanks for the quick response - I'll try the beta.
The console shows indeed some errors:

Failed to load resource: the server responded with a status of 403 (Forbidden)
File: .../plugins/CoreHome/angularjs/siteselector/index.php?module=CoreHome&action=index&idSite=1&period=day&date=yesterday

Error: ��[$compile:tpload] http://errors.angularjs.org/1.2.26/$compile/tpload?p0=plugins%2FCoreHome%2Fangularjs%2Fsiteselector%2Fsiteselector.directive.html%3Fcb%3Dd83cb22a7783e802da1e1dab9d761b40 (many like these)

@ghost
Copy link
Author

ghost commented Dec 19, 2014

Unfortunately, I can't install the beta. There is a message that I have to install the composer; however, the web hoster's php settings seem not to allow to perform that installation in the documented way:

Some settings on your machine make Composer unable to work properly.
Make sure that you fix the issues listed below and run this script again:

The suhosin.executor.include.whitelist setting is incorrect.
Add the following to the end of your php.ini or suhosin.ini (Example path [for Debian]: /etc/php5/cli/conf.d/suhosin.ini):
suhosin.executor.include.whitelist = phar http://,https://

The php.ini used by your command-line PHP is: /etc/php5.3/php.ini
If you can not modify the ini file, you can also run php -d option=value to modify ini values on the fly. You can use -d multiple times.

Following those instructions does not lead to any improvement of the situation.

@mattab
Copy link
Member

mattab commented Dec 19, 2014

Hi there, download beta from: http://builds.piwik.org/ (first file)

@ghost
Copy link
Author

ghost commented Dec 19, 2014

I installed the beta, the database was updated, but the menu hole still exists... The error messages remain the same in the console.

@mattab
Copy link
Member

mattab commented Dec 19, 2014

could you please paste screenshot showing full errors (or copyu paste here full error?)

@ghost
Copy link
Author

ghost commented Dec 19, 2014

yeah, sure.
bildschirmfoto 2014-12-19 um 19 48 12

@mattab
Copy link
Member

mattab commented Dec 21, 2014

Similar bug as in #6888

Could you also post a screenshot of the whole Piwik UI after it was loaded, do you see there a notification message maybe, with a link to this FAQ?

@ghost
Copy link
Author

ghost commented Dec 22, 2014

Well, there seems to be no such message.
bildschirmfoto 2014-12-22 um 09 08 22

@ghost
Copy link
Author

ghost commented Dec 22, 2014

As the webserver is hosted at HostEurope, I tried to change the permissions as stated in the FAQ mentioned above. This had no effect on the problem.

@diosmosis diosmosis self-assigned this Dec 27, 2014
@th-h
Copy link

th-h commented Dec 29, 2014

Same here. Permissions of files and directories were completely broken (600 and 700, respectively), namely on [...]/piwik/plugins/CoreHome/angularjs/notification/. Fixing that brought at least some error messages. :-)

Running

find [...]/piwik/ -type f -perm 600 -exec chmod 644 '{}' \;
find [...]/piwik/ -type d -perm 700 -exec chmod 755 '{}' \;

fixed the installation for me (you have to supply the path to your piwik installation instead of [...], of course).

@tsteur
Copy link
Member

tsteur commented Jan 4, 2015

Make sure to follow all the steps in the mentioned FAQ: https://piwik.org/faq/troubleshooting/faq_18485/

If it still does not work, try to update Piwik manually see the steps in https://piwik.org/docs/update/#the-manual-three-step-update . There will be a new major update very soon which also could fix this problem.

If it still does not work: Contact your host or sys-admin. For some reason your server seems to not deliver HTML files properly.

If this does not help send us credentials to your Piwik installation to "hello at piwik.org" and we'd have a look but we won't be able to do much without having access to the actual server.

@ghost
Copy link
Author

ghost commented Jan 9, 2015

I followed the instructions in the FAQ, performed the manual update, checked Apache (which is under control of HostEurope), installed the current version again (removed the previous piwik folder, copied the downloaded one, restored the config), without any effect. The administration menu is still missing.

As I said at the very beginning: The administration menu was there before upgrading to the 2.10.x version, so something must have happened inbetween the 2.9 and the 2.10 that causes that problem.

@sgiehl
Copy link
Member

sgiehl commented Jan 9, 2015

Do you have any .htaccess roules that might affect the Piwik folder?

@ghost
Copy link
Author

ghost commented Jan 9, 2015

Until now: no, Piwik used the server default settings defined by HostEurope.

But: As an act of despair, I now copied the .htaccess from my Contao installation to the Piwik installation - which fixed the problem.

@ghost
Copy link
Author

ghost commented Jan 9, 2015

The .htaccess is pretty long - which part is of interest for you, so that you may add it to the FAQ?

@sgiehl
Copy link
Member

sgiehl commented Jan 9, 2015

Interesting... Good question. would you mind sending it to hello@piwik.org so we could have a look what might affect it?

@ghost
Copy link
Author

ghost commented Jan 9, 2015

I sent you the .htaccess content to the above mail address.

@mattab mattab added the answered For when a question was asked and we referred to forum or answered it. label Jan 9, 2015
@mattab
Copy link
Member

mattab commented Jan 9, 2015

Thanks for report. This bug will be fixed in next release as side effect of the new top menu system which will not have a dropdown anymore. I'm closing now pro-actively but @tsteur will get it done

FYI the new Top Menu, example for a super user

  • Dashboard
  • All Websites
  • Administration
  • $UserName
  • Signout

@lupa18
Copy link

lupa18 commented Jan 23, 2015

And you think is better wait to the next release and use admin section by entering its URL ?

@tsteur
Copy link
Member

tsteur commented Jan 25, 2015

You'll most likely have to make sure HTML are served by your webserver anyway as many other components won't work otherwise. In the above screenshot one can see eg the Website Selector is not displayed which means also Sites Management, All Websites Dashboard and many other things won't work. So it is probably not a good idea to just wait for the next release. Have a look at this FAQ: http://piwik.org/faq/troubleshooting/faq_18485/

Also in one screen I can see a 403 API response which looks like a server configuration issue as well which needs to be fixed (not a Piwik issue).

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. Bug For errors / faults / flaws / inconsistencies etc.
Projects
None yet
Development

No branches or pull requests

6 participants