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) »
  • Profiles and Online Registration
Pages: [1]

Author Topic: Profiles and Online Registration  (Read 4221 times)

sykong

  • Guest
Profiles and Online Registration
October 07, 2009, 09:51:40 am
I have created my own custom profiles, one of which is called "Event Registration".

The problem I have is that the profile for additional participants (bottom of page) keeps defaulting to this profile every time I try to edit my events.

It's the same for events created via template, or without template. This also affects the template. I can't duplicate this in the demo.

Any idea what's wrong?

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Profiles and Online Registration
October 07, 2009, 10:21:10 pm
We've seen this type of issue in prior releases when there are duplicate entries for the same 'combination' of profile and event page in the civicrm_uf_join table. If you can dump the contents of that table here, that might help...

Code: [Select]
SELECT *
FROM `civicrm_uf_join`
ORDER BY entity_table, entity_id
Protect your investment in CiviCRM by  becoming a Member!

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: Profiles and Online Registration
October 07, 2009, 10:37:50 pm

what version are u seeing this on? there was a fix for this in 2.2.7 or 2.2.8

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

sykong

  • Guest
Re: Profiles and Online Registration
October 08, 2009, 05:40:37 pm
I am seeing this on version 3.0

The dump for civicrm_uf_join is as follows

Quote
INSERT INTO `civicrm_uf_join` (`id`, `is_active`, `module`, `entity_table`, `entity_id`, `weight`, `uf_group_id`) VALUES
(2, 1, 'User Account', NULL, NULL, 1, 1),
(3, 1, 'Profile', NULL, NULL, 1, 1),
(4, 1, 'Profile', NULL, NULL, 2, 2),
(5, 1, 'Profile', NULL, NULL, 2, 4),
(6, 1, 'Profile', NULL, NULL, 2, 5),
(7, 1, 'Profile', NULL, NULL, 2, 6),
(42, 0, 'CiviEvent_Additional', 'civicrm_event', 1, 2, 8),
(91, 1, 'CiviEvent', 'civicrm_event', 1, 2, 8),
(129, 1, 'CiviEvent_Additional', 'civicrm_event', 2, 1, 7),
(130, 1, 'CiviEvent', 'civicrm_event', 2, 1, 7),
(92, 1, 'CiviEvent_Additional', 'civicrm_event', 3, 2, 9),
(102, 1, 'CiviEvent', 'civicrm_event', 3, 2, 9),
(105, 1, 'CiviEvent_Additional', 'civicrm_event', 4, 1, 7),
(107, 1, 'CiviEvent_Additional', 'civicrm_event', 4, 2, 8),
(126, 1, 'CiviEvent', 'civicrm_event', 4, 1, 7),
(127, 1, 'CiviEvent', 'civicrm_event', 4, 2, 8);

The "Event Registration" profile that keeps becoming the default for additional participants (bottom of page) is uf_group_id 7. It looks like the correct profiles are being saved.

Is entity_id the event id? "2" is a template. "3" is based on the template. "4" is the latest one created, not based on the template.

Yashodha Chaku

  • Forum Godess / God
  • Ask me questions
  • *****
  • Posts: 755
  • Karma: 57
    • CiviCRM
Re: Profiles and Online Registration
October 09, 2009, 03:28:46 pm
sykong :

It looks like the default for the "Profile for Additional Participants (bottom of page)" is wrongly set to "-same as for main contact-"
and when you try to save the Online Registration form, it saves the wrong value and hence the behaviour.


-Yashodha
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

Yashodha Chaku

  • Forum Godess / God
  • Ask me questions
  • *****
  • Posts: 755
  • Karma: 57
    • CiviCRM
Re: Profiles and Online Registration
October 09, 2009, 03:32:12 pm
I have filed an issue for this in 3.0.2.
http://issues.civicrm.org/jira/browse/CRM-5212

-Yashodha
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

Yashodha Chaku

  • Forum Godess / God
  • Ask me questions
  • *****
  • Posts: 755
  • Karma: 57
    • CiviCRM
Re: Profiles and Online Registration
October 15, 2009, 04:51:59 pm
sykong :

We fixed this in revision 24182.
You might want to take a look at the patch :
http://fisheye2.atlassian.com/changelog/CiviCRM/?cs=24182

HTH
-Yashodha
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

sykong

  • Guest
Re: Profiles and Online Registration
October 26, 2009, 06:37:31 am
I don't know if this is related.

I created another additional profile and renamed the current ones. The weight of the profiles in the uf_join table are now all "3", including the ones that I did not edit.

sykong

  • Guest
Re: Profiles and Online Registration
October 26, 2009, 06:44:49 am
After editing my events, I now end up with the following in my uf_join table (split into 3 parts)

Code: [Select]
INSERT INTO `civicrm_uf_join` (`id`, `is_active`, `module`, `entity_table`, `entity_id`, `weight`, `uf_group_id`) VALUES
(2, 1, 'User Account', NULL, NULL, 3, 1),
(3, 1, 'Profile', NULL, NULL, 3, 1),
(4, 1, 'Profile', NULL, NULL, 3, 2),
(5, 1, 'Profile', NULL, NULL, 3, 4),
(6, 1, 'Profile', NULL, NULL, 3, 5),
(7, 1, 'Profile', NULL, NULL, 3, 6),

Can I delete the part 2 below?
Code: [Select]
(42, 1, 'CiviEvent_Additional', 'civicrm_event', 1, 3, 8),
(92, 1, 'CiviEvent_Additional', 'civicrm_event', 3, 3, 9),
(105, 1, 'CiviEvent_Additional', 'civicrm_event', 4, 3, 7),
(107, 1, 'CiviEvent_Additional', 'civicrm_event', 4, 3, 8),
(129, 1, 'CiviEvent_Additional', 'civicrm_event', 2, 3, 7),
(133, 1, 'CiviEvent_Additional', 'civicrm_event', 1, 3, 7),
(134, 1, 'CiviEvent', 'civicrm_event', 2, 3, 7),
(135, 1, 'CiviEvent', 'civicrm_event', 2, 3, 8),
(136, 1, 'CiviEvent_Additional', 'civicrm_event', 2, 3, 8),
(139, 1, 'CiviEvent_Additional', 'civicrm_event', 3, 3, 7),

Part 3 below looks correct.
Code: [Select]
(146, 1, 'CiviEvent', 'civicrm_event', 4, 1, 7),
(147, 1, 'CiviEvent', 'civicrm_event', 4, 2, 10),
(148, 1, 'CiviEvent_Additional', 'civicrm_event', 4, 1, 7),
(149, 1, 'CiviEvent_Additional', 'civicrm_event', 4, 2, 10),
(150, 1, 'CiviEvent', 'civicrm_event', 3, 1, 7),
(151, 1, 'CiviEvent', 'civicrm_event', 3, 2, 9),
(152, 1, 'CiviEvent_Additional', 'civicrm_event', 3, 1, 7),
(153, 1, 'CiviEvent_Additional', 'civicrm_event', 3, 2, 9),
(154, 1, 'CiviEvent', 'civicrm_event', 1, 1, 7),
(155, 1, 'CiviEvent', 'civicrm_event', 1, 2, 8),
(156, 1, 'CiviEvent_Additional', 'civicrm_event', 1, 1, 7),
(157, 1, 'CiviEvent_Additional', 'civicrm_event', 1, 2, 8);

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: Profiles and Online Registration
October 26, 2009, 07:08:09 am

1. what version are you using?

2. Can we get ssh access to your box. check the requirements and instructions here

http://wiki.civicrm.org/confluence/display/CRMDOC/SSH+Access+Requirements

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

sykong

  • Guest
Re: Profiles and Online Registration
October 26, 2009, 07:45:38 am
Am still on 3.0

Just tried to re-trace my steps
1. Copy profile - All okay
2. Edit profile (edited ID 8) - Weights that were "1" and "2" increased by 1 (including other IDs) ie min weight is now "2" and max weight is now "3"
3. Edit profile again - weights are all "3" now.

Do you have a ssh key I can use or you need a password?

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: Profiles and Online Registration
October 26, 2009, 08:05:43 am

need a password

i tried the same sequence of steps on my latest 3.0 codebase and could not replicate

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

jwurth

  • I’m new here
  • *
  • Posts: 1
  • Karma: 0
Re: Profiles and Online Registration
October 30, 2009, 12:06:53 pm
Hey Awesome Donald!

We're having the same issue on our install of CiviCRM within Joomla. Will upgrading to 3.0.2 fix this? If not, would you happen to be willing to help us out? ;)

Thanks!

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: Profiles and Online Registration
October 30, 2009, 01:11:26 pm

we've fixed this for 3.0.2

if its still broken, ping us on IRC

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

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Profiles and Online Registration

This forum was archived on 2017-11-26.