Answers.Body: <p>After updating to the latest CiviCRM it seems the problem was corrected.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-03-22T14:38:39.140Z
Answers.LastActivityDate: 2018-03-22T14:38:39.140Z
Answers.UserDisplayName: user3115902
Body: <p>Recently we have been getting an error when attempting to generate pdfs. The only change of note has been that our server just upgraded to FreeBSD 10. When the process is run I get a HTTP 500 error. I have looked at the error logs and am unsure that it is showing the error. Listed below is the error that is repeated in the log. This is a Civi (4.7.29) install via wordpress (4.9.4). Any help is appreciated.</p>
  
  <pre><code>#1 /wp-content/plugins/civicrm/civicrm/CRM/Core/Controller.php(833): CRM_Core_Error::fatal("We can't load the requested web page. This page requires cookies to be enable...")
  #2 /wp-content/plugins/civicrm/civicrm/CRM/Core/Controller.php(828): CRM_Core_Controller-&gt;invalidKeyCommon()
  #3 /wp-content/plugins/civicrm/civicrm/CRM/Core/Controller.php(312): CRM_Core_Controller-&gt;invalidKey()
  #4 /wp-content/plugins/civicrm/civicrm/CRM/Core/Controller.php(204): CRM_Core_Controller-&gt;key("CRM_Report_Form_Contact_Summary", TRUE, FALSE)
  #5 /wp-content/plugins/civicrm/civicrm/CRM/Core/Controller/Simple.php(66): CRM_Core_Controller-&gt;__construct(NULL, TRUE, NULL, "CRM_Report_Form_Contact_Summary", FALSE, FALSE)
  #6 /wp-content/plugins/civicrm/civicrm/CRM/Utils/Wrapper.php(84): CRM_Core_Controller_Simple-&gt;__construct("CRM_Report_Form_Contact_Summary", NULL, NULL, FALSE, FALSE, FALSE, FALSE)
  #7 /wp-content/plugins/civicrm/civicrm/CRM/Report/Page/Instance.php(89): CRM_Utils_Wrapper-&gt;run("CRM_Report_Form_Contact_Summary", NULL, NULL)
  #8 /wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php(309): CRM_Report_Page_Instance-&gt;run((Array:4), NULL)
  #9 /wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php(84): CRM_Core_Invoke::runItem((Array:14))
  #10 /wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php(52): CRM_Core_Invoke::_invoke((Array:4))
  #11 /wp-content/plugins/civicrm/civicrm.php(1216): CRM_Core_Invoke::invoke((Array:4))
  #12 [internal function](): CiviCRM_For_WordPress-&gt;invoke("")
  #13 /wp-includes/class-wp-hook.php(286): call_user_func_array((Array:2), (Array:1))
  #14 /wp-includes/class-wp-hook.php(310): WP_Hook-&gt;apply_filters("", (Array:1))
  #15 /wp-includes/plugin.php(453): WP_Hook-&gt;do_action((Array:1))
  #16 /wp-admin/admin.php(224): do_action("toplevel_page_CiviCRM")
  #17 {main}
  
  [message] =&gt; 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 administrator for assistance.&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;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.&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;Error type: Could not find a valid session key.
  [code] =&gt; 
  </code></pre>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2018-03-21T14:39:44.283Z
Comments.Text: Are you using wkhtmltopdf?  If so, does that need upgrading?
Comments.UserDisplayName: Aidan
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2018-03-21T14:44:35.560Z
Comments.Text: No we are using the default PDF utility. We have thought about using wkhtmltopdf though we would need to compile it for FreeBSD 10.
Comments.UserDisplayName: user3115902
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2018-03-22T09:11:06.650Z
Comments.Text: What did you use before FreeBSD 10. Also FreeBSD or Linux?
Comments.UserDisplayName: Kainuk - CiviCooP
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2018-03-22T13:17:39.510Z
Comments.Text: In your `civicrm.settings.php` file the variable CIVICRM_UF_BASEURL is set. Are you accessing the site on the same url?
Comments.UserDisplayName: Kainuk - CiviCooP
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2018-03-22T14:37:50.367Z
Comments.Text: Yes, all the resource urls seemed to be correct in review.
Comments.UserDisplayName: user3115902
Tags: <wordpress><error><pdf><debugging>
Title: Reports will no longer generate pdfs:Shows HTTP 500 error
ThreadText: # Reports will no longer generate pdfs:Shows HTTP 500 error
  
  (Asked by: username_0 on 2018-03-20)
  
  Recently we have been getting an error when attempting to generate pdfs. The only change of note has been that our server just upgraded to FreeBSD 10. When the process is run I get a HTTP 500 error. I have looked at the error logs and am unsure that it is showing the error. Listed below is the error that is repeated in the log. This is a Civi (4.7.29) install via wordpress (4.9.4). Any help is appreciated.
  #1 /wp-content/plugins/civicrm/civicrm/CRM/Core/Controller.php(833): CRM_Core_Error::fatal("We can't load the requested web page. This page requires cookies to be enable...")
  #2 /wp-content/plugins/civicrm/civicrm/CRM/Core/Controller.php(828): CRM_Core_Controller->invalidKeyCommon()
  #3 /wp-content/plugins/civicrm/civicrm/CRM/Core/Controller.php(312): CRM_Core_Controller->invalidKey()
  #4 /wp-content/plugins/civicrm/civicrm/CRM/Core/Controller.php(204): CRM_Core_Controller->key("CRM_Report_Form_Contact_Summary", TRUE, FALSE)
  #5 /wp-content/plugins/civicrm/civicrm/CRM/Core/Controller/Simple.php(66): CRM_Core_Controller->__construct(NULL, TRUE, NULL, "CRM_Report_Form_Contact_Summary", FALSE, FALSE)
  #6 /wp-content/plugins/civicrm/civicrm/CRM/Utils/Wrapper.php(84): CRM_Core_Controller_Simple->__construct("CRM_Report_Form_Contact_Summary", NULL, NULL, FALSE, FALSE, FALSE, FALSE)
  #7 /wp-content/plugins/civicrm/civicrm/CRM/Report/Page/Instance.php(89): CRM_Utils_Wrapper->run("CRM_Report_Form_Contact_Summary", NULL, NULL)
  #8 /wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php(309): CRM_Report_Page_Instance->run((Array:4), NULL)
  #9 /wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php(84): CRM_Core_Invoke::runItem((Array:14))
  #10 /wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php(52): CRM_Core_Invoke::_invoke((Array:4))
  #11 /wp-content/plugins/civicrm/civicrm.php(1216): CRM_Core_Invoke::invoke((Array:4))
  #12 [internal function](): CiviCRM_For_WordPress->invoke("")
  #13 /wp-includes/class-wp-hook.php(286): call_user_func_array((Array:2), (Array:1))
  #14 /wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters("", (Array:1))
  #15 /wp-includes/plugin.php(453): WP_Hook->do_action((Array:1))
  #16 /wp-admin/admin.php(224): do_action("toplevel_page_CiviCRM")
  #17 {main}
  
  [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 administrator 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] =>
  
  **Tags:** wordpress, error, pdf, debugging
  
  > **Comments:**
  > **username_1**: Are you using wkhtmltopdf?  If so, does that need upgrading?  
  > **username_0**: No we are using the default PDF utility. We have thought about using wkhtmltopdf though we would need to compile it for FreeBSD 10.  
  > **username_2**: What did you use before FreeBSD 10. Also FreeBSD or Linux?  
  > **username_2**: In your `civicrm.settings.php` file the variable CIVICRM_UF_BASEURL is set. Are you accessing the site on the same url?  
  > **username_0**: Yes, all the resource urls seemed to be correct in review.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2018-03-22. Score: 1
  
  After updating to the latest CiviCRM it seems the problem was corrected.
  
  
  ---
  
  