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 CiviContribute (Moderator: Donald Lobo) »
  • CiviContribute Profiles error
Pages: [1]

Author Topic: CiviContribute Profiles error  (Read 1584 times)

bails

  • Guest
CiviContribute Profiles error
January 22, 2009, 08:13:22 am
Hi firstly I like to say I've tried to reproduce this behavior on the demo site but have been unsuccessful.

When adding a profile to a CiviContribute form and selecting the profiles to add and saving.
Going back to the add profiles page shows completely different profiles selected.
The same applies when going to the add profiles pages and dropping back to <select> and save, again revisist the add profiles page and again they appear as different profiles not <select>.

Any Ideas?

Thanks

Bails

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: CiviContribute Profiles error
January 22, 2009, 08:18:57 am

can you update your SMF forum profile and add info regarding your CMS/CRM/PHP/MySQL versions

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

bails

  • Guest
Re: CiviContribute Profiles error
January 26, 2009, 02:46:20 am
Hi I've updated my details.  I'm now wondering if I can manipulate the SQL by hand in order to get the correct profile/s selected, is there a way to do this? Its pretty urgent.


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: CiviContribute Profiles error
January 26, 2009, 08:02:49 am
you can manipulate the civicrm_uf_join table. entity_id is the id of the contribution page. uf_group_id is the is of the profile you want. weight=1 appears at the top, any other weight at the bottom


Code: [Select]
mysql> select * from civicrm_uf_join where entity_id = 1 \G;
*************************** 1. row ***************************
          id: 7
   is_active: 1
      module: CiviContribute
entity_table: civicrm_contribution_page
   entity_id: 1
      weight: 1
 uf_group_id: 1
*************************** 2. row ***************************
          id: 9
   is_active: 1
      module: CiviContribute
entity_table: civicrm_contribution_page
   entity_id: 1
      weight: 2
 uf_group_id: 2
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

bails

  • Guest
Re: CiviContribute Profiles error
January 28, 2009, 01:30:53 am
Thanks Lobo that worked a charm.  Incidentally I expected to see just 2 rows in the DB for each profile, in reality some had 2 some had 3 hopefully when I have more time I will try to replicate this behavior.

My next problem is again civicontribute but I'll start another topic for that one.

Cheers

Bails

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • CiviContribute Profiles error

This forum was archived on 2017-11-26.