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 Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Getting ERROR when using a single Checkbox field in Profile in Contribution page
Pages: [1]

Author Topic: Getting ERROR when using a single Checkbox field in Profile in Contribution page  (Read 934 times)

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Getting ERROR when using a single Checkbox field in Profile in Contribution page
September 03, 2008, 02:32:01 am
Hard to set up on Sandbox. This problem has occured twice, though the first one seems to have resolved itself overnight. No idea what is going on.

We have a checkbox field in a profile in a Contribution page. Since adding this field (it only has a single checkbox) we are getting an error when it we move to the third step ie Processing. When I disable the field, or replace it with a radio button I have no problems. Just the single checkbox seems to throw it. Maybe it is how I am holding my tongue? Maybe it will have sorted itself overnight again. Here is the report in case it makes sense to anyone.

Array
(
    [callback] => Array
        (
           
  • => CRM_Core_Error
  • [1] => handle
            )

       
Code: [Select]
=> -5
    [message] => DB Error: already exists
    [mode] => 16
    [debug_info] => INSERT INTO custom_value_1_Special_Data  SET `supporter_enquiry` = '', domain_id = 1, entity_id = 13242  [nativecode=1062 ** Duplicate entry '1-13242' for key 2]
    [type] => DB_Error
    [user_info] => INSERT INTO custom_value_1_Special_Data  SET `supporter_enquiry` = '', domain_id = 1, entity_id = 13242  [nativecode=1062 ** Duplicate entry '1-13242' for key 2]
    [to_string] => [db_error: message="DB Error: already exists" code=-5 mode=callback callback=CRM_Core_Error::handle prefix="" info="INSERT INTO custom_value_1_Special_Data  SET `supporter_enquiry` = '', domain_id = 1, entity_id = 13242  [nativecode=1062 ** Duplicate entry '1-13242' for key 2]"]
)
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: Getting ERROR when using a single Checkbox field in Profile in Contribution page
September 03, 2008, 02:48:32 am
 ;D of course it could be something to do with me having several of the same page open on a logged in basis.
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: Getting ERROR when using a single Checkbox field in Profile in Contribution page
September 04, 2008, 09:52:14 pm
Actually the problem is that when using a single checkbox and then filling out the profile as a non-logged in user, it throws a wobbly. Again not sure if i can replicate in Sandbox.
Okay I tried but having a single checkbox in a profile in which I also had Email First + Last I was able to update that data.

Can anyone offer any advice based on the error report above?
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Getting ERROR when using a single Checkbox field in Profile in Contribution page

This forum was archived on 2017-11-26.