Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.2.8
-
Fix Version/s: 4.3.0
-
Component/s: None
-
Labels:None
Description
Upgrading to 4.2.8 broke the civireport cron with the error
There appears to be a regression on sessions for the reports sent out by cron job in 4.2.8.
I have set this to fix for 4.3 but actually I think it would be better to fix for 4.2.9 & push out a release because I think this is the 3rd thing we have hit a regression on from 4.2.7 to 4.2.8
Mar 12 03:37:41 [info] $Fatal Error Details = Array
(
[message] => We can't load the requested web page. This page requires cookies to be enabled in your browser settings. Please check this setting and enable cookies (if they are not enabled). Then try again. If this error persists, contact the site adminstrator for assistance.<br /><br />Site Administrators: This error may indicate that users are accessing this page using a domain or URL other than the configured Base URL. EXAMPLE: Base URL is http://example.org, but some users are accessing the page via http://www.example.org or a domain alias like http://myotherexample.org.<br /><br />Error type: Could not find a valid session key.
[code] =>
)
Mar 12 03:37:41 [info] $backTrace = #0 /var/www/mysite/my.mysite.org/sites/all/modules/civicrm/CRM/Core/Error.php(271): CRM_Core_Error::backtrace("backTrace", TRUE)
#1 /var/www/mysite/my.mysite.org/sites/all/modules/civicrm/CRM/Core/Controller.php(272): CRM_Core_Error::fatal("We can't load the requested web page. This page requires cookies to be enable...")
#2 /var/www/mysite/my.mysite.org/sites/all/modules/civicrm/CRM/Core/Controller.php(176): CRM_Core_Controller->key("CRM_Core_Controller_Simple", TRUE, FALSE)
#3 /var/www/mysite/my.mysite.org/sites/all/modules/civicrm/CRM/Core/Controller/Simple.php(63): CRM_Core_Controller->__construct(NULL, TRUE, NULL, "CRM_Report_Form_Contact_Summary", FALSE, FALSE)
#4 /var/www/mysite/my.mysite.org/sites/all/modules/civicrm/CRM/Utils/Wrapper.php(88): CRM_Core_Controller_Simple->__construct("CRM_Report_Form_Contact_Summary", NULL, NULL, FALSE, FALSE, FALSE, FALSE)
#5 /var/www/mysite/my.mysite.org/sites/all/modules/civicrm/CRM/Report/Utils/Report.php(376): CRM_Utils_Wrapper->run("CRM_Report_Form_Contact_Summary", NULL, (Array:1))
#6 /var/www/mysite/my.mysite.org/sites/all/modules/civicrm/api/v3/Job.php(145): CRM_Report_Utils_Report::processReport((Array:3))
#7 /var/www/mysite/my.mysite.org/sites/all/modules/civicrm/api/api.php(72): civicrm_api3_job_mail_report((Array:3))
#8 /var/www/mysite/my.mysite.org/sites/all/modules/civicrm/drupal/drush/civicrm.drush.inc(1144): civicrm_api("job", "mail_report", (Array:3))
#9 [internal function](): drush_civicrm_api("job.mail_report", "instanceId=54", "auth=0")
#10 /usr/share/php/drush/includes/command.inc(324): call_user_func_array("drush_civicrm_api", (Array:3))
#11 /usr/share/php/drush/includes/command.inc(198): _drush_invoke_hooks("civicrm-api", (Array:3), "civicrm")
#12 [internal function](): drush_command("job.mail_report", "instanceId=54", "auth=0")
#13 /usr/share/php/drush/includes/command.inc(165): call_user_func_array("drush_command", (Array:3))
#14 /usr/share/php/drush/drush.php(90): drush_dispatch((Array:27))
#15 /usr/share/php/drush/drush.php(59): _drush_bootstrap_and_dispatch()
#16 /usr/share/php/drush/drush.php(14): drush_main()
#17
eileen@svr:/var/www/mysite/my.mysite.org/sites/default/files/civicrm/ConfigAndLog$ drush -u 1 -r /var/www/mysite/my.mysite.org civicrm-api job.mail_report instanceId=54 auth=0