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) »
  • Trouble with multiple participants in one event
Pages: [1]

Author Topic: Trouble with multiple participants in one event  (Read 633 times)

RachelWright

  • I post occasionally
  • **
  • Posts: 78
  • Karma: 3
  • CiviCRM version: 4.2.7
  • CMS version: Joomla 2.5.17
  • MySQL version: 5.5.37
  • PHP version: 5.4.26
Trouble with multiple participants in one event
March 17, 2014, 07:56:55 pm
I'm having trouble registering multiple participants for one event. After entering information for the first participant, when you press continue it takes you to an empty page with URL www.mydomain.com/index.php?option=com_civicrm&task=civicrm/event/register

for some reason it doesn't seem to append &_qf_Participant_1_display=true&qfKey=checksumnumber

I've tried a variety of different profiles and combinations to no avail. I've looked at my error logs and config log but can't find anything. Maybe I'm not looking  in the right place?

Any suggestions out there?

I'm running 4.2.7 on Joomla 2.5.17.

RachelWright

  • I post occasionally
  • **
  • Posts: 78
  • Karma: 3
  • CiviCRM version: 4.2.7
  • CMS version: Joomla 2.5.17
  • MySQL version: 5.5.37
  • PHP version: 5.4.26
Re: Trouble with multiple participants in one event
March 18, 2014, 02:25:55 pm
Ok, I tracked it down:

PHP Fatal error:  Call-time pass-by-reference has been removed in /administrator/components/com_civicrm/civicrm/CRM/Event/Form/Registration/AdditionalParticipant.php on line 397

Line 397 checks that either an email or firstname+lastname is included in the form(CRM-9587)

      CRM_Event_Form_Registration_Register::checkProfileComplete($fields, &$errors, $self->_eventId);

The & is not needed. I Removed it and all seems to be working fine. This is already taken care of in 4.4.4 (maybe sooner) but in the case someone else runs across this, just wanted to share.

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Trouble with multiple participants in one event
March 19, 2014, 02:27:41 am
there is a later version of 4.2 out - if you can't upgrade to 4.4 you should upgrade to 4.2.16 - which is considered to be a very safe upgrade for someone already on 4.2.x & has a number of bug fixes & security patches (not sure about this one).

there are no db changes from 4.2.7 to 4.2.16 (although you are supposed to run the upgrade script it only alters the version in the civicrm_domain table) so if for any reason you wanted to you could downgrade again (which would not be possible with a greater upgrade).

There are good security reasons to upgrade
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

RachelWright

  • I post occasionally
  • **
  • Posts: 78
  • Karma: 3
  • CiviCRM version: 4.2.7
  • CMS version: Joomla 2.5.17
  • MySQL version: 5.5.37
  • PHP version: 5.4.26
Re: Trouble with multiple participants in one event
March 19, 2014, 09:38:10 pm
Thank you Eileen, when I originally upgraded from 4.2.3, I wanted to upgrade to 4.4 I went in steps as several post recommended but had a lot of trouble making it out of 4.2.7. (I tried 4.2.8, 4.2.9, 4.3.0, 4.3.1, 4.3.5 and they each failed.) I will go back again and try 4.2.16 as I think you're referring to this article https://civicrm.org/advisory/civi-sa-2014-001-risk-information-disclosure while we had already taken a few precautions in relation to our uploads directory I'd love to get a proper upgrade working.


thanks again

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Trouble with multiple participants in one event
March 20, 2014, 12:05:41 am
Even if your upgrade to 4.2.16 doesn't run the last DB update in the 4.2.x series is in the upgrade to 4.2.7 - so it should work fine.
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Trouble with multiple participants in one event

This forum was archived on 2017-11-26.