-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Website dropdown no longer appears #5213
Comments
maybe reading ticket #5148 and its comments may give you helpful hints..
|
I checked that bug. html is whitelisted, plus I removed .htaccess with no change. This line in the error log I think is the problem: May 23 07:54:55 2014 [client 166.170.22.104 (8)Exec format error: exec of '/usr/local/www/piwik/plugins/CoreHome/angularjs/siteselector/siteselector.html' failed, referer: https://bobwalter.net/piwik/index.php?module=CoreHome&action=index&idSite=3&period=day&date=yesterday The file is loading but fails. |
what helped for me with the other problem was giving all folders! in /Plugins/ read permissions. Before only all files had but that doesn't help... |
All folders must have read permission since I have been updating via the web page. All folders are 755. |
there were a couple of bugs fixed recently in: #5034 and #4499 that may help. In general, please
You can try accessing the file http://youpiwik.com/plugins/CoreHome/angularjs/siteselector/siteselector.html -> this should return HTML file, if not, |
2.3.0-rc4 Still doesn't work. The error message is a bit more revealing: May 24 17:42:51 2014 [client 24.18.192.7 (8)Exec format error: exec of '/usr/local/www/piwik/plugins/CoreHome/angularjs/siteselector/siteselector.html' failed, referer: https://bobwalter.net/piwik/index.php?module=CoreHome&action=index&idSite=3&period=day&date=yesterday |
@bobwalter please can you try to delete
if they exist (which they might, due to a bug I fixed here) and try again? |
Neither directory has a .htaccess file. |
Hey bob, quickly googled for this error and found a thread about a similar issue: There was for instance one users who was able to fix it by changing an APC setting. Are you using APC? Otherwise can you send us a little bit more information about your server? Are you using Apache, Nginx, ... ? Windows, Linux, ...? Running PHP as CGI? |
I am not, to my knowledge, using APC. I am using Apache on freeBSD 9.2 and run PHP as CGI. Piwik worked correctly until the 2.2.1 (I think). It has to be a very recent change since I keep current on Piwik versions. |
The solution in this case was to put "AddHandler text/html .html" in the "<directory>" section of the Apache host config. @matt could make sense to add this to a FAQ. Maybe we can have also one FAQ entry for possible "HTML load fails" and link to this FAQ entry from the warning which is displayed in the UI in case there is a 40* or 500 HTTP error. Some reasons so far:
|
See also #5266 Serve HTML files as text/html mime type, on Apache2 web server |
In 2.3-rc (as well as all betas and version 2.2.2, the website dropdown no longer appears. In addition, when clicking "all websites" a blank page appears. I see an error for siteselector. This error continues to appear through all betas. Everything was fine before the most recent stable release and subsequent betas.
Here is the httpd error log when I start Piwik
May 22 21:27:02 2014 [client 24.18.192.7 (8)Exec format error: exec of '/usr/local/www/piwik/plugins/Feedback/angularjs/ratefeature/ratefeature.html' failed, referer: https://bobwalter.net/piwik/index.php?module=CoreHome&action=index&idSite=3&period=day&date=yesterday
May 22 21:27:02 2014 [client 24.18.192.7 Premature end of script headers: ratefeature.html, referer: https://bobwalter.net/piwik/index.php?module=CoreHome&action=index&idSite=3&period=day&date=yesterday
May 22 21:27:02 2014 [client 24.18.192.7 (8)Exec format error: exec of '/usr/local/www/piwik/plugins/CoreHome/angularjs/siteselector/siteselector.html' failed, referer: https://bobwalter.net/piwik/index.php?module=CoreHome&action=index&idSite=3&period=day&date=yesterday
May 22 21:27:02 2014 [client 24.18.192.7 Premature end of script headers: siteselector.html, referer: https://bobwalter.net/piwik/index.php?module=CoreHome&action=index&idSite=3&period=day&date=yesterday
May 22 21:27:03 2014 [client 24.18.192.7 File does not exist: /usr/home/vhosts/bobwalter.net/httpsdocs/public_ssl/favicon.ico
May 22 21:27:03 2014 [client 24.18.192.7 File does not exist: /usr/home/vhosts/bobwalter.net/httpsdocs/public_ssl/favicon.ico
The text was updated successfully, but these errors were encountered: