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 CiviMail (Moderator: Piotr Szotkowski) »
  • Message received when try to send out test mail -- "DB Error: unknown error"
Pages: [1]

Author Topic: Message received when try to send out test mail -- "DB Error: unknown error"  (Read 975 times)

natasheebear

  • Guest
Message received when try to send out test mail -- "DB Error: unknown error"
December 10, 2008, 01:01:13 pm
Anyone out there want to take a stab and helping me fix this problem? On a scale 1 to 10 of how comfortable I feel using phpMyAdminm, I'd say I'm about a 4. Thanks in advance  :).

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

       
Code: [Select]
=> -1
    [message] => DB Error: unknown error
    [mode] => 16
    [debug_info] => INSERT INTO civicrm_mailing_event_queue (job_id , contact_id , hash ) VALUES ( 57 ,  1 , '4d0e21165aed9024d80fe0a05a166e2bbc7d5d97' )  [nativecode=1452 ** Cannot add or update a child row: a foreign key constraint fails (`wayssouth/civicrm_mailing_event_queue`, CONSTRAINT `FK_civicrm_mailing_event_queue_email_id` FOREIGN KEY (`email_id`) REFERENCES `civicrm_email` (`id`) ON DELETE CASCADE)]
    [type] => DB_Error
    [user_info] => INSERT INTO civicrm_mailing_event_queue (job_id , contact_id , hash ) VALUES ( 57 ,  1 , '4d0e21165aed9024d80fe0a05a166e2bbc7d5d97' )  [nativecode=1452 ** Cannot add or update a child row: a foreign key constraint fails (`wayssouth/civicrm_mailing_event_queue`, CONSTRAINT `FK_civicrm_mailing_event_queue_email_id` FOREIGN KEY (`email_id`) REFERENCES `civicrm_email` (`id`) ON DELETE CASCADE)]
    [to_string] => [db_error: message="DB Error: unknown error" code=-1 mode=callback callback=CRM_Core_Error::handle prefix="" info="INSERT INTO civicrm_mailing_event_queue (job_id , contact_id , hash ) VALUES ( 57 ,  1 , '4d0e21165aed9024d80fe0a05a166e2bbc7d5d97' )  [nativecode=1452 ** Cannot add or update a child row: a foreign key constraint fails (`wayssouth/civicrm_mailing_event_queue`, CONSTRAINT `FK_civicrm_mailing_event_queue_email_id` FOREIGN KEY (`email_id`) REFERENCES `civicrm_email` (`id`) ON DELETE CASCADE)]"]
)

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Message received when try to send out test mail -- "DB Error: unknown error"
December 10, 2008, 04:32:46 pm
Please update your forum profile with information about versions of CiviCRM, your CMS, PHP and MySQL versions. That will help folks help you :-)
Protect your investment in CiviCRM by  becoming a Member!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • Message received when try to send out test mail -- "DB Error: unknown error"

This forum was archived on 2017-11-26.