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) »
  • manually adding event registration throws error sometimes
Pages: [1]

Author Topic: manually adding event registration throws error sometimes  (Read 905 times)

Sean Madsen

  • I post occasionally
  • **
  • Posts: 98
  • Karma: 5
  • CiviCRM implementer/developer
    • Bikes Not Bombs
  • CiviCRM version: 4.6
  • CMS version: Drupal 7
manually adding event registration throws error sometimes
May 18, 2009, 07:25:38 pm
I'm using Civi 2.2.0.

Sometimes when I try to enter a new event registration for a person I see an error message on the screen. Here is a snapshot of the log for one such case.

May 18 18:55:33  [info] $Fatal Error Details = Array
(
    [message] => We experienced an unexpected error. Please file an issue with the backtrace
    [c0de] =>
)


May 18 18:55:33  [info] $backTrace = /home/.tertia/bnbftp/crm.bikesnotbombs.org/civicrm-2.2.0-drupal/CRM/Core/Error.php, backtrace, 265
/home/.tertia/bnbftp/crm.bikesnotbombs.org/civicrm-2.2.0-drupal/CRM/Core/BAO/Discount.php, fatal, 128
/home/.tertia/bnbftp/crm.bikesnotbombs.org/civicrm-2.2.0-drupal/CRM/Event/Form/EventFees.php, findSet, 259
/home/.tertia/bnbftp/crm.bikesnotbombs.org/civicrm-2.2.0-drupal/CRM/Event/Form/Participant.php, setDefaultValues, 299
/home/.tertia/bnbftp/crm.bikesnotbombs.org/civicrm-2.2.0-drupal/CRM/Core/Form.php, preProcess, 312
/home/.tertia/bnbftp/crm.bikesnotbombs.org/civicrm-2.2.0-drupal/CRM/Core/StateMachine.php, buildForm, 142
/home/.tertia/bnbftp/crm.bikesnotbombs.org/civicrm-2.2.0-drupal/CRM/Core/QuickForm/Action/Next.php, perform, 63
/home/.tertia/bnbftp/crm.bikesnotbombs.org/civicrm-2.2.0-drupal/packages/HTML/QuickForm/Controller.php, perform, 203
/home/.tertia/bnbftp/crm.bikesnotbombs.org/civicrm-2.2.0-drupal/packages/HTML/QuickForm/Page.php, handle, 103
/home/.tertia/bnbftp/crm.bikesnotbombs.org/civicrm-2.2.0-drupal/CRM/Core/Controller.php, handle, 245
/home/.tertia/bnbftp/crm.bikesnotbombs.org/civicrm-2.2.0-drupal/CRM/Event/Page/Tab.php, run, 101
/home/.tertia/bnbftp/crm.bikesnotbombs.org/civicrm-2.2.0-drupal/CRM/Event/Page/Tab.php, edit, 142
/home/.tertia/bnbftp/crm.bikesnotbombs.org/civicrm-2.2.0-drupal/CRM/Core/Invoke.php, run, 205
/home/.tertia/bnbftp/crm.bikesnotbombs.org/civicrm-2.2.0-drupal/drupal/civicrm.module, invoke, 339
, civicrm_invoke,
/home/.tertia/bnbftp/crm.bikesnotbombs.org/drupal-6.9/includes/menu.inc, call_user_func_array, 348
/home/.tertia/bnbftp/crm.bikesnotbombs.org/drupal-6.9/index.php, menu_execute_active_handler, 18

Then when I try to enter the event registration again with the same information sometimes it works.

Anyone have any idea what's going on here?

Chris Burgess

  • Ask me questions
  • ****
  • Posts: 675
  • Karma: 59
Re: manually adding event registration throws error sometimes
May 18, 2009, 08:00:14 pm
Hi Sean

Are you editing a lot of contacts? IE, you're the staff member handling a large number of contact updates?

We saw similar behaviour, and my suspicion is that it's due to exceeding the available memory for session variables. For our staff the workaround was to log out, restart their browser, and log in. This would solve the issue for some days or weeks (depending on how many contacts they edited).

Pretty sure I posted a forum thread on this (it's just a crazy theory!) but can't find it right now. Sorry :)
@xurizaemon ● www.fuzion.co.nz

Sean Madsen

  • I post occasionally
  • **
  • Posts: 98
  • Karma: 5
  • CiviCRM implementer/developer
    • Bikes Not Bombs
  • CiviCRM version: 4.6
  • CMS version: Drupal 7
Re: manually adding event registration throws error sometimes
June 12, 2009, 03:00:56 pm
I'm still experiencing this issue, and it's proving to be a pretty major problem for me.

Most of the time, taking the following steps will temporarily resolve it (thanks to xurizaemon for the recommendation):

1. clear browser cache, cookies, authenticated sessions
2. restart browser

Sometimes that doesn't even fix it though and I just have to try over and over again (getting the error message) until finally it succeeds. Then it will work for a little while, and start giving the error message again.

I've tried using the "import participations" feature, but I can't record associated payments (or insert new contact records) with it, so it's not very useful for me.

Is there a bug entered for this issue? Are other people experiencing the issue? Is there another way I can work around it?

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: manually adding event registration throws error sometimes
June 12, 2009, 10:13:34 pm

can you reproduce this quite easily from any environment? Can you give us ssh access?

if so, please try to reproduce a couple of times and note the exact steps to reproduce. Then get on IRC and contact one of us (kurund, deepak or me)

we'll logon to your box and try to debug/fix

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • manually adding event registration throws error sometimes

This forum was archived on 2017-11-26.