Cannot add a site?

Hi,
i have just finally installed piwik and logged in as adminstrator succesfully.

I setup one website whilst I was doing the installation - however, it does not show in the websites area?

I then tried to ‘add’ anothe website, and all it did was scroll down the page a bit to global settings.

when I check your help file - it shows there shoudl be fields there (as I would expected) to add another website.

Not sure what is wrong???

In the apache error log file it shows:

[Tue Mar 03 11:21:33 2015] [error] [client 27.50.89.38] client denied by server configuration: /home/blog/public_html/piwik/plugins/SitesManager/templates/plugins, referer: http://blog.vintagedesigns.com.au/piwik/plugins/SitesManager/templates/loading.html
[Tue Mar 03 11:21:33 2015] [error] [client 27.50.89.38] client denied by server configuration: /home/blog/public_html/piwik/plugins/Feedback/angularjs/ratefeature/plugins, referer: http://blog.vintagedesigns.com.au/piwik/plugins/Feedback/angularjs/ratefeature/ratefeature.directive.html?cb=f4d4baa303753948d6ff43d634745d07
[Tue Mar 03 11:21:33 2015] [error] [client 27.50.89.38] client denied by server configuration: /home/blog/public_html/piwik/plugins/SitesManager/templates/sites-list/plugins, referer: http://blog.vintagedesigns.com.au/piwik/plugins/SitesManager/templates/sites-list/site-fields.html
[Tue Mar 03 11:21:33 2015] [error] [client 27.50.89.38] client denied by server configuration: /home/blog/public_html/piwik/plugins/Feedback/angularjs/ratefeature/plugins, referer: http://blog.vintagedesigns.com.au/piwik/plugins/Feedback/angularjs/ratefeature/ratefeature.directive.html?cb=f4d4baa303753948d6ff43d634745d07
[Tue Mar 03 11:21:33 2015] [error] [client 27.50.89.38] client denied by server configuration: /home/blog/public_html/piwik/plugins/SitesManager/templates/sites-list/plugins, referer: http://blog.vintagedesigns.com.au/piwik/plugins/SitesManager/templates/sites-list/site-fields.html

I even then tried chmod -R 777 /SitesManager but it made no difference.

please advise.

Hi there

see this faq: How do I configure my server to let Piwik serve HTML files? - Analytics Platform - Matomo

Hi,
yes, saw that article and have done what is says - still fail :frowning:

See attached screen shot.

and here is my config for that server:

SuexecUserGroup “#658” "#540"
ServerName blog.vintagedesigns.com.au
ServerAlias www.blog.vintagedesigns.com.au
ServerAlias webmail.blog.vintagedesigns.com.au
ServerAlias admin.blog.vintagedesigns.com.au
DocumentRoot /home/blog/public_html
ErrorLog /home/blog/logs/error_log
CustomLog /home/blog/logs/access_log combined
ScriptAlias /cgi-bin/ /home/blog/cgi-bin/
ScriptAlias /awstats/ /home/blog/cgi-bin/
DirectoryIndex index.html index.htm index.php index.php4 index.php5
<Directory /home/blog/public_html>
AddHandler text/html .html
Options Indexes IncludesNOEXEC SymLinksifOwnerMatch +ExecCGI
allow from all
AllowOverride All Options=ExecCGI,Includes,IncludesNOEXEC,Indexes,MultiViews,SymLinksIfOwnerMatch
AddType application/x-httpd-php .php
AddType application/x-httpd-php5 .php5

<Directory /home/blog/cgi-bin>
allow from all
AllowOverride All Options=ExecCGI,Includes,IncludesNOEXEC,Indexes,MultiViews,SymLinksIfOwnerMatch

ModPagespeedDisallow "/home/blog/public_html/piwik"
RewriteEngine on
RewriteCond %{HTTP_HOST} =webmail.blog.vintagedesigns.com.au
RewriteRule ^(.) https://blog.vintagedesigns.com.au:20000/ [R]
RewriteCond %{HTTP_HOST} =admin.blog.vintagedesigns.com.au
RewriteRule ^(.
) https://blog.vintagedesigns.com.au:10000/ [R]

AuthName "blog.vintagedesigns.com.au statistics"
AuthType Basic
AuthUserFile /home/blog/.awstats-htpasswd
require valid-user

<Proxy *>
allow from all

php_value memory_limit 256M
PerlRequire /etc/webmin/virtualmin-google-analytics/apachemod.pl
PerlOutputFilterHandler Virtualmin::GoogleAnalytics
PerlSetVar AnalyticsID UA-60117211-1
PerlSetVar ClickyID 100820487
PerlSetVar HeadJavascriptFile /etc/webmin/virtualmin-google-analytics/142317311519670.head.js

can someone please help me with this?

Hi there,

can you check your server error log file if you find any error there?

thanks for the reply Matt - please see my first post - that is the apache server error log. Please advise.

Hi there,

sorry i don’t know how to help further. Usually by following the steps in How do I configure my server to let Piwik serve HTML files? - Analytics Platform - Matomo it solves the issue. Maybe our FAQ can be improved but I don’t know how your problem could be solved. Maybe you can ask a sysadmin for help?

does this help Matt? it is copy/paste from the error log after I logon to piwik and then try to add a website (looks like permissions error??)

[Thu Mar 05 17:19:42 2015] [error] [client 27.50.89.38] client denied by server configuration: /home/blog/public_html/piwik/plugins/CoreHome/angularjs/siteselector/plugins, referer: http://blog.vintagedesigns.com.au/piwik/plugins/CoreHome/angularjs/siteselector/siteselector.directive.html?cb=a94500d21063de05637fdefec078a1c1
[Thu Mar 05 17:19:42 2015] [error] [client 27.50.89.38] client denied by server configuration: /home/blog/public_html/piwik/plugins/Feedback/angularjs/ratefeature/plugins, referer: http://blog.vintagedesigns.com.au/piwik/plugins/Feedback/angularjs/ratefeature/ratefeature.directive.html?cb=a94500d21063de05637fdefec078a1c1
[Thu Mar 05 17:19:42 2015] [error] [client 27.50.89.38] client denied by server configuration: /home/blog/public_html/piwik/plugins/Feedback/angularjs/ratefeature/plugins, referer: http://blog.vintagedesigns.com.au/piwik/plugins/Feedback/angularjs/ratefeature/ratefeature.directive.html?cb=a94500d21063de05637fdefec078a1c1
[Thu Mar 05 17:19:52 2015] [error] [client 27.50.89.38] client denied by server configuration: /home/blog/public_html/piwik/plugins/MultiSites/angularjs/dashboard/plugins, referer: http://blog.vintagedesigns.com.au/piwik/plugins/MultiSites/angularjs/dashboard/dashboard.directive.html?cb=a94500d21063de05637fdefec078a1c1
[Thu Mar 05 17:19:52 2015] [error] [client 27.50.89.38] client denied by server configuration: /home/blog/public_html/piwik/plugins/MultiSites/angularjs/dashboard/plugins, referer: http://blog.vintagedesigns.com.au/piwik/plugins/MultiSites/angularjs/dashboard/dashboard.directive.html?cb=a94500d21063de05637fdefec078a1c1
[Thu Mar 05 17:19:52 2015] [error] [client 27.50.89.38] client denied by server configuration: /home/blog/public_html/piwik/plugins/MultiSites/angularjs/dashboard/plugins, referer: http://blog.vintagedesigns.com.au/piwik/plugins/MultiSites/angularjs/dashboard/dashboard.directive.html?cb=a94500d21063de05637fdefec078a1c1
[Thu Mar 05 17:19:52 2015] [error] [client 27.50.89.38] client denied by server configuration: /home/blog/public_html/piwik/plugins/MultiSites/angularjs/site/plugins, referer: http://blog.vintagedesigns.com.au/piwik/plugins/MultiSites/angularjs/site/site.directive.html?cb=a94500d21063de05637fdefec078a1c1
[Thu Mar 05 17:19:52 2015] [error] [client 27.50.89.38] client denied by server configuration: /home/blog/public_html/piwik/plugins/MultiSites/angularjs/site/plugins, referer: http://blog.vintagedesigns.com.au/piwik/plugins/MultiSites/angularjs/site/site.directive.html?cb=a94500d21063de05637fdefec078a1c1
[Thu Mar 05 17:19:52 2015] [error] [client 27.50.89.38] client denied by server configuration: /home/blog/public_html/piwik/plugins/MultiSites/angularjs/site/plugins, referer: http://blog.vintagedesigns.com.au/piwik/plugins/MultiSites/angularjs/site/site.directive.html?cb=a94500d21063de05637fdefec078a1c1
[Thu Mar 05 17:19:52 2015] [error] [client 27.50.89.38] client denied by server configuration: /home/blog/public_html/piwik/plugins/MultiSites/angularjs/site/plugins, referer: http://blog.vintagedesigns.com.au/piwik/plugins/MultiSites/angularjs/site/site.directive.html?cb=a94500d21063de05637fdefec078a1c1
[Thu Mar 05 17:19:58 2015] [error] [client 27.50.89.38] client denied by server configuration: /home/blog/public_html/piwik/plugins/SitesManager/templates/plugins, referer: http://blog.vintagedesigns.com.au/piwik/plugins/SitesManager/templates/loading.html
[Thu Mar 05 17:19:58 2015] [error] [client 27.50.89.38] client denied by server configuration: /home/blog/public_html/piwik/plugins/SitesManager/templates/sites-list/plugins, referer: http://blog.vintagedesigns.com.au/piwik/plugins/SitesManager/templates/sites-list/site-fields.html
[Thu Mar 05 17:19:58 2015] [error] [client 27.50.89.38] client denied by server configuration: /home/blog/public_html/piwik/plugins/SitesManager/templates/sites-list/plugins, referer: http://blog.vintagedesigns.

I am also trying to figure this one out… same message in the logs so I go and look and there is no plugins directory at the end of that path. I have ‘/plugins/Feedback/angularjs/ratefeature’ but not ‘/plugins/Feedback/angularjs/ratefeature/plugins’

Same thing for ‘plugins/CoreHome/angularjs/siteselector/plugins’ and I suspect any other similar paths listed in the OP post.

Maybe I’ll just make those directories and see what happens or continue searching.

Hmm. well I make a couple of the plugins directories and now it wants further down. Seems like the path is wrong in whatever file is calling this.

client denied by server configuration: /home/piwik/public_html/plugins/Feedback/angularjs/ratefeature/plugins/Feedback, referer: http://t.XXXXXX.com/index.php?module=CoreHome&action=index&idSite=2&period=day&date=today

OK I deleted TMP files and directories as per the FAQ and that seems to have cleared up the problem.

  1. Delete all files in piwik/tmp/*. After deleting the files and directories, refresh the page.

OK I’m back – still getting the log errors so ignore all of the above as a resolution. Looks like I have a few different problems and the log error was unrelated to the problem I was actually trying to resolve. Clearing the TMP directory and my browser cache, restarting my browser and whatever else seems to have resolved the problem I was seeing in the browser but I am still getting those errors in the log with bad path.

Again… I was seeing errors about no access in first path below then added plugins dir and now see errors at second path. (this is but one example of several similar errors) So it seems to be self referential?

/plugins/Feedback/angularjs/ratefeature/plugins/
/plugins/Feedback/angularjs/ratefeature/plugins/Feedback