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) »
  • Problem with Waitlist pending email
Pages: [1]

Author Topic: Problem with Waitlist pending email  (Read 3013 times)

cotterb

  • I’m new here
  • *
  • Posts: 4
  • Karma: 1
Problem with Waitlist pending email
November 12, 2009, 05:57:45 pm
The Registered status confirmation email includes a link to confirm, however it's not working. 


In CivicEvent I created an event and limited the number of participants.  I then created enough participants to fill the event +1.  Then I changed the status of a registered participant to 'Cancelled'. 

For this event, at this point, I have 1 vacancy and 1 participant on the wait list.

I followed the instructions in http://wiki.civicrm.org/confluence/display/CRMDOC/Command-line+Script+Configuration to get my ParticipantProcessor.php to run but had a couple of concerns.
  • The file name for ParticipantProcessor.php was ParticipantProcessor.php.txt  I renamed it to remove the .txt, however in the guide it said that you would only need to do that if the php file needed more information/configuration.  I couldn't find any configuration needed in that file.
  • I noticed that in the referenced civicrm.settings.php file it had the base CivicRM directories as the administrator area for joomla (/joomla/administrator...)
  • When I looked at the civicrm.settings.php in the component area of the user directory I saw that the base CivicRM directories were set for the user are (/joomla)
  • I noticed that there isn't a bin director in the user component directories of joomla....the ParticipantProcessor.php file was only in the admin subfolders.

I ran the ParticipantProcessor.php (I didn't do this through a cron job, rather I just browsed to it.)  The page was successful.  I saw that the participant status changed from Waitlist to Pending Waitlist confirmation.   

I checked the email I received from the job and it desired a confirmation. 

Code: [Select]
http://cotterb.com/joomla/administrator/index2.php?option=com_civicrm&task=civicrm/event/confirm&reset=1&participantId=10&cs=45ab77297421a5e176eb9adc0e4aae95_1258070429_inf
I noticed that in the email the link was trying to go to the administrator section of joomla.  When I clicked on the email it did not cause the participant's status to update, rather it brought up the administrator login page. 

It seems that the link should be referencing the user area of Joomla.  I feel like I should be running the ParticipantProcessor.php file from the /joomla/components/com_civicrm/bin directory...but that doesn't exist. 

Any ideas?  Did my install fail somewhere?

Thanks

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Problem with Waitlist pending email
November 13, 2009, 12:24:18 pm
This is a bug with the way the URL is being generated for this email. I'll post a quick fix for you shortly and an issue tracker item.
Protect your investment in CiviCRM by  becoming a Member!

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Problem with Waitlist pending email
November 13, 2009, 04:26:10 pm
Issue filed to be fixed for 3.0.3 and upcoming 3.1 release.

In the meantime, you can try the following if you want to fix it yourself:

Modify line 8 of <joomla_root>/administrator/components/com_civicrm/templates/CRM/Event/Form/ParticipantConfirmMessage.tpl so it looks like the line below (you're adding "fe=true" to list parameters in crmURL):

Code: [Select]
{capture assign=confirmUrl}{crmURL p='civicrm/event/confirm' q="reset=1&participantId=`$participant.id`&cs=`$checksumValue`" a=true h=0 fe=true}{/capture}
Protect your investment in CiviCRM by  becoming a Member!

cotterb

  • I’m new here
  • *
  • Posts: 4
  • Karma: 1
Re: Problem with Waitlist pending email
November 13, 2009, 05:11:34 pm
I made the update.  The script still updated things correctly, however the new email had the link:
Code: [Select]
http://cotterb.com/joomla/index.php?option=com_civicrm&task=civicrm/event/confirm&reset=1&participantId=10&cs=ea5c030b5af8fdf077f56e3ee1824033_1258160902_inf
When I clicked on that email I got an error:
You do not have permission to execute this url.

Thanks for looking at this.  

Also, this is occurring with the Registrant Approval process as well.  The link thats sent after a person is approved behaves the same as above. 

Brian

« Last Edit: November 13, 2009, 05:34:28 pm by cotterb »

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Problem with Waitlist pending email
November 16, 2009, 10:09:34 am
Ok - looks like problems with BOTH the link creation and the permissioning. This will be fixed for 3.03 - you can follow the issue here:

http://issues.civicrm.org/jira/browse/CRM-5396
Protect your investment in CiviCRM by  becoming a Member!

cotterb

  • I’m new here
  • *
  • Posts: 4
  • Karma: 1
Re: Problem with Waitlist pending email
November 16, 2009, 11:12:03 am
Thanks for letting me know.  I'll keep up with it there.

Brian

sykong

  • Guest
Re: Problem with Waitlist pending email
December 08, 2009, 07:18:54 am
Does this bug affect the drupal version?

Clicking on the link sends me to my drupal homepage instead

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Problem with Waitlist pending email
December 08, 2009, 11:39:50 am
As far as I know, only affects Joomla. Can you paste the link you're getting in the email so we can see what's up.
Protect your investment in CiviCRM by  becoming a Member!

sykong

  • Guest
Re: Problem with Waitlist pending email
December 08, 2009, 03:25:40 pm
This is the link that was sent in the email

http://crm.bfec.org.sg/civicrm/event/confirm?reset=1&participantId=1152&cs=6243648f5743973c5f7857e4176da81c_1260284308_262.54194444444

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Problem with Waitlist pending email
December 09, 2009, 05:09:42 pm
I ran a test on my local sandbox and got the same type of URL:
http://localhost/dgg/drupal6/civicrm/event/confirm?reset=1&participantId=53&cs=b899596bb2464328c7fdb15687f0750e_1260406432_390.11861111111

... and got the expected behavior (page with button to confirm my registration for cancel it)

So not sure what's going on for your site. You should check Drupal watchdog (recent log entries) to see if there's an access denied on that path (civicrm/event/confirm) - and possibly also check apache logs.
Protect your investment in CiviCRM by  becoming a Member!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Problem with Waitlist pending email

This forum was archived on 2017-11-26.