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) »
  • Anonymous User registration fails for non paid events
Pages: [1]

Author Topic: Anonymous User registration fails for non paid events  (Read 1133 times)

rightsprocket

  • Guest
Anonymous User registration fails for non paid events
October 07, 2009, 06:28:35 am
I created a non paid event and if I register as an anonymous user it fails.  The screen flips to the index page of my site without going to the confirmation screen.  If I login as a user then registration works fine or if I make the event a paid event.

Kiran Jagtap

  • Ask me questions
  • ****
  • Posts: 533
  • Karma: 51
Re: Anonymous User registration fails for non paid events
October 07, 2009, 06:34:35 am
It looks like cms account creation fails for free event registration.

can u please integrate this patch and let us know.

go to CRM/Event/Form/Registration.php line around 704

replace this if condition -
Code: [Select]
if ( CRM_Utils_Array::value( 'is_pay_later', $this->_params ) ||
     $this->_allowWaitlist || $this->_requireApproval ) {
      $mail = 'email-Primary';
}

with code :

Quote
if ( CRM_Utils_Array::value( 'is_pay_later', $this->_params ) ||
     $this->_allowWaitlist || $this->_requireApproval ||
     !CRM_Utils_Array::value( 'is_monetary', $this->_values['event'] ) ) {
      $mail = 'email-Primary';
}

thanks

kiran
« Last Edit: October 07, 2009, 06:36:15 am by kiran »
You Are Designed To Choose... Defined By Choice.

rightsprocket

  • Guest
Re: Anonymous User registration fails for non paid events
October 07, 2009, 06:39:44 am
I have confirmed that this patch does work and fixes the original issue.

Kiran Jagtap

  • Ask me questions
  • ****
  • Posts: 533
  • Karma: 51
Re: Anonymous User registration fails for non paid events
October 08, 2009, 12:18:32 am
for tracking purpose : http://issues.civicrm.org/jira/browse/CRM-5198

kiran
You Are Designed To Choose... Defined By Choice.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Anonymous User registration fails for non paid events

This forum was archived on 2017-11-26.