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 "Register additional people for this event"
Pages: [1] 2

Author Topic: Problem with "Register additional people for this event"  (Read 4203 times)

acostaron

  • I’m new here
  • *
  • Posts: 16
  • Karma: 0
  • CiviCRM version: 4.0.7
  • CMS version: Joomla 1.7.3
  • MySQL version: 5.1.56
  • PHP version: 5.2.17
Problem with "Register additional people for this event"
October 04, 2009, 12:39:21 am
Hi,

I have newly installed Civicrm 3.0 in Joomla 1.5.14. I configured 1 event and would like to use the feature of registering additional people. However, when I tested the live site, clicking the "Register additional people for this event" button does not work - when my mouse is placed over the button, the status bar just shows http://mysite.com/index.php#

I don't know what went wrong. The online registration is activated, I have paypal standard, and pricing setup.

Please help. Thanks.

Ron

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: Problem with "Register additional people for this event"
October 04, 2009, 07:34:02 am

can u reproduce this on the demo server: joomla.demo.civicrm.org

thanx

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

acostaron

  • I’m new here
  • *
  • Posts: 16
  • Karma: 0
  • CiviCRM version: 4.0.7
  • CMS version: Joomla 1.7.3
  • MySQL version: 5.1.56
  • PHP version: 5.2.17
Re: Problem with "Register additional people for this event"
October 05, 2009, 12:27:14 pm
The one I tried in the demo server worked.  ???

In my site, the "Register additional..." feature only works when I am logged-in in the joomla administrator panel and in the Civicrm admin using the links "Test drive registration" and "Live registration". The Live Registration link url is http://www.XXXXXX-nj.com/administrator/index2.php?option=com_civicrm&task=civicrm/event/register&reset=1&id=5

Thanks,

ron

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Problem with "Register additional people for this event"
October 05, 2009, 06:46:28 pm
ron - You said your "live" registration link was http://www.XXXXXX-nj.com/administrator/index2.php?option=com_civicrm&task=civicrm/event/register&reset=1&id=5

... is this the link you're trying to use from the front-end (when you're not logged in to admin site)? You need to create a front-end menu item for event registration using the Joomla menu manager as discussed here:

http://wiki.civicrm.org/confluence/display/CRMDOC/Configuring+Front-end+Event+Info+and+Registration+in+Joomla%21+Sites

If this is NOT the issue, then my next guess is that the Javascript resources on your front-end CiviCRM pages aren't being loaded properly. See if you get any Javascript errors displayed in your browser.
Protect your investment in CiviCRM by  becoming a Member!

acostaron

  • I’m new here
  • *
  • Posts: 16
  • Karma: 0
  • CiviCRM version: 4.0.7
  • CMS version: Joomla 1.7.3
  • MySQL version: 5.1.56
  • PHP version: 5.2.17
Re: Problem with "Register additional people for this event"
October 06, 2009, 02:50:20 pm
hi dave,

The button only works when I'm logged-in in the admin site.

Yes, I have a front-end menu item for the event registration but the button to register additional participants does nothing when clicked and I don't see any javascript errors displayed in my browser. How can I check if the Javascript resources are being loaded properly?

Thanks,

ron

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Problem with "Register additional people for this event"
October 07, 2009, 10:13:42 am
You can do a View Source on that page. You should see a <script> tag something like this

Code: [Select]
<script type="text/javascript" src="/(your Joomla base URL)/administrator/components/com_civicrm/civicrm/js/Common.js"></script>

... and if you copy and paste that into your browser location bar - your should be able to view Common.js. If you get Page Not Found then your CIVICRM_UF_BASEURL in your settings file (civicrm.settings.php) may be incorrect.
Protect your investment in CiviCRM by  becoming a Member!

acostaron

  • I’m new here
  • *
  • Posts: 16
  • Karma: 0
  • CiviCRM version: 4.0.7
  • CMS version: Joomla 1.7.3
  • MySQL version: 5.1.56
  • PHP version: 5.2.17
Re: Problem with "Register additional people for this event"
October 07, 2009, 02:34:11 pm
hi dave,

I did try your suggestion and I was able to view Common.js. So it's not a civicrm.settings error. I also checked my civicrm.settings.php file and the baseurl is correct.

any other suggestions for me to check?

Thanks,

ron

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Problem with "Register additional people for this event"
October 07, 2009, 04:33:54 pm
Ron - you'll need to use FireFox's Firebug extension or some other Javascript debugger to figure out why the hide() and show() functions referenced in the HTML for that button aren't working:

Code: [Select]
<a href="#" class="button" onclick="hide('noOfparticipants_show'); show('noOfparticipants'); document.getElementById('additional_participants').focus(); return false;"><span>&raquo; Register additional people for this event</span></a>
Protect your investment in CiviCRM by  becoming a Member!

acostaron

  • I’m new here
  • *
  • Posts: 16
  • Karma: 0
  • CiviCRM version: 4.0.7
  • CMS version: Joomla 1.7.3
  • MySQL version: 5.1.56
  • PHP version: 5.2.17
Re: Problem with "Register additional people for this event"
October 08, 2009, 09:26:02 pm
hi dave,

this is what I got using Firebug -

Code: [Select]
<div id="noOfparticipants_show" style="display: block;">
<a class="button" onclick="hide('noOfparticipants_show'); show('noOfparticipants'); document.getElementById('additional_participants').focus(); return false;" href="#" style="">
<span>» Register additional people for this event</span>
</a>
</div>
it looks the same as the one you posted.

thanks,

ron

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Problem with "Register additional people for this event"
October 09, 2009, 11:28:00 am
Can you post the link to your event registration page? We still think it's likely that your configuration / resource URL is wrong - but seeing the page is about the only way I can think to help at this point.
Protect your investment in CiviCRM by  becoming a Member!

acostaron

  • I’m new here
  • *
  • Posts: 16
  • Karma: 0
  • CiviCRM version: 4.0.7
  • CMS version: Joomla 1.7.3
  • MySQL version: 5.1.56
  • PHP version: 5.2.17
Re: Problem with "Register additional people for this event"
October 09, 2009, 12:35:26 pm
Hi Dave,

here is the link to my registration page:

http://cfcusa-nj.com/menu-member-services/events/2010-register

thanks,

ron

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Problem with "Register additional people for this event"
October 09, 2009, 04:28:51 pm
I see 2 things - not sure which is the culprit...

1. Seems like you are using two different values for Resource URL / Base URL. One with 'www.' and one without
(EXAMPLE: http://www.cfcusa-nj.com/administrator/components/com_civicrm/civicrm/ vs. http://cfcusa-nj.com/administrator/components/com_civicrm/civicrm/

So you should check BASE_URL in your civicrm.settings.php files (both under components/com_civicrm and administrator/components/com_civicrm) - and fix if needed to remove 'www.'

Then verify that your Global Settings >> Resource URL is complete (not relative) and also does NOT include  the 'www.'

2. If that doesn't fix things, then it may be the SEO module you are using (Search Engine Optimization) that's causing this. Try disabling that and seeing what happens.
Protect your investment in CiviCRM by  becoming a Member!

acostaron

  • I’m new here
  • *
  • Posts: 16
  • Karma: 0
  • CiviCRM version: 4.0.7
  • CMS version: Joomla 1.7.3
  • MySQL version: 5.1.56
  • PHP version: 5.2.17
Re: Problem with "Register additional people for this event"
October 17, 2009, 04:59:00 pm
Hi Dave,

I just got back from an out-of-town trip. I tried disabling the SEO but it didn't solve the problem. What I did was to create another joomla site just for events using CiviCRM and now my event registration site is working. I'm happy for now with this setup.

Thanks,

ron

TechWild

  • Guest
Re: Problem with "Register additional people for this event"
January 12, 2010, 12:16:36 pm
I also am having this issue!

After turning off SEO. Internet explorer gave me the following as "Error on page" message.

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2)
Timestamp: Tue, 12 Jan 2010 20:10:09 UTC

Message: Can't move focus to the control because it is invisible, not enabled, or of a type that does not accept the focus.
Line: 745
Char: 58
Code: 0
URI: http://www.removedurl.org/index.php?option=com_civicrm&task=civicrm/event/register&id=3&reset=1


I have the following set up:
Joomla 1.5.14
CiviCRM 3.0.1
Template: Rocket theme – Affinity

I tried to go in and turn off any template features. I also tried turning on the “Enable JS Compatibility” feature in the template options.

Any ideas?
« Last Edit: January 15, 2010, 05:53:39 am by TechWild »

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Problem with "Register additional people for this event"
January 12, 2010, 02:55:44 pm
Hmm - I played with your page and used Firebug console to issue the 'onclick' javascript calls which are supposed to do the job - and from the console they work fine. Really not sure what's going on - but seems likely some conflict with other javascript functions loaded in your theme. Sorry I can't help any more than that. :-(
Protect your investment in CiviCRM by  becoming a Member!

Pages: [1] 2
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Problem with "Register additional people for this event"

This forum was archived on 2017-11-26.