Running PHP 5.4.19 but scheduled Email Report still not working


#1

Hello,

Last week I posted a message asking for help to have scheduled email reports triggered: http://forum.piwik.org/read.php?2,111181

I have updated the PHP version to 5.4.19, and I am still not getting the emails.

I have setup a cron job as per this post http://piwik.org/docs/setup-auto-archiving/#web-cron-when-your-web-host-does-not-support-cron-tasks

The file ROOT/piwik-archive-output.log contains


Content-type: text/html

<br />
<b>Parse error</b>:  syntax error, unexpected T_STRING in <b>/home/html/piwik/misc/cron/archive.php</b> on line <b>12</b><br />

Piwik shows a discrepancy detecting the PHP version:

The system check screen reports PHP 5.3.2 (please view image below):

And Piwik Security Plugin reports PHP 5.4.19 (please view image below):

Server error log files report (there were 4 different files):

FILE 1:

[Mon Feb 10 07:36:50 2014] [11212038] [fcgid:warn] [client 5.10.83.13:48571] mod_fcgid: read data timeout in 120 seconds
[Mon Feb 10 07:36:50 2014] [11212038] [core:error] [client 5.10.83.13:48571] End of script output before headers: index.php

FILE 2:

[Mon Feb 10 07:23:24 2014] [11212038] [fcgid:warn] (110)Connection timed out: [client 121.50.44.26:51041] mod_fcgid: ap_pass_brigade failed in handle_request_ipc function

FILE 3:

[Mon Feb 10 07:30:58 2014] [11212038] [fcgid:warn] (104)Connection reset by peer: [client 65.55.213.70:3715] mod_fcgid: ap_pass_brigade failed in handle_request_ipc function
[Mon Feb 10 07:30:58 2014] [11212038] [fcgid:warn] (104)Connection reset by peer: [client 65.55.213.70:12611] mod_fcgid: ap_pass_brigade failed in handle_request_ipc function
[Mon Feb 10 07:37:40 2014] [11212038] [fcgid:warn] [client 5.10.83.81:42073] mod_fcgid: read data timeout in 120 seconds
[Mon Feb 10 07:37:40 2014] [11212038] [core:error] [client 5.10.83.81:42073] End of script output before headers: index.php
[Mon Feb 10 07:38:31 2014] [11212038] [fcgid:warn] [client 5.10.83.59:45417] mod_fcgid: read data timeout in 120 seconds
[Mon Feb 10 07:38:31 2014] [11212038] [core:error] [client 5.10.83.59:45417] End of script output before headers: index.php
[Mon Feb 10 07:39:04 2014] [11212038] [fcgid:warn] [client 5.10.83.23:39895] mod_fcgid: read data timeout in 120 seconds
[Mon Feb 10 07:39:04 2014] [11212038] [core:error] [client 5.10.83.23:39895] End of script output before headers: index.php

FILE 4:

[Mon Feb 10 07:36:18 2014] [11212038] [fcgid:warn] [client 65.55.213.70:6148] mod_fcgid: read data timeout in 120 seconds
[Mon Feb 10 07:36:18 2014] [11212038] [core:error] [client 65.55.213.70:6148] End of script output before headers: index.php
[Mon Feb 10 07:37:25 2014] [11212038] [fcgid:warn] [client 65.55.213.70:10855] mod_fcgid: read data timeout in 120 seconds
[Mon Feb 10 07:37:25 2014] [11212038] [core:error] [client 65.55.213.70:10855] End of script output before headers: index.php

Please advice. What can I do to have scheduled email reports triggered?

Thank you


(Matthieu Aubry) #2

Plase use latest beta: Index of /

we fixed a bug related to scheduled report not sent Regressed: Scheduled reports should be sent automatically by webcron, when cron is not setup · Issue #4612 · matomo-org/matomo · GitHub


#3

Thank you Matt, I got a report emailed as I expected


(Matthieu Aubry) #4

Nice!