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
Piwik Critical Issue RE: always_populate_raw_post_data=-1 in PHP.ini #9741
Comments
Can you see some PHP errors in the logs when using PHP 5.4? It might not be related to |
Well, after looking at my server error logs, I see the following listed errors repeated several times each, from today's date back to the 20th of January, which is when i reinstalled piwik I believe. /home3/example/public_html/analytics/error_log: /home3/example/public_html/error_log: There are some others listed, but they all pertain to my wordpress, within which I have the Piwik plugin installed, so it may be the cause of those errors. When I look at my /analytics/error_log, I see the first one above repeated several times per day over several days as well as the following sort of interspersed: [01-Feb-2016 18:59:44 UTC] PHP Parse error: syntax error, unexpected '.', expecting '&' or variable (T_VARIABLE) in /home3/example/public_html/analytics/tmp/templates_c/d/f/dfe99bb3be8cd80e0a0d45b616c445f7ce75a1dfb0f85e21a7c319890d754e07.php on line 27 |
Did you maybe delete the website and something is still tracking data for this website?
This seems to be not related to Piwik as you mentioned.
Can you maybe delete all files within |
Did you maybe delete the website and something is still tracking data for this website? If you mean my actual web site, no i did not delete it, nor did i delete it from my settings Can you maybe delete all files within templates_c? eg rm -r tmp/templates_c/* I renamed my templates_c folder, and also made a new empty templates_c folder. I run Piwik, My visitor map keeps on loading and loading, some other widgets remain blank, and im still getting the same raw post data error under system check. |
Is it not possible for you to set |
Well, I added the "always_populate_etc." again I might add, and Is there some setting in Chrome im not aware of that I have set and Thank you for your help Tom On 2016-02-12 00:31, Thomas Steur wrote:
|
No, there is no setting for Chrome, but maybe there is an extension installed that breaks it? Such as an Ad blocker or so? |
Is there any workaround for people who can not change the php.ini? I would like to use Piwik 3.0 on a webspace which uses PHP 5.6 and I am unable to install it, because of |
Under system check/required PHP, Im told to make the following change to php.ini: always_populate_raw_post_data=-1, but only if your version is PHP 5.6. Changing PHP to 5.4. would eliminate the need for the aforementioned change. I checked with my web server and I was using 5.6, so i switched it back to PHP 5.4 and removed the "always_populate_raw_post_data=-1 from the PHP.ini file, refresh piwik Dashboard, and now i have a 500 server error? Details say, "The website encountered an error while retrieving http://www.example.com/analytics/index.php?module=CoreHome&action=index&idSite=1&period=week&date=2016-02-08" One interesting not, If I am at the system check page and make these changes to PHP.ini, I will not get a server 500 error. The page will be nearly black except for the red PIWIK logo in upper left hand corner. So inorder for me to see anything in PIWIK version 2.15.0 im running, I need 5.6, which requires me to have "always_populate_raw_post_data=-1" in the php.ini file. The problem stems from the inability to view the map of my visitors
The text was updated successfully, but these errors were encountered: