Daily E-mail report not sending e-mails

Here is my php error log:

[05-Jul-2012 00:33:07] PHP Fatal error: 1 total errors during this script execution, please investigate and try and fix these errors. First error was: Got invalid response from API request: http://blogs.terrapinn.com/stats/index.php?module=API&method=CoreAdminHome.runScheduledTasks&format=csv&convertToUnicode=0&token_auth=3a357fb87ffe36d2628cca17dcf3f24e&trigger=archivephp. Response was ’

end() \Websites\Stats\piwik\misc\cron\archive.php:62 [05-Jul-2012 00:33:07] PHP 3. Archiving->logFatalError() \Websites\Stats\piwik\misc\cron\archive.php:498 [05-Jul-2012 00:33:07] PHP 4. trigger_error() \Websites\Stats\piwik\misc\cron\archive.php:555

[quote=nouman.qureshi]
Here is my php error log:

[05-Jul-2012 00:33:07] PHP Fatal error: 1 total errors during this script execution, please investigate and try and fix these errors. First error was: Got invalid response from API request: http://blogs.terrapinn.com/stats/index.php?module=API&method=CoreAdminHome.runScheduledTasks&format=csv&convertToUnicode=0&token_auth=3a357fb87ffe36d2628cca17dcf3f24e&trigger=archivephp. Response was ’

end() \Websites\Stats\piwik\misc\cron\archive.php:62 [05-Jul-2012 00:33:07] PHP 3. Archiving->logFatalError() \Websites\Stats\piwik\misc\cron\archive.php:498 [05-Jul-2012 00:33:07] PHP 4. trigger_error() \Websites\Stats\piwik\misc\cron\archive.php:555[/quote]

The stack trace does not seem complete.

Please double check you don’t have additional lines starting with “PHP 5.”, “PHP 6.” and so on.

The stack trace ends there. Here is what is followed by the stack trace:

[05-Jul-2012 00:33:07] PHP Stack trace:
[05-Jul-2012 00:33:07] PHP 1. {main}() \Websites\Stats\piwik\misc\cron\archive.php:0
[05-Jul-2012 00:33:07] PHP 2. Archiving->end() \Websites\Stats\piwik\misc\cron\archive.php:62
[05-Jul-2012 00:33:07] PHP 3. Archiving->logFatalError() \Websites\Stats\piwik\misc\cron\archive.php:498
[05-Jul-2012 00:33:07] PHP 4. trigger_error() \Websites\Stats\piwik\misc\cron\archive.php:555
[05-Jul-2012 01:15:22] PHP Warning: strpos() [function.strpos]: Empty delimiter in \Websites\WordPressMU\xmlrpc.php on line 2243
[05-Jul-2012 01:15:22] PHP Warning: strpos() [function.strpos]: Empty delimiter in \Websites\WordPressMU\xmlrpc.php on line 2243
[05-Jul-2012 01:16:08] PHP Warning: strpos() [function.strpos]: Empty delimiter in \Websites\WordPressMU\xmlrpc.php on line 2243
[05-Jul-2012 01:16:08] PHP Warning: strpos() [function.strpos]: Empty delimiter in \Websites\WordPressMU\xmlrpc.php on line 2243
[05-Jul-2012 01:42:09] PHP Warning: strpos() [function.strpos]: Empty delimiter in \Websites\WordPressMU\xmlrpc.php on line 2243
[05-Jul-2012 01:42:09] PHP Warning: strpos() [function.strpos]: Empty delimiter in \Websites\WordPressMU\xmlrpc.php on line 2243
[05-Jul-2012 04:08:09] WordPress database error MySQL server has gone away for query UPDATE wp_47_options SET option_value = ‘a:14:{i:1341464232;a:3:{s:16:“wp_version_check”;a:1:{s:32:“40cd750bba9870f18aada2478b24840a”;a:3:{s:8:“schedule”;s:10:“twicedaily”;s:4:“args”;a:0:{}s:8:“interval”;i:43200;}}s:17:“wp_update_plugins”;a:1:{s:32:“40cd750bba9870f18aada2478b24840a”;a:3:{s:8:“schedule”;s:10:“twicedaily”;s:4:“args”;a:0:{}s:8:“interval”;i:43200;}}s:16:“wp_update_themes”;a:1:{s:32:“40cd750bba9870f18aada2478b24840a”;a:3:{s:8:“schedule”;s:10:“twicedaily”;s:4:“args”;a:0:{}s:8:“interval”;i:43200;}}}i:1341507433;a:1:{s:19:“wp_scheduled_delete”;a:1:{s:32:“40cd750bba9870f18aada2478b24840a”;a:3:{s:8:“schedule”;s:5:“daily”;s:4:“args”;a:0:{}s:8:“interval”;i:86400;}}}i:1341723600;a:1:{s:19:“publish_future_post”;a:1:{s:32:“d996042e24bf11125f14b92f0ea5f5ef”;a:2:{s:8:“schedule”;b:0;s:4:“args”;a:1:{i:0;i:1846;}}}}i:1341886200;a:1:{s:19:“publish_future_post”;a:1:{s:32:“9dd36b88b297dd43b3c3fa14f9e7cef7”;a:2:{s:8:“schedule”;b:0;s:4:“args”;a:1:{i:0;i:1887;}}}}i:1341892800;a:1:{s:19:“publish_future_post”;a:1:{s:32:“9bfeeaf36f149761525f7142af64d3af”;a:2:{s:8:“schedule”;b:0;s:4:“args”;a:1:{i:0;i:1848;}}}}i:1342350000;a:1:{s:19:“publish_future_post”;a:1:{s:32:“7346fdeb4098ca12b2181218a45c724c”;a:2:{s:8:“schedule”;b:0;s:4:“args”;a:1:{i:0;i:1850;}}}}i:1342496580;a:1:{s:19:“publish_future_post”;a:1:{s:32:“25560b7c5f9d38319ecc7c7f69c3a8dc”;a:2:{s:8:“schedule”;b:0;s:4:“args”;a:1:{i:0;i:1890;}}}}i:1342504800;a:1:{s:19:“publish_future_post”;a:1:{s:32:“d716c87c8560258aeaec3b64d3f5ae01”;a:2:{s:8:“schedule”;b:0;s:4:“args”;a:1:{i:0;i:1852;}}}}i:1342670400;a:1:{s:19:“publish_future_post”;a:1:{s:32:“6b7ae040f8c991c645016b34a4d4ba62”;a:2:{s:8:“schedule”;b:0;s:4:“args”;a:1:{i:0;i:1854;}}}}i:1342933200;a:1:{s:19:“publish_future_post”;a:1:{s:32:“3e542c3e1f9f6c9161ceaf8ec2f80248”;a:2:{s:8:“schedule”;b:0;s:4:“args”;a:1:{i:0;i:1856;}}}}i:1343102400;a:1:{s:19:“publish_future_post”;a:1:{s:32:“69351489051b8b0465054d2be8b18866”;a:2:{s:8:“schedule”;b:0;s:4:“args”;a:1:{i:0;i:1858;}}}}i:1343718000;a:1:{s:19:“publish_future_post”;a:1:{s:32:“d959f6aeb5d532dfedc2549e81f22c8b”;a:2:{s:8:“schedule”;b:0;s:4:“args”;a:1:{i:0;i:1865;}}}}i:1343887260;a:1:{s:19:“publish_future_post”;a:1:{s:32:“3333b666e38e89caf5262d73cc844ee2”;a:2:{s:8:“schedule”;b:0;s:4:“args”;a:1:{i:0;i:1869;}}}}s:7:“version”;i:2;}’ WHERE option_name = ‘cron’ made by wp_unschedule_event, _set_cron_array, update_option
[05-Jul-2012 04:08:09] WordPress database error MySQL server has gone away for query UPDATE wp_47_options SET option_value = ‘O:28:“GoogleSitemapGeneratorStatus”:3:{s:39:"\0GoogleSitemapGeneratorStatus\0startTime";d:1341461289.597529888153076171875;s:37:"\0GoogleSitemapGeneratorStatus\0endTime";i:0;s:41:"\0GoogleSitemapGeneratorStatus\0pingResults";a:0:{}}’ WHERE option_name = ‘sm_status’ made by do_action_ref_array, call_user_func_array, GoogleSitemapGeneratorLoader->CallSendPing, GoogleSitemapGenerator->SendPing, GoogleSitemapGeneratorStatus->__construct, GoogleSitemapGeneratorStatus->Save, update_option
[05-Jul-2012 04:08:09] WordPress database error MySQL server has gone away for query UPDATE wp_47_options SET option_value = ‘O:28:“GoogleSitemapGeneratorStatus”:3:{s:39:"\0GoogleSitemapGeneratorStatus\0startTime";d:1341461289.597529888153076171875;s:37:"\0GoogleSitemapGeneratorStatus\0endTime";i:0;s:41:"\0GoogleSitemapGeneratorStatus\0pingResults";a:1:{s:6:“google”;a:5:{s:9:“startTime”;d:1341461289.5991880893707275390625;s:7:“endTime”;i:0;s:7:“success”;b:0;s:3:“url”;s:115:“Google Webmaster Tools - Sitemap Notification Received”;}}}’ WHERE option_name = ‘sm_status’ made by do_action_ref_array, call_user_func_array, GoogleSitemapGeneratorLoader->CallSendPing, GoogleSitemapGenerator->SendPing, GoogleSitemapGeneratorStatus->StartPing, GoogleSitemapGeneratorStatus->Save, update_option
[05-Jul-2012 04:08:09] WordPress database error MySQL server has gone away for query UPDATE wp_47_options SET option_value = ‘O:28:“GoogleSitemapGeneratorStatus”:3:{s:39:"\0GoogleSitemapGeneratorStatus\0startTime";d:1341461289.597529888153076171875;s:37:"\0GoogleSitemapGeneratorStatus\0endTime";i:0;s:41:"\0GoogleSitemapGeneratorStatus\0pingResults";a:1:{s:6:“google”;a:5:{s:9:“startTime”;d:1341461289.5991880893707275390625;s:7:“endTime”;d:1341461289.6373269557952880859375;s:7:“success”;b:1;s:3:“url”;s:115:“Google Webmaster Tools - Sitemap Notification Received”;}}}’ WHERE option_name = ‘sm_status’ made by do_action_ref_array, call_user_func_array, GoogleSitemapGeneratorLoader->CallSendPing, GoogleSitemapGenerator->SendPing, GoogleSitemapGeneratorStatus->EndPing, GoogleSitemapGeneratorStatus->Save, update_option
[05-Jul-2012 04:08:09] WordPress database error MySQL server has gone away for query UPDATE wp_47_options SET option_value = ‘O:28:“GoogleSitemapGeneratorStatus”:3:{s:39:"\0GoogleSitemapGeneratorStatus\0startTime";d:1341461289.597529888153076171875;s:37:"\0GoogleSitemapGeneratorStatus\0endTime";i:0;s:41:"\0GoogleSitemapGeneratorStatus\0pingResults";a:2:{s:6:“google”;a:5:{s:9:“startTime”;d:1341461289.5991880893707275390625;s:7:“endTime”;d:1341461289.6373269557952880859375;s:7:“success”;b:1;s:3:“url”;s:115:“Google Webmaster Tools - Sitemap Notification Received”;}}}’ WHERE option_name = ‘sm_status’ made by do_action_ref_array, call_user_func_array, GoogleSitemapGeneratorLoader->CallSendPing, GoogleSitemapGenerator->SendPing, GoogleSitemapGeneratorStatus->StartPing, GoogleSitemapGeneratorStatus->Save, update_option
[05-Jul-2012 04:08:09] WordPress database error MySQL server has gone away for query UPDATE wp_47_options SET option_value = ‘O:28:“GoogleSitemapGeneratorStatus”:3:{s:39:"\0GoogleSitemapGeneratorStatus\0startTime";d:1341461289.597529888153076171875;s:37:"\0GoogleSitemapGeneratorStatus\0endTime";i:0;s:41:"\0GoogleSitemapGeneratorStatus\0pingResults";a:2:{s:6:“google”;a:5:{s:9:“startTime”;d:1341461289.5991880893707275390625;s:7:“endTime”;d:1341461289.6373269557952880859375;s:7:“success”;b:1;s:3:“url”;s:115:“Google Webmaster Tools - Sitemap Notification Received”;}}}’ WHERE option_name = ‘sm_status’ made by do_action_ref_array, call_user_func_array, GoogleSitemapGeneratorLoader->CallSendPing, GoogleSitemapGenerator->SendPing, GoogleSitemapGeneratorStatus->EndPing, GoogleSitemapGeneratorStatus->Save, update_option
[05-Jul-2012 04:08:09] WordPress database error MySQL server has gone away for query UPDATE wp_47_options SET option_value = ‘O:28:“GoogleSitemapGeneratorStatus”:3:{s:39:"\0GoogleSitemapGeneratorStatus\0startTime";d:1341461289.597529888153076171875;s:37:"\0GoogleSitemapGeneratorStatus\0endTime";i:0;s:41:"\0GoogleSitemapGeneratorStatus\0pingResults";a:3:{s:6:“google”;a:5:{s:9:“startTime”;d:1341461289.5991880893707275390625;s:7:“endTime”;d:1341461289.6373269557952880859375;s:7:“success”;b:1;s:3:“url”;s:115:“Google Webmaster Tools - Sitemap Notification Received”;}}}’ WHERE option_name = ‘sm_status’ made by do_action_ref_array, call_user_func_array, GoogleSitemapGeneratorLoader->CallSendPing, GoogleSitemapGenerator->SendPing, GoogleSitemapGeneratorStatus->StartPing, GoogleSitemapGeneratorStatus->Save, update_option
[05-Jul-2012 04:08:09] WordPress database error MySQL server has gone away for query UPDATE wp_47_options SET option_value = ‘O:28:“GoogleSitemapGeneratorStatus”:3:{s:39:"\0GoogleSitemapGeneratorStatus\0startTime";d:1341461289.597529888153076171875;s:37:"\0GoogleSitemapGeneratorStatus\0endTime";i:0;s:41:"\0GoogleSitemapGeneratorStatus\0pingResults";a:3:{s:6:“google”;a:5:{s:9:“startTime”;d:1341461289.5991880893707275390625;s:7:“endTime”;d:1341461289.6373269557952880859375;s:7:“success”;b:1;s:3:“url”;s:115:“Google Webmaster Tools - Sitemap Notification Received”;}}}’ WHERE option_name = ‘sm_status’ made by do_action_ref_array, call_user_func_array, GoogleSitemapGeneratorLoader->CallSendPing, GoogleSitemapGenerator->SendPing, GoogleSitemapGeneratorStatus->EndPing, GoogleSitemapGeneratorStatus->Save, update_option
[05-Jul-2012 04:08:09] WordPress database error MySQL server has gone away for query UPDATE wp_47_options SET option_value = ‘O:28:“GoogleSitemapGeneratorStatus”:3:{s:39:"\0GoogleSitemapGeneratorStatus\0startTime";d:1341461289.597529888153076171875;s:37:"\0GoogleSitemapGeneratorStatus\0endTime";d:1341461289.830977916717529296875;s:41:"\0GoogleSitemapGeneratorStatus\0pingResults";a:3:{s:6:“google”;a:5:{s:9:“startTime”;d:1341461289.5991880893707275390625;s:7:“endTime”;d:1341461289.6373269557952880859375;s:7:“success”;b:1;s:3:“url”;s:115:“Google Webmaster Tools - Sitemap Notification Received”;}}}’ WHERE option_name = ‘sm_status’ made by do_action_ref_array, call_user_func_array, GoogleSitemapGeneratorLoader->CallSendPing, GoogleSitemapGenerator->SendPing, GoogleSitemapGeneratorStatus->End, GoogleSitemapGeneratorStatus->Save, update_option
[05-Jul-2012 07:47:39] WordPress database error MySQL server has gone away for query UPDATE wp_40_options SET option_value = ‘a:3:{i:1341494220;a:3:{s:16:“wp_version_check”;a:1:{s:32:“40cd750bba9870f18aada2478b24840a”;a:3:{s:8:“schedule”;s:10:“twicedaily”;s:4:“args”;a:0:{}s:8:“interval”;i:43200;}}s:17:“wp_update_plugins”;a:1:{s:32:“40cd750bba9870f18aada2478b24840a”;a:3:{s:8:“schedule”;s:10:“twicedaily”;s:4:“args”;a:0:{}s:8:“interval”;i:43200;}}s:16:“wp_update_themes”;a:1:{s:32:“40cd750bba9870f18aada2478b24840a”;a:3:{s:8:“schedule”;s:10:“twicedaily”;s:4:“args”;a:0:{}s:8:“interval”;i:43200;}}}i:1341494221;a:1:{s:19:“wp_scheduled_delete”;a:1:{s:32:“40cd750bba9870f18aada2478b24840a”;a:3:{s:8:“schedule”;s:5:“daily”;s:4:“args”;a:0:{}s:8:“interval”;i:86400;}}}s:7:“version”;i:2;}’ WHERE option_name = ‘cron’ made by wp_unschedule_event, _set_cron_array, update_option
[05-Jul-2012 07:47:39] WordPress database error MySQL server has gone away for query UPDATE wp_40_options SET option_value = ‘O:28:“GoogleSitemapGeneratorStatus”:3:{s:39:"\0GoogleSitemapGeneratorStatus\0startTime";d:1341474459.63290500640869140625;s:37:"\0GoogleSitemapGeneratorStatus\0endTime";i:0;s:41:"\0GoogleSitemapGeneratorStatus\0pingResults";a:0:{}}’ WHERE option_name = ‘sm_status’ made by do_action_ref_array, call_user_func_array, GoogleSitemapGeneratorLoader->CallSendPing, GoogleSitemapGenerator->SendPing, GoogleSitemapGeneratorStatus->__construct, GoogleSitemapGeneratorStatus->Save, update_option
[05-Jul-2012 07:47:39] WordPress database error MySQL server has gone away for query UPDATE wp_40_options SET option_value = ‘O:28:“GoogleSitemapGeneratorStatus”:3:{s:39:"\0GoogleSitemapGeneratorStatus\0startTime";d:1341474459.63290500640869140625;s:37:"\0GoogleSitemapGeneratorStatus\0endTime";i:0;s:41:"\0GoogleSitemapGeneratorStatus\0pingResults";a:1:{s:6:“google”;a:5:{s:9:“startTime”;d:1341474459.634459972381591796875;s:7:“endTime”;i:0;s:7:“success”;b:0;s:3:“url”;s:109:“Google Webmaster Tools - Sitemap Notification Received”;}}}’ WHERE option_name = ‘sm_status’ made by do_action_ref_array, call_user_func_array, GoogleSitemapGeneratorLoader->CallSendPing, GoogleSitemapGenerator->SendPing, GoogleSitemapGeneratorStatus->StartPing, GoogleSitemapGeneratorStatus->Save, update_option
[05-Jul-2012 07:47:39] WordPress database error MySQL server has gone away for query UPDATE wp_40_options SET option_value = ‘O:28:“GoogleSitemapGeneratorStatus”:3:{s:39:"\0GoogleSitemapGeneratorStatus\0startTime";d:1341474459.63290500640869140625;s:37:"\0GoogleSitemapGeneratorStatus\0endTime";i:0;s:41:"\0GoogleSitemapGeneratorStatus\0pingResults";a:1:{s:6:“google”;a:5:{s:9:“startTime”;d:1341474459.634459972381591796875;s:7:“endTime”;d:1341474459.703887939453125;s:7:“success”;b:1;s:3:“url”;s:109:“Google Webmaster Tools - Sitemap Notification Received”;}}}’ WHERE option_name = ‘sm_status’ made by do_action_ref_array, call_user_func_array, GoogleSitemapGeneratorLoader->CallSendPing, GoogleSitemapGenerator->SendPing, GoogleSitemapGeneratorStatus->EndPing, GoogleSitemapGeneratorStatus->Save, update_option
[05-Jul-2012 07:47:39] WordPress database error MySQL server has gone away for query UPDATE wp_40_options SET option_value = ‘O:28:“GoogleSitemapGeneratorStatus”:3:{s:39:"\0GoogleSitemapGeneratorStatus\0startTime";d:1341474459.63290500640869140625;s:37:"\0GoogleSitemapGeneratorStatus\0endTime";i:0;s:41:"\0GoogleSitemapGeneratorStatus\0pingResults";a:2:{s:6:“google”;a:5:{s:9:“startTime”;d:1341474459.634459972381591796875;s:7:“endTime”;d:1341474459.703887939453125;s:7:“success”;b:1;s:3:“url”;s:109:“Google Webmaster Tools - Sitemap Notification Received”;}}}’ WHERE option_name = ‘sm_status’ made by do_action_ref_array, call_user_func_array, GoogleSitemapGeneratorLoader->CallSendPing, GoogleSitemapGenerator->SendPing, GoogleSitemapGeneratorStatus->StartPing, GoogleSitemapGeneratorStatus->Save, update_option
[05-Jul-2012 07:47:39] WordPress database error MySQL server has gone away for query UPDATE wp_40_options SET option_value = ‘O:28:“GoogleSitemapGeneratorStatus”:3:{s:39:"\0GoogleSitemapGeneratorStatus\0startTime";d:1341474459.63290500640869140625;s:37:"\0GoogleSitemapGeneratorStatus\0endTime";i:0;s:41:"\0GoogleSitemapGeneratorStatus\0pingResults";a:2:{s:6:“google”;a:5:{s:9:“startTime”;d:1341474459.634459972381591796875;s:7:“endTime”;d:1341474459.703887939453125;s:7:“success”;b:1;s:3:“url”;s:109:“Google Webmaster Tools - Sitemap Notification Received”;}}}’ WHERE option_name = ‘sm_status’ made by do_action_ref_array, call_user_func_array, GoogleSitemapGeneratorLoader->CallSendPing, GoogleSitemapGenerator->SendPing, GoogleSitemapGeneratorStatus->EndPing, GoogleSitemapGeneratorStatus->Save, update_option
[05-Jul-2012 07:47:39] WordPress database error MySQL server has gone away for query UPDATE wp_40_options SET option_value = ‘O:28:“GoogleSitemapGeneratorStatus”:3:{s:39:"\0GoogleSitemapGeneratorStatus\0startTime";d:1341474459.63290500640869140625;s:37:"\0GoogleSitemapGeneratorStatus\0endTime";i:0;s:41:"\0GoogleSitemapGeneratorStatus\0pingResults";a:3:{s:6:“google”;a:5:{s:9:“startTime”;d:1341474459.634459972381591796875;s:7:“endTime”;d:1341474459.703887939453125;s:7:“success”;b:1;s:3:“url”;s:109:“Google Webmaster Tools - Sitemap Notification Received”;}}}’ WHERE option_name = ‘sm_status’ made by do_action_ref_array, call_user_func_array, GoogleSitemapGeneratorLoader->CallSendPing, GoogleSitemapGenerator->SendPing, GoogleSitemapGeneratorStatus->StartPing, GoogleSitemapGeneratorStatus->Save, update_option
[05-Jul-2012 07:47:39] WordPress database error MySQL server has gone away for query UPDATE wp_40_options SET option_value = ‘O:28:“GoogleSitemapGeneratorStatus”:3:{s:39:"\0GoogleSitemapGeneratorStatus\0startTime";d:1341474459.63290500640869140625;s:37:"\0GoogleSitemapGeneratorStatus\0endTime";i:0;s:41:"\0GoogleSitemapGeneratorStatus\0pingResults";a:3:{s:6:“google”;a:5:{s:9:“startTime”;d:1341474459.634459972381591796875;s:7:“endTime”;d:1341474459.703887939453125;s:7:“success”;b:1;s:3:“url”;s:109:“Google Webmaster Tools - Sitemap Notification Received”;}}}’ WHERE option_name = ‘sm_status’ made by do_action_ref_array, call_user_func_array, GoogleSitemapGeneratorLoader->CallSendPing, GoogleSitemapGenerator->SendPing, GoogleSitemapGeneratorStatus->EndPing, GoogleSitemapGeneratorStatus->Save, update_option
[05-Jul-2012 07:47:39] WordPress database error MySQL server has gone away for query UPDATE wp_40_options SET option_value = ‘O:28:“GoogleSitemapGeneratorStatus”:3:{s:39:"\0GoogleSitemapGeneratorStatus\0startTime";d:1341474459.63290500640869140625;s:37:"\0GoogleSitemapGeneratorStatus\0endTime";d:1341474459.958857059478759765625;s:41:"\0GoogleSitemapGeneratorStatus\0pingResults";a:3:{s:6:“google”;a:5:{s:9:“startTime”;d:1341474459.634459972381591796875;s:7:“endTime”;d:1341474459.703887939453125;s:7:“success”;b:1;s:3:“url”;s:109:“Google Webmaster Tools - Sitemap Notification Received”;}}}’ WHERE option_name = ‘sm_status’ made by do_action_ref_array, call_user_func_array, GoogleSitemapGeneratorLoader->CallSendPing, GoogleSitemapGenerator->SendPing, GoogleSitemapGeneratorStatus->End, GoogleSitemapGeneratorStatus->Save, update_option

[quote=nouman.qureshi]
Here is my php error log:

[05-Jul-2012 00:33:07] PHP Fatal error: 1 total errors during this script execution, please investigate and try and fix these errors. First error was: Got invalid response from API request: http://blogs.terrapinn.com/stats/index.php?module=API&method=CoreAdminHome.runScheduledTasks&format=csv&convertToUnicode=0&token_auth=3a357fb87ffe36d2628cca17dcf3f24e&trigger=archivephp. Response was ’

end() \Websites\Stats\piwik\misc\cron\archive.php:62 [05-Jul-2012 00:33:07] PHP 3. Archiving->logFatalError() \Websites\Stats\piwik\misc\cron\archive.php:498 [05-Jul-2012 00:33:07] PHP 4. trigger_error() \Websites\Stats\piwik\misc\cron\archive.php:555[/quote]

Did you configure your logger_message appender as specified in 301 Moved Permanently ?

If so, the originating error will be logged in tmp/logs/logger_message.htm

The patch worked for me :slight_smile:

I had 2 rows in my logger_message.htm to communicate:

[2012-07-05 15:08:14] [a1370b2f] [14.59 Mb] PLEASE COMMUNICATE THIS LINE : Piwik_DataTable_Simple Object ( [rows:protected] => Array ( [0] => Piwik_DataTable_Row Object ( [c] => Array ( [0] => Array ( [nb_uniq_visitors] => 1026 [nb_visits] => 1305 [nb_actions] => 8712 [nb_visits_converted] => 419 [bounce_count] => 406 [sum_visit_length] => 325980 [max_actions] => 97 [bounce_rate] => 31% [nb_actions_per_visit] => 6.7 [avg_time_on_site] => 250 ) [1] => Array ( ) [3] => ) ) ) [parents:protected] => [currentId:protected] => 0 [depthLevel:protected] => 0 [indexNotUpToDate:protected] => 1 [rebuildIndexContinuously:protected] => [tableSortedBy:protected] => [queuedFilters:protected] => Array ( ) [rowsCountBeforeLimitFilter:protected] => 0 [enableRecursiveSort:protected] => [enableRecursiveFilters:protected] => [rowsIndexByLabel:protected] => Array ( ) [summaryRow:protected] => [metadata:protected] => Array ( ) ) | Piwik_DataTable_Row Object ( [c] => Array ( [0] => Array ( [nb_uniq_visitors] => 1026 [nb_visits] => 1305 [nb_actions] => 8712 [nb_visits_converted] => 419 [bounce_count] => 406 [sum_visit_length] => 325980 [max_actions] => 97 [bounce_rate] => 31% [nb_actions_per_visit] => 6.7 [avg_time_on_site] => 250 ) [1] => Array ( ) [3] => ) )

[2012-07-05 15:08:14] [a1370b2f] [15.65 Mb] PLEASE COMMUNICATE THIS LINE : Piwik_DataTable Object ( [rows:protected] => Array ( [0] => Piwik_DataTable_Row Object ( [c] => Array ( [0] => Array ( [label] => Google [2] => 232 [3] => 1497 [4] => 93 [5] => 49291 [6] => 82 [10] => Array ( [3] => Array ( [1] => 28 [3] => 28 [2] => 28 ) [6] => Array ( [1] => 51 [3] => 51 [2] => 51 ) [7] => Array ( [1] => 4 [3] => 4 [2] => 4 ) [1] => Array ( [1] => 8 [3] => 8 [2] => 8 ) [4] => Array ( [1] => 4 [3] => 4 [2] => 4 ) [5] => Array ( [1] => 1 [3] => 1 [2] => 1 ) ) [8] => 96 [9] => 96 [7] => 0 [11] => 230 ) [1] => Array ( ) [3] => 33 ) ) [1] => Piwik_DataTable_Row Object ( [c] => Array ( [0] => Array ( [label] => Google Images [2] => 20 [3] => 35 [4] => 3 [5] => 239 [6] => 9 [7] => 0 [11] => 20 ) [1] => Array ( ) [3] => 62 ) ) [2] => Piwik_DataTable_Row Object ( [c] => Array ( [0] => Array ( [label] => Startpagina (Google) [2] => 14 [3] => 103 [4] => 21 [5] => 1386 [6] => 5 [7] => 0 [10] => Array ( [6] => Array ( [1] => 1 [3] => 1 [2] => 1 ) [3] => Array ( [1] => 1 [3] => 1 [2] => 1 ) ) [8] => 2 [9] => 2 [11] => 14 ) [1] => Array ( ) [3] => 34 ) ) [3] => Piwik_DataTable_Row Object ( [c] => Array ( [0] => Array ( [label] => Babylon [2] => 4 [3] => 8 [4] => 3 [5] => 91 [6] => 1 [7] => 0 [10] => Array ( [6] => Array ( [1] => 1 [3] => 1 [2] => 1 ) ) [8] => 1 [9] => 1 [11] => 4 ) [1] => Array ( ) [3] => 64 ) ) [4] => Piwik_DataTable_Row Object ( [c] => Array ( [0] => Array ( [label] => Bing [2] => 2 [3] => 9 [4] => 6 [5] => 1519 [6] => 0 [7] => 1 [11] => 2 ) [1] => Array ( ) [3] => 90 ) ) [5] => Piwik_DataTable_Row Object ( [c] => Array ( [0] => Array ( [label] => Google Custom Search [2] => 2 [3] => 10 [4] => 6 [5] => 165 [6] => 0 [7] => 0 [11] => 2 ) [1] => Array ( ) [3] => 59 ) ) [6] => Piwik_DataTable_Row Object ( [c] => Array ( [0] => Array ( [label] => Bing Images [2] => 1 [3] => 9 [4] => 9 [5] => 316 [6] => 0 [7] => 0 [11] => 1 ) [1] => Array ( ) [3] => 97 ) ) [7] => Piwik_DataTable_Row Object ( [c] => Array ( [0] => Array ( [label] => Conduit.com [2] => 1 [3] => 7 [4] => 7 [5] => 128 [6] => 0 [10] => Array ( [6] => Array ( [1] => 1 [3] => 1 [2] => 1 ) ) [8] => 1 [9] => 1 [11] => 1 ) [1] => Array ( ) [3] => 39 ) ) [8] => Piwik_DataTable_Row Object ( [c] => Array ( [0] => Array ( [label] => Zoeken [2] => 1 [3] => 2 [4] => 2 [5] => 14 [6] => 0 [10] => Array ( [6] => Array ( [1] => 1 [3] => 1 [2] => 1 ) ) [8] => 1 [9] => 1 [11] => 1 ) [1] => Array ( ) [3] => 47 ) ) ) [parents:protected] => [currentId:protected] => 33 [depthLevel:protected] => 0 [indexNotUpToDate:protected] => 1 [rebuildIndexContinuously:protected] => [tableSortedBy:protected] => 2 [queuedFilters:protected] => Array ( [0] => Array ( [className] => ReplaceSummaryRowLabel [parameters] => Array ( ) ) [1] => Array ( [className] => ReplaceColumnNames [parameters] => Array ( ) ) [2] => Array ( [className] => ColumnCallbackAddMetadata [parameters] => Array ( [0] => label [1] => url [2] => Piwik_getSearchEngineUrlFromName ) ) [3] => Array ( [className] => MetadataCallbackAddMetadata [parameters] => Array ( [0] => url [1] => logo [2] => Piwik_getSearchEngineLogoFromUrl ) ) ) [rowsCountBeforeLimitFilter:protected] => 0 [enableRecursiveSort:protected] => [enableRecursiveFilters:protected] => [rowsIndexByLabel:protected] => Array ( ) [summaryRow:protected] => [metadata:protected] => Array ( [archived_date] => 2012-06-30 22:21:53 ) ) | Piwik_DataTable_Row Object ( [c] => Array ( [0] => Array ( [label] => Google [2] => 232 [3] => 1497 [4] => 93 [5] => 49291 [6] => 82 [10] => Array ( [3] => Array ( [1] => 28 [3] => 28 [2] => 28 ) [6] => Array ( [1] => 51 [3] => 51 [2] => 51 ) [7] => Array ( [1] => 4 [3] => 4 [2] => 4 ) [1] => Array ( [1] => 8 [3] => 8 [2] => 8 ) [4] => Array ( [1] => 4 [3] => 4 [2] => 4 ) [5] => Array ( [1] => 1 [3] => 1 [2] => 1 ) ) [8] => 96 [9] => 96 [7] => 0 [11] => 230 ) [1] => Array ( ) [3] => 33 ) )

Thank you for your help.

You can keep the patch until we find the best course of action.

You can stay informed with http://dev.piwik.org/trac/ticket/3207

With the patch installed, the automatic archive-proces stopt working. When I write the archive-proces (with a cronjob) in a logfile I found this:

Starting Piwik reports archiving…

Archiving period = day for idsite = 81…

Fatal error: Uncaught exception ‘Zend_Log_Exception’ with message ‘"/home/pree/domains/depree.nl/public_html/piwik/tmp/logs/logger_message.htm" cannot be opened with mode “a”’ in /home/pree/domains/depree.nl/public_html/piwik/libs/Zend/Log/Writer/Stream.php:81
Stack trace:
#0 /home/pree/domains/depree.nl/public_html/piwik/core/Log.php(55): Zend_Log_Writer_Stream->__construct(’/home/pree/doma…’)
#1 /home/pree/domains/depree.nl/public_html/piwik/core/Piwik.php(2101): Piwik_Log->addWriteToFile()
#2 /home/pree/domains/depree.nl/public_html/piwik/core/FrontController.php(296): Piwik::createLogObject()
#3 /home/pree/domains/depree.nl/public_html/piwik/index.php(52): Piwik_FrontController->init()
#4 {main}
thrown in /home/pree/domains/depree.nl/public_html/piwik/libs/Zend/Log/Writer/Stream.php on line 81

Site 81 is a site which is not active anymore (I thing it’s a site I deleted). The archiveproces still works when I Allow Piwik archiving to trigger when reports are viewed from the browser.
I have the following system:
Piwik 1.8.2
103 active websites to follow
PHP Versie 5.3.14
mySQL Versie 5.0.91
Server API apache2handler
OS Linux
safe_mode Off
register_globals Off
magic_quotes_gpc On
allow_url_fopen Off
fsockopen On
post_max_size 8M
max_input_time 60
output_buffering
max_execution_time 120
memory_limit 128M
file_uploads On
upload_max_filesize 8M

[quote=“Ko de Pree”]
’"/home/pree/domains/depree.nl/public_html/piwik/tmp/logs/logger_message.htm" cannot be opened with mode “a”’[/quote]

You need to give write permission to /home/pree/domains/depree.nl/public_html/piwik/tmp/logs/logger_message.htm for the user running the web server.

If you can not do this, remove


[log]
logger_message[] = file

from config/config.ini.php

Thanks Julien, it’s archiving again without the 2 lines in the config.ini.php

Is there any update on this issue. I can see the reports online but the reports sent out by the emails reports are virtually empty.

Thanks,
Bruce

I also have the issue of not receiving email reports. Some time ago the function stopped to work. After having applied the truncate.php patch, the “send report now” works again, but the scheduled report is not sent.

To everyone still experiencing issues

Please make sure you apply the following patch in 301 Moved Permanently which fixes the issue for some users

Then if it is not working still please help us by giving more debugging information as we don’t know yet the problem!:

[ol]

[li] If you need reliable scheduled reports, please activate auto archiving How to Set up Auto-Archiving of Your Reports - Analytics Platform - Matomo if you have not done so already.
[/li]

[li] Please activate Piwik logging if you have not already done so by adding the two lines below to the file [YOUR PIWIK FOLDER]/config/config.ini.php
[/li]


[log]


logger_message[] = file

[li]Please give read&write permissions on the entire directory [YOUR PIWIK FOLDER]/tmp to the user running your HTTP server. We can not give you the precise command as it depends on your environment/host.
[/li]
[li]After gone through points 1, 2 & 3, look for errors in
[/li]
[ul]
[li]Your HTTP server log files. The location of those files depends on your environment/host. We can not tell you where it is.
[/li]
[li]Your Piwik log files (located in /tmp/logs)
[/li]
[/ul]

Please communicate back on the forum any error found. When doing so, do precise which version of Piwik you are running.

If you do not know what to look for in those files, please perform a case insensitive search on the following keywords :
[ul]
[li] fatal
[/li] [li] error
[/li] [li] exception
[/li] [li] invalid
[/li] [li] stack
[/li] [li] trace
[/li] [li] stderr
[/li] [li] nesting
[/li][/ul]

[li]Users who activated XDEBUG by going through 301 Moved Permanently should disable it in their production environment.
[/li]
[/ol]

Thanks to everyone for making Piwik better.

Hello
for info: today always no automatic report sent …

@julien
I have followed all your last message, all tmp and inside have 777

I have a 403 error ???

JulienM, I’ve done everything you asked for. The first day the report was sent to me, yesterday not. In the Piwik log file I find no occurrence of any term you cited.

Do we know when there will be a patch to the site so we can get this fixed as all is done and still no emails have been sent

thanks
Josh

Josh,

My question on this is does anyone “after upgrading” have emailing of reports automatically at night happening?

Anyone? Anyone? Bueller…???

Yes, for me it works fine after using the patch.
But I have only a few sites.

For me it works too (after using the patch) , with 75 reports.

Well as for the patch can there be a download with the correct file etc. I will look at above stuff again but its not 100 percent clear thanks

Please apply this patch:


in core/DataTable/Filter/Truncate.php
@@ -35,11 +35,13 @@
 	{
 		$table->filter('AddSummaryRow', array($this->truncateAfter));
 		$table->filter('ReplaceSummaryRowLabel');
+		$currentDataTableId = $table->getId();
 	
 		foreach($table->getRows() as $row)
 		{
 			try {
 				$idSubTable = $row->getIdSubDataTable();
+				if($currentDataTableId == $idSubTable) continue;
 				$subTable = Piwik_DataTable_Manager::getInstance()->getTable($idSubTable);
 				$subTable->filter('Truncate', array($this->truncateAfter));
 			} catch(Exception $e) {

This should fix the issue, please let us know ?