@innoreq opened this Issue on December 18th 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 commented on December 18th 2014 Owner

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?

@innoreq commented on December 19th 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)

@innoreq commented on December 19th 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 commented on December 19th 2014 Owner

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

@innoreq commented on December 19th 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 commented on December 19th 2014 Owner

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

@innoreq commented on December 19th 2014

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

@mattab commented on December 21st 2014 Owner

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?

@innoreq commented on December 22nd 2014

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

@innoreq commented on December 22nd 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.

@th-h commented on December 29th 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. :-)


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 commented on January 4th 2015 Owner

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.

@innoreq commented on January 9th 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 commented on January 9th 2015 Member

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

@innoreq commented on January 9th 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.

@innoreq commented on January 9th 2015

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

@sgiehl commented on January 9th 2015 Member

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

@innoreq commented on January 9th 2015

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

@mattab commented on January 9th 2015 Owner

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 commented on January 23rd 2015

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

@tsteur commented on January 25th 2015 Owner

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).

This Issue was closed on January 9th 2015
Powered by GitHub Issue Mirror