I'm getting a weird error while installing PIwik


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?

Show comments

Submit an answer

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!

Sign In or Sign Up to Answer

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