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) »
  • Contribution Landing Page - Errors
Pages: [1]

Author Topic: Contribution Landing Page - Errors  (Read 683 times)

Traveler777

  • I post occasionally
  • **
  • Posts: 43
  • Karma: 0
  • CiviCRM version: 3.3.2
  • CMS version: Drupal 6.2
Contribution Landing Page - Errors
March 17, 2011, 10:40:31 am
I am not sure what else to look out for, so I am seeking some help here.

After confirming a membership contribution form we are facing two challenges - see attachment.

1) Unable to send e-mail.
2) DB Error.

To #1 - is this error message coming from Drupal? I have confirmed that our CiviMail settings are all working and we can send emails.
To #2 - this seems to have to do with recurring payments and duplicate errors (http://forum.civicrm.org/index.php/topic,19046.0.html)

So I am wondering now if the above error prevents the form from displaying the "Thank you" landing page?

We are using the LoginToboggan as well.

Thanks for any thoughts on this



Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Contribution Landing Page - Errors
March 17, 2011, 01:51:41 pm
The "Unable to send e-mail" is a Drupal message.

The DB Error is a CiviCRM message but we would need to see what's inside to help.  What I mean is to click  on the Error Details part to see the details and post them here.
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

Traveler777

  • I post occasionally
  • **
  • Posts: 43
  • Karma: 0
  • CiviCRM version: 3.3.2
  • CMS version: Drupal 6.2
Re: Contribution Landing Page - Errors
March 17, 2011, 02:15:00 pm
This is the error code for the membership transaction:

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

       
Code: [Select]
=> -5
    [message] => DB Error: already exists
    [mode] => 16
    [debug_info] => INSERT INTO civicrm_financial_trxn (trxn_date , trxn_type , total_amount , net_amount , currency , payment_processor , trxn_id ) VALUES ( xxx , 'Debit' ,  80.00 ,  80.00 , 'USD' , 'AuthNet' , 'test00000001' )  [nativecode=1062 ** Duplicate entry 'test00000001' for key 2]
    [type] => DB_Error
    [user_info] => INSERT INTO civicrm_financial_trxn (trxn_date , trxn_type , total_amount , net_amount , currency , payment_processor , trxn_id ) VALUES ( xxx , 'Debit' ,  80.00 ,  80.00 , 'USD' , 'AuthNet' , 'test00000001' )  [nativecode=1062 ** Duplicate entry 'test00000001' 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 civicrm_financial_trxn (trxn_date , trxn_type , total_amount , net_amount , currency , payment_processor , trxn_id ) VALUES ( xxx , 'Debit' ,  80.00 ,  80.00 , 'USD' , 'AuthNet' , 'test00000001' )  [nativecode=1062 ** Duplicate entry 'test00000001' for key 2]"]
)



Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Contribution Landing Page - Errors
March 17, 2011, 03:13:39 pm
Appears to be a problem with the test mode of AuthNet. Not sure what code is at fault. Anyhow I would suggest you try it in live mode and see if it works, because the odds are this error only will occur in test mode. That's my guess.
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

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

This forum was archived on 2017-11-26.