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 »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • "Confirm registration" link not working
Pages: [1]

Author Topic: "Confirm registration" link not working  (Read 1073 times)

Stuart Parker

  • I post occasionally
  • **
  • Posts: 64
  • Karma: 2
  • CiviCRM version: 4.5.2
  • CMS version: Drupal 7
  • MySQL version: 5.1.63
  • PHP version: 5.2.14
"Confirm registration" link not working
September 05, 2012, 02:41:57 am
After upgrading to v4.2 from v4.1, I have had several people wanting to complete their registration for events. However, when they clicked on the "Confirm Your Registration" (after I have approved their registration), they were getting an error. In the error log, it came up with this:

Quote
Warning: require_once(CRM/Event/BAO/participant.php): failed to open stream: No such file or directory in CRM_Core_ClassLoader::loadClass() (line 99 of .../sites/all/modules/civicrm/CRM/Core/ClassLoader.php)

I noticed that the actual file to be included is "Participant.php", so there is just a problem with the case (it's "participant.php" rather than "Participant.php"). I have done a temporary fix by copying the "Participant.php" file in CRM/Event/BAO and naming it "participant.php", but this could do with a proper fix.

Does anyone with better knowledge of the codebase know where this error is coming from?

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: "Confirm registration" link not working
September 05, 2012, 03:13:07 am
It's a bug, please filed: http://issues.civicrm.org/jira/browse/CRM-10774

Thanks
Kurund
« Last Edit: September 05, 2012, 04:14:18 am by Kurund Jalmi »
Found this reply helpful? Support CiviCRM

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: "Confirm registration" link not working
September 05, 2012, 04:17:07 am
Below is the patch for it:

Quote
Index: CRM/Event/Form/Registration/ParticipantConfirm.php
===================================================================
--- CRM/Event/Form/Registration/ParticipantConfirm.php   (revision 42230)
+++ CRM/Event/Form/Registration/ParticipantConfirm.php   (working copy)
@@ -114,8 +114,8 @@
 
       //need to confirm that though participant confirming
       //registration - but is there enough space to confirm.
-      $emptySeats   = CRM_Event_BAO_participant::pendingToConfirmSpaces($this->_eventId);
-      $additonalIds = CRM_Event_BAO_participant::getAdditionalParticipantIds($this->_participantId);
+      $emptySeats   = CRM_Event_BAO_Participant::pendingToConfirmSpaces($this->_eventId);
+      $additonalIds = CRM_Event_BAO_Participant::getAdditionalParticipantIds($this->_participantId);
       $requireSpace = 1 + count($additonalIds);
       if ($emptySeats !== NULL && ($requireSpace > $emptySeats)) {
         $statusMsg = ts("Oops, it looks like there are currently no available spaces for the %1 event.", array(1 => $values['title']));

Kurund
Found this reply helpful? Support CiviCRM

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • "Confirm registration" link not working

This forum was archived on 2017-11-26.