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) »
  • Membership Report (Summary) crashes with 500 error
Pages: [1]

Author Topic: Membership Report (Summary) crashes with 500 error  (Read 756 times)

matthew

  • I’m new here
  • *
  • Posts: 5
  • Karma: 1
  • CiviCRM version: 4.1.5
  • CMS version: Drupal 6
  • MySQL version: 5.1
  • PHP version: 5.x
Membership Report (Summary) crashes with 500 error
September 03, 2012, 07:54:14 pm
Hi,

When I go to the Membership Report (Summary):
.../civicrm/report/instance/19?reset=1

The page fails to load with a 500 error.  The error message in the log file is:

PHP Fatal error:  Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (2000901) at position 4 (9): Unexpected character'

.../drupal-6.26/sites/all/modules/civicrm/CRM/Report/Form/Member/Summary.php:518

So... the string "2000901" (which is supposed to be a date?) generates a fatal parsing exception.  I have no idea where the string is coming from, or how to fix it.

If I remove "?reset=1" from the URL, the page will then load:
.../civicrm/report/instance/19

I can then adjust the report criteria.  However, certain criteria will cause exactly the same fatal error.  For example:

Uncheck "Member Since", and the report succeeds.
Specify "Member Since" = "This Year", and the report succeeds.

Any tips on what is wrong and how to fix it?  Should I submit this as a bug report?

I am running on MySQL database that I inherited from another admin.  I have done lots of other work on the system, including several CiviCRM upgrades.  I am currently running CiviCRM 4.1.5 on Drupal 6.  I think the problem has been there for a while.  In other words, I don't know if I somehow created the problem, or if it was there when I inherited the system.

If I go to "Reports" -> "Create Reports from Templates" -> "Membership Report (Summary)" -> "Preview Report", I get exactly the same fatal parsing exception.

Thanks!

matthew

  • I’m new here
  • *
  • Posts: 5
  • Karma: 1
  • CiviCRM version: 4.1.5
  • CMS version: Drupal 6
  • MySQL version: 5.1
  • PHP version: 5.x
Re: Membership Report (Summary) crashes with 500 error
September 03, 2012, 08:05:08 pm
Update:

I appear to have successfully created a fresh "Membership Report (Summary)", that does not have the problem.

I will update again if there are any additional developments.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviReport (Moderator: Dave Greenberg) »
  • Membership Report (Summary) crashes with 500 error

This forum was archived on 2017-11-26.