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 CiviEvent (Moderator: Yashodha Chaku) »
  • civievent register multiple participants get 500 internal server error
Pages: [1]

Author Topic: civievent register multiple participants get 500 internal server error  (Read 1704 times)

isabisa

  • I’m new here
  • *
  • Posts: 12
  • Karma: 1
  • CiviCRM version: 3.4
  • CMS version: Drupal 6.22
  • MySQL version: 5.0.92
  • PHP version: 5.3.6
civievent register multiple participants get 500 internal server error
July 25, 2011, 07:31:39 am
I'm running CiviCRM 3.4 on Drupal 6.22 and have encountered the following problem since at least CiviCRM 3.2 on Drupal 6.19. I updated to see if an update fixed the error, but no luck.

When a user registers for a paid event with multiple participants, there is a 500 internal server error upon submitting the form on the confirmation page. At that point, the payment gets processed, but the participants do not get recorded in the database. An email receipt for the payment goes through, but the registration confirmation email with participant data does not. The error does not show in my server error log, so I don't know what the error is.

The online registration settings for the paid events are as follows:
No registration start/end dates set
Register multiple participants is checked
Allow multiple registrations from the same email address is checked
No pending participant expiration

The include profile for the primary participant is "Name and Address" which includes First Name, Last Name, Mailing Address fields, Email Address, and 2 required custom fields (Individual).
The include profile for the additional participants is "Name" which includes First Name, Last Name, Email Address, and 2 required custom fields (Individual).

I have tried removed the custom fields completely from the profiles and changing the custom fields to be used for "All Contact Types" but still get the error. The only time I have not gotten the error is when registering 1 participant, regardless of the custom fields included.

My suspicion is that the error has to do with creating profiles for the additional participants, but I don't know how to troubleshoot this. Any help would be greatly appreciated.

My payment processor is Authorize.net and we have gotten this error in both live registration and test registration modes.

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: civievent register multiple participants get 500 internal server error
July 25, 2011, 08:31:40 am
Without an error message it's quite difficult to debug. Can you set your PHP error reporting to a higher level?
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.

isabisa

  • I’m new here
  • *
  • Posts: 12
  • Karma: 1
  • CiviCRM version: 3.4
  • CMS version: Drupal 6.22
  • MySQL version: 5.0.92
  • PHP version: 5.3.6
Re: civievent register multiple participants get 500 internal server error
July 25, 2011, 10:03:28 am
Here are all of the error messages from today. They seem like they are all timeouts on different functions, but the submission process for the event registration never varied.

[25-Jul-2011 09:37:50] PHP Fatal error:  Maximum execution time of 60 seconds exceeded in /home/theafle/public_html/sites/all/modules/civicrm/packages/dompdf/include/table_row_frame_decorator.cls.php on line 65
[25-Jul-2011 09:47:17] PHP Fatal error:  Maximum execution time of 60 seconds exceeded in /home/theafle/public_html/sites/all/modules/civicrm/packages/dompdf/include/frame.cls.php on line 686
[25-Jul-2011 09:58:35] PHP Fatal error:  Maximum execution time of 60 seconds exceeded in /home/theafle/public_html/sites/all/modules/civicrm/packages/dompdf/include/frame_decorator.cls.php on line 0
[25-Jul-2011 10:11:23] PHP Fatal error:  Maximum execution time of 60 seconds exceeded in /home/theafle/public_html/sites/all/modules/civicrm/packages/dompdf/include/frame.cls.php on line 235
[25-Jul-2011 10:14:11] PHP Fatal error:  Maximum execution time of 60 seconds exceeded in /home/theafle/public_html/sites/all/modules/civicrm/packages/dompdf/include/frame.cls.php on line 227
[25-Jul-2011 10:15:20] PHP Fatal error:  Maximum execution time of 60 seconds exceeded in /home/theafle/public_html/sites/all/modules/civicrm/packages/dompdf/include/style.cls.php on line 1417
[25-Jul-2011 12:58:10] PHP Fatal error:  Maximum execution time of 60 seconds exceeded in /home/theafle/public_html/sites/all/modules/civicrm/packages/dompdf/include/text_frame_reflower.cls.php on line 320

isabisa

  • I’m new here
  • *
  • Posts: 12
  • Karma: 1
  • CiviCRM version: 3.4
  • CMS version: Drupal 6.22
  • MySQL version: 5.0.92
  • PHP version: 5.3.6
Re: civievent register multiple participants get 500 internal server error
July 25, 2011, 10:05:45 am
Also, in case it matters, my server is running PHP 5.3.6 and MySQL 5.0.92-community

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: civievent register multiple participants get 500 internal server error
July 25, 2011, 10:11:02 am
The obvious question is: Can you increase the timeout?
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.

isabisa

  • I’m new here
  • *
  • Posts: 12
  • Karma: 1
  • CiviCRM version: 3.4
  • CMS version: Drupal 6.22
  • MySQL version: 5.0.92
  • PHP version: 5.3.6
Re: civievent register multiple participants get 500 internal server error
July 25, 2011, 10:46:07 am
I upped the timeout to 120 seconds and got the following timeout:
[25-Jul-2011 13:39:40] PHP Fatal error:  Maximum execution time of 120 seconds exceeded in /home/theafle/public_html/sites/all/modules/civicrm/packages/dompdf/include/text_frame_decorator.cls.php on line 75

2 minutes is an extraordinarily long period of time to wait for a form to submit. I don't think the timeout should be this high on a live version of the site. I don't mind upping it even more for this test server, but I need a real solution for the live site.

It looks like the participants are being recorded in the database now, but there is still no registration confirmation email and the user is left with a 500 error message on the screen.

What PDF is being created at this step of the registration process and is there a way for me to turn this off? The only time the admins for this site use anything PDF-related is when they print out name badges for an event, but that is done on the fly the day before the event, not as people register.

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: civievent register multiple participants get 500 internal server error
July 25, 2011, 10:49:29 am
This is the PDF receipt and this is a known issue. See here: http://forum.civicrm.org/index.php/topic,19801.0.html for potential solutions.
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.

isabisa

  • I’m new here
  • *
  • Posts: 12
  • Karma: 1
  • CiviCRM version: 3.4
  • CMS version: Drupal 6.22
  • MySQL version: 5.0.92
  • PHP version: 5.3.6
Re: civievent register multiple participants get 500 internal server error
July 25, 2011, 11:09:06 am
That is great! I turned off the PDF receipt in /civicrm/admin/setting/misc?reset=1 and that worked great! Thanks for all your help.

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: civievent register multiple participants get 500 internal server error
July 25, 2011, 11:28:48 am
My pleasure. Glad we got it. :)
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.

isabisa

  • I’m new here
  • *
  • Posts: 12
  • Karma: 1
  • CiviCRM version: 3.4
  • CMS version: Drupal 6.22
  • MySQL version: 5.0.92
  • PHP version: 5.3.6
Re: civievent register multiple participants get 500 internal server error
July 25, 2011, 11:54:58 am
Me too  :)

Now my only problem with the upgrade from 3.2 to 3.4 is that my custom name badges aren't working anymore. The PDF thing made me think of it. I've posted a new topic for it here: http://forum.civicrm.org/index.php/topic,20868.0.html

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • civievent register multiple participants get 500 internal server error

This forum was archived on 2017-11-26.