Skip to content
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

When a scheduled task fails, the archive.php should report the error #2818

Closed
mattab opened this issue Dec 8, 2011 · 2 comments
Closed

When a scheduled task fails, the archive.php should report the error #2818

mattab opened this issue Dec 8, 2011 · 2 comments
Labels
Bug For errors / faults / flaws / inconsistencies etc. Major Indicates the severity or impact or benefit of an issue is much higher than normal but not critical.
Milestone

Comments

@mattab
Copy link
Member

mattab commented Dec 8, 2011

We have been days without noticing that there was an error in the cron script archive.php

When a scheduled task fails, for example PDF generation returning a PHP warning, the error is not reported upstream in archive.php and then in the output (and emailed if setup in cron).

We should make sure that, when an error is triggered in the scheduled tasks (Exception or random php warning), the piwik SU is notified by email that this failed

@mattab
Copy link
Member Author

mattab commented Dec 9, 2011

(In [5540]) Fixes tcpdf (will report upstream), regression when generating pdf reports containing images that tcpdf was trying to record in piwik tmp folder rather than :
Warning: fopen(/path/piwik/tmp/tcpdf/img_2c44a2e1eb91042bd785a17a4f185524) href='function.fopen'>function.fopen</a>: failed to open stream: No such file or directory in /tcpdf.php on line 7225
Refs #2818

@mattab
Copy link
Member Author

mattab commented Dec 18, 2011

(In [5571]) Fixes #2818 - writing errors to php://stderr

@mattab mattab added this to the 1.7 Piwik 1.7 milestone Jul 8, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc. Major Indicates the severity or impact or benefit of an issue is much higher than normal but not critical.
Projects
None yet
Development

No branches or pull requests

1 participant