Report this

What is the reason for this report?

I'm getting a weird error while installing PIwik

Posted on September 15, 2015

ERROR MESSAGE:

GET request to piwik.php failed. Try whitelisting this URL from HTTP Authentication and disable mod_security (you may have to ask your webhost). For more information about the error, check your web server error log file. After making this change, restart your web server.


But I don’t have mod_security enabled. (I checked via sudo a2enmod mod-security) I can’t make sense of it. I installed Piwik easily enough on a cheap shared host, but I’m getting this inexplicable error message on my DO server.

Any suggestions?



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

This question was answered by @protagonist:

Finally, I found what was wrong in my case. The error returned by piwik.php is simply due to the fact that it cannot open the file piwik/config/config.ini.php. It cannot open it because it does not exist. It creates the file on the next step of the installation. The error message has nothing to do with what’s going on.

View the original comment

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.