CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviReport (Moderator: Dave Greenberg) »
  • White Screen Error when making a pdf of a report
Pages: [1]

Author Topic: White Screen Error when making a pdf of a report  (Read 3435 times)

Ian G.

  • I post occasionally
  • **
  • Posts: 54
  • Karma: 0
    • Atlantic Coast Theatre
  • CiviCRM version: 4.4+
  • CMS version: Joomla 3+
White Screen Error when making a pdf of a report
April 25, 2012, 02:59:55 am
Hi.

Just upgraded to the latest CiviCRM version on Joomla and when I click to export a report to PDF I just get a blank white screen (no error report). 'Print' and 'Export to CSV' work fine.

Any ideas what the error might be?

Cheers,

Ian.

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: White Screen Error when making a pdf of a report
April 25, 2012, 01:55:33 pm
Could be a memory limit. Can you enable error reporting in PHP?
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

Ian G.

  • I post occasionally
  • **
  • Posts: 54
  • Karma: 0
    • Atlantic Coast Theatre
  • CiviCRM version: 4.4+
  • CMS version: Joomla 3+
Re: White Screen Error when making a pdf of a report
April 25, 2012, 02:23:03 pm
Not done that before. I'll see if I can figure out how to do it.

Cheers!

Ian G.

  • I post occasionally
  • **
  • Posts: 54
  • Karma: 0
    • Atlantic Coast Theatre
  • CiviCRM version: 4.4+
  • CMS version: Joomla 3+
Re: White Screen Error when making a pdf of a report
April 30, 2012, 08:34:18 am
I figured out how to activate PHP error reporting but it's not giving me any errors relating to CiviCRM. It did pick up some RSFirewall Errors, so I know it was running correctly at least!

Any other ideas why my PDFing is broken?

Cheers,

Ian.

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: White Screen Error when making a pdf of a report
April 30, 2012, 08:36:05 am
For a WSOD (white screen of death) usually an error is recorded in the Apache error logs. Can you look there?
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

Ian G.

  • I post occasionally
  • **
  • Posts: 54
  • Karma: 0
    • Atlantic Coast Theatre
  • CiviCRM version: 4.4+
  • CMS version: Joomla 3+
Re: White Screen Error when making a pdf of a report
April 30, 2012, 08:58:55 am
WSOD - love it!

I found some error reporting on my cpanel - the following are the sections that relate to the CiviCRM website (although it doesn't seem to have logged anything I've done today...

Quote
/home2/devonaut/public_html/lycettecare/reports/error_log: [30-Apr-2012 16:31:57] PHP Notice: Undefined property: stdClass::$gid in /home2/devonaut/public_html/lycettecare/reports/administrator/components/com_rsfirewall/helpers/rsfirewall.php on line 861 [30-Apr-2012 16:31:57] PHP Notice: Undefined property: stdClass::$gid in /home2/devonaut/public_html/lycettecare/reports/administrator/components/com_rsfirewall/helpers/rsfirewall.php on line 861 [30-Apr-2012 16:31:57] PHP Notice: Undefined property: stdClass::$gid in /home2/devonaut/public_html/lycettecare/reports/administrator/components/com_rsfirewall/helpers/rsfirewall.php on line 861 [30-Apr-2012 16:31:57] PHP Notice: Undefined property: stdClass::$gid in /home2/devonaut/public_html/lycettecare/reports/administrator/components/com_rsfirewall/helpers/rsfirewall.php on line 861 /home2/devonaut/public_html/lycettecare/reports/administrator/error_log: [24-Apr-2012 02:18:00] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 104161 bytes) in /home2/devonaut/public_html/lycettecare/reports/administrator/components/com_civicrm/civicrm/CRM/Core/Error.php on line 474 [24-Apr-2012 09:12:06] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 163841 bytes) in /home2/devonaut/public_html/lycettecare/reports/administrator/components/com_civicrm/civicrm/CRM/Core/Error.php on line 387 [25-Apr-2012 03:29:10] PHP Parse error: syntax error, unexpected T_IF, expecting T_FUNCTION in /home2/devonaut/public_html/lycettecare/reports/administrator/components/com_civicrm/civicrm/CRM/Activity/Form/Activity.php on line 867 [25-Apr-2012 03:51:01] PHP Fatal error: Class 'JFilterOutput' not found in /home2/devonaut/public_html/lycettecare/reports/administrator/modules/mod_menu/menu.php on line 223 [25-Apr-2012 03:55:07] PHP Fatal error: Class 'JFilterOutput' not found in /home2/devonaut/public_html/lycettecare/reports/administrator/modules/mod_menu/menu.php on line 223 [25-Apr-2012 04:06:26] PHP Warning: Illegal offset type in /home2/devonaut/public_html/lycettecare/reports/administrator/components/com_civicrm/civicrm/CRM/Contact/Form/Merge.php on line 220 [25-Apr-2012 04:48:56] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 25708 bytes) in /home2/devonaut/public_html/lycettecare/reports/administrator/components/com_civicrm/civicrm/CRM/Core/Error.php on line 474 [25-Apr-2012 05:18:50] PHP Warning: Illegal offset type in /home2/devonaut/public_html/lycettecare/reports/administrator/components/com_civicrm/civicrm/CRM/Contact/Form/Merge.php on line 220 [25-Apr-2012 05:19:18] PHP Warning: Illegal offset type in /home2/devonaut/public_html/lycettecare/reports/administrator/components/com_civicrm/civicrm/CRM/Contact/Form/Merge.php on line 220 [25-Apr-2012 07:17:59] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 163841 bytes) in /home2/devonaut/public_html/lycettecare/reports/administrator/components/com_civicrm/civicrm/CRM/Core/Error.php on line 387 [25-Apr-2012 13:45:52] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 87196 bytes) in /home2/devonaut/public_html/lycettecare/reports/administrator/components/com_civicrm/civicrm/CRM/Core/Error.php on line 474 [25-Apr-2012 17:57:41] PHP Fatal error: Class 'JFilterOutput' not found in /home2/devonaut/public_html/lycettecare/reports/administrator/modules/mod_menu/menu.php on line 223 [25-Apr-2012 18:01:17] PHP Fatal error: Class 'JFilterOutput' not found in /home2/devonaut/public_html/lycettecare/reports/administrator/modules/mod_menu/menu.php on line 223 [26-Apr-2012 06:57:25] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 86673 bytes) in /home2/devonaut/public_html/lycettecare/reports/administrator/components/com_civicrm/civicrm/CRM/Core/Error.php on line 474 [26-Apr-2012 07:05:24] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 163841 bytes) in /home2/devonaut/public_html/lycettecare/reports/administrator/components/com_civicrm/civicrm/CRM/Core/Error.php on line 387 [26-Apr-2012 07:31:52] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 163841 bytes) in /home2/devonaut/public_html/lycettecare/reports/administrator/components/com_civicrm/civicrm/CRM/Core/Error.php on line 387 [26-Apr-2012 14:10:57] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 163841 bytes) in /home2/devonaut/public_html/lycettecare/reports/administrator/components/com_civicrm/civicrm/CRM/Core/Error.php on line 387 [27-Apr-2012 00:04:29] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 163841 bytes) in /home2/devonaut/public_html/lycettecare/reports/administrator/components/com_civicrm/civicrm/CRM/Core/Error.php on line 387 [27-Apr-2012 10:02:03] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 84147 bytes) in /home2/devonaut/public_html/lycettecare/reports/administrator/components/com_civicrm/civicrm/CRM/Core/Error.php on line 474 [27-Apr-2012 10:11:05] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 85348 bytes) in /home2/devonaut/public_html/lycettecare/reports/administrator/components/com_civicrm/civicrm/CRM/Core/Error.php on line 474 [27-Apr-2012 11:46:07] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 88257 bytes) in /home2/devonaut/public_html/lycettecare/reports/administrator/components/com_civicrm/civicrm/CRM/Core/Error.php on line 474 [28-Apr-2012 10:05:44] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 163841 bytes) in /home2/devonaut/public_html/lycettecare/reports/administrator/components/com_civicrm/civicrm/CRM/Core/Error.php on line 387 [29-Apr-2012 06:37:20] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 163841 bytes) in /home2/devonaut/public_html/lycettecare/reports/administrator/components/com_civicrm/civicrm/CRM/Core/Error.php on line 387 [29-Apr-2012 12:17:54] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 163841 bytes) in /home2/devonaut/public_html/lycettecare/reports/administrator/components/com_civicrm/civicrm/CRM/Core/Error.php on line 387 [30-Apr-2012 03:06:15] PHP Fatal error: Class 'JFilterOutput' not found in /home2/devonaut/public_html/lycettecare/reports/administrator/modules/mod_menu/menu.php on line 223 [30-Apr-2012 03:08:07] PHP Fatal error: Class 'JFilterOutput' not found in /home2/devonaut/public_html/lycettecare/reports/administrator/modules/mod_menu/menu.php on line 223 [30-Apr-2012 09:28:02] PHP Fatal error: Class 'JFilterOutput' not found in /home2/devonaut/public_html/lycettecare/reports/administrator/modules/mod_menu/menu.php on line 223 [30-Apr-2012 09:29:48] PHP Fatal error: Class 'JFilterOutput' not found in /home2/devonaut/public_html/lycettecare/reports/administrator/modules/mod_menu/menu.php on line 223 [30-Apr-2012 09:32:28] PHP Fatal error: Class 'JFilterOutput' not found in /home2/devonaut/public_html/lycettecare/reports/administrator/modules/mod_menu/menu.php on line 223 [30-Apr-2012 09:53:26] PHP Fatal error: Class 'JFilterOutput' not found in /home2/devonaut/public_html/lycettecare/reports/administrator/modules/mod_menu/menu.php on line 223 /home2/devonaut/public_html/lycettecare/reports/administrator/components/com_civicrm/civicrm/bin/error_log: [01-Oct-2011 12:00:08] PHP Fatal error: Class 'JError' not found in /home2/devonaut/public_html/lycettecare/reports/administrator/components/com_civicrm/civicrm/CRM/Core/Error.php on line 306 [01-Oct-2011 18:00:04] PHP Fatal error: Class 'JError' not found in /home2/devonaut/public_html/lycettecare/reports/administrator/components/com_civicrm/civicrm/CRM/Core/Error.php on line 306 [02-Oct-2011 00:00:10] PHP Fatal error: Class 'JError' not found in /home2/devonaut/public_html/lycettecare/reports/administrator/components/com_civicrm/civicrm/CRM/Core/Error.php on line 306 [02-Oct-2011 00:00:10] PHP Fatal error: Class 'JError' not found in /home2/devonaut/public_html/lycettecare/reports/administrator/components/com_civicrm/civicrm/CRM/Core/Error.php on line 306 [02-Oct-2011 06:00:07] PHP Fatal error: Class 'JError' not found in /home2/devonaut/public_html/lycettecare/reports/administrator/components/com_civicrm/civicrm/CRM/Core/Error.php on line 306 [02-Oct-2011 12:00:07] PHP Fatal error: Class 'JError' not found in /home2/devonaut/public_html/lycettecare/reports/administrator/components/com_civicrm/civicrm/CRM/Core/Error.php on line 306 [02-Oct-2011 18:00:05] PHP Fatal error: Class 'JError' not found in /home2/devonaut/public_html/lycettecare/reports/administrator/components/com_civicrm/civicrm/CRM/Core/Error.php on line 306 [03-Oct-2011 00:00:11] PHP Fatal error: Class 'JError' not found in /home2/devonaut/public_html/lycettecare/reports/administrator/components/com_civicrm/civicrm/CRM/Core/Error.php on line 306 [03-Oct-2011 04:09:41] PHP Fatal error: Class 'JError' not found in /home2/devonaut/public_html/lycettecare/reports/administrator/components/com_civicrm/civicrm/CRM/Core/Error.php on line 306 [03-Oct-2011 04:21:45] PHP Fatal error: Class 'JError' not found in /home2/devonaut/public_html/lycettecare/reports/administrator/components/com_civicrm/civicrm/CRM/Core/Error.php on line 306 [18-Jan-2012 09:00:07] PHP Fatal error: Class 'JError' not found in /home2/devonaut/public_html/lycettecare/reports/administrator/components/com_civicrm/civicrm/CRM/Core/Error.php on line 306 [18-Jan-2012 09:23:04] PHP Fatal error: Class 'JError' not found in /home2/devonaut/public_html/lycettecare/reports/administrator/components/com_civicrm/civicrm/CRM/Core/Error.php on line 306 [18-Jan-2012 09:24:04] PHP Fatal error: Class 'JError' not found in /home2/devonaut/public_html/lycettecare/reports/administrator/components/com_civicrm/civicrm/CRM/Core/Error.php on line 306 [18-Jan-2012 09:25:02] PHP Fatal error: Class 'JError' not found in /home2/devonaut/public_html/lycettecare/reports/administrator/components/com_civicrm/civicrm/CRM/Core/Error.php on line 306 [18-Jan-2012 09:26:03] PHP Fatal error: Class 'JError' not found in /home2/devonaut/public_html/lycettecare/reports/administrator/components/com_civicrm/civicrm/CRM/Core/Error.php on line 306 [18-Jan-2012 09:27:03] PHP Fatal error: Class 'JError' not found in /home2/devonaut/public_html/lycettecare/reports/administrator/components/com_civicrm/civicrm/CRM/Core/Error.php on line 306

Does this mean anything to you? Or maybe I've still not found the right log?

Ian.

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: White Screen Error when making a pdf of a report
April 30, 2012, 09:51:00 am
I see "Allowed memory size of 134217728 bytes exhausted (tried to allocate 84147 bytes)" which matches what I first said: looks like it may be a lack of sufficient RAM.
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

Ian G.

  • I post occasionally
  • **
  • Posts: 54
  • Karma: 0
    • Atlantic Coast Theatre
  • CiviCRM version: 4.4+
  • CMS version: Joomla 3+
Re: White Screen Error when making a pdf of a report
April 30, 2012, 09:53:40 am
Is that something I can fix in the php.ini or is it something the host (bluehost) will have set a limit on?

PS. Thanks for finding that needle in the haystack!!!

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: White Screen Error when making a pdf of a report
April 30, 2012, 09:55:30 am
You will have to ask them about that.
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

Ian G.

  • I post occasionally
  • **
  • Posts: 54
  • Karma: 0
    • Atlantic Coast Theatre
  • CiviCRM version: 4.4+
  • CMS version: Joomla 3+
Re: White Screen Error when making a pdf of a report
April 30, 2012, 09:55:58 am
Cool. Thanks for your help!

Cheers,

Ian.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviReport (Moderator: Dave Greenberg) »
  • White Screen Error when making a pdf of a report

This forum was archived on 2017-11-26.