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) »
  • Intermittent Error with CiviEvent Email Reciepts
Pages: [1]

Author Topic: Intermittent Error with CiviEvent Email Reciepts  (Read 503 times)

manfredwoodall

  • I’m new here
  • *
  • Posts: 15
  • Karma: 0
  • CiviCRM version: 4.5.4
  • CMS version: Wordpress 4.0.1
  • MySQL version: 5.5.xx
  • PHP version: 5.3.18
Intermittent Error with CiviEvent Email Reciepts
January 14, 2014, 01:14:49 pm
So we have a continuing, but intermittent issue with email receipt with one of our clients. When people are registering for an event they are met with the "CiviCRM mail configurations" error message when completing their registration. We are using the standard mail() function right now, and when I have tested the emails they work perfectly. Unfortunately many of our client's customers/members get that dreaded error message.

Looking at the error log, this is what I see:

Jan 14 05:56:57  [info] r_authresponse XXX

Jan 14 05:56:57  [info] r_code 2626081337076675:YYYM:

Jan 14 05:56:57  [info] r_tdate 1389697016

Jan 14 05:56:57  [info] r_avs YYYM

Jan 14 05:56:57  [info] r_ordernum 45F62B06-52D517F8-225-12EA4

Jan 14 05:56:57  [info] r_error

Jan 14 05:56:57  [info] csp FDMS

Jan 14 05:56:57  [info] r_message APPROVED

Jan 14 05:56:57  [info] r_ref 1337076675

Jan 14 05:56:57  [info] r_time Tue Jan 14 05:56:57 2014

Jan 14 05:56:57  [info] Ignoring exception thrown by nullHandler: , mail() returned failure

Jan 14 05:56:57  [info] $backTrace = #0 /usr/home/gbapgh/public_html/go-gba/wp-content/plugins/civicrm/civicrm/CRM/Core/Error.php(766): CRM_Core_Error::backtrace("backTrace", TRUE)
#1 [internal function](): CRM_Core_Error::nullHandler(Object(PEAR_Error))
#2 /usr/home/gbapgh/public_html/go-gba/wp-content/plugins/civicrm/civicrm/packages/PEAR.php(931): call_user_func((Array:2), Object(PEAR_Error))
#3 /usr/home/gbapgh/public_html/go-gba/wp-content/plugins/civicrm/civicrm/packages/PEAR.php(566): PEAR_Error->PEAR_Error("mail() returned failure", NULL, 16, (Array:2), NULL)
#4 /usr/home/gbapgh/public_html/go-gba/wp-content/plugins/civicrm/civicrm/packages/Mail/mail.php(174): PEAR->raiseError("mail() returned failure")
#5 /usr/home/gbapgh/public_html/go-gba/wp-content/plugins/civicrm/civicrm/CRM/Utils/Mail.php(181): Mail_mail->send((Array:2), (Array:11), "--=_9cb4c6e777210ef13489e1ba5eded4ed\nContent-Transfer-Encoding: 8bit\nConten...")
#6 /usr/home/gbapgh/public_html/go-gba/wp-content/plugins/civicrm/civicrm/CRM/Core/BAO/MessageTemplates.php(522): CRM_Utils_Mail::send((Array:19))
#7 /usr/home/gbapgh/public_html/go-gba/wp-content/plugins/civicrm/civicrm/CRM/Event/BAO/Event.php(1127): CRM_Core_BAO_MessageTemplates::sendTemplate((Array:12))
#8 /usr/home/gbapgh/public_html/go-gba/wp-content/plugins/civicrm/civicrm/CRM/Event/Form/Registration/Confirm.php(879): CRM_Event_BAO_Event::sendMail("30892", (Array:8), 852, FALSE)
#9 /usr/home/gbapgh/public_html/go-gba/wp-content/plugins/civicrm/civicrm/CRM/Core/Form.php(246): CRM_Event_Form_Registration_Confirm->postProcess()
#10 /usr/home/gbapgh/public_html/go-gba/wp-content/plugins/civicrm/civicrm/CRM/Core/StateMachine.php(160): CRM_Core_Form->mainProcess()
#11 /usr/home/gbapgh/public_html/go-gba/wp-content/plugins/civicrm/civicrm/CRM/Core/QuickForm/Action/Next.php(60): CRM_Core_StateMachine->perform(Object(CRM_Event_Form_Registration_Confirm), "next", "Next")
#12 /usr/home/gbapgh/public_html/go-gba/wp-content/plugins/civicrm/civicrm/packages/HTML/QuickForm/Controller.php(203): CRM_Core_QuickForm_Action_Next->perform(Object(CRM_Event_Form_Registration_Confirm), "next")
#13 /usr/home/gbapgh/public_html/go-gba/wp-content/plugins/civicrm/civicrm/packages/HTML/QuickForm/Page.php(103): HTML_QuickForm_Controller->handle(Object(CRM_Event_Form_Registration_Confirm), "next")
#14 /usr/home/gbapgh/public_html/go-gba/wp-content/plugins/civicrm/civicrm/CRM/Core/Controller.php(316): HTML_QuickForm_Page->handle("next")
#15 /usr/home/gbapgh/public_html/go-gba/wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php(292): CRM_Core_Controller->run((Array:3), NULL)
#16 /usr/home/gbapgh/public_html/go-gba/wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php(70): CRM_Core_Invoke::runItem((Array:15))
#17 /usr/home/gbapgh/public_html/go-gba/wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php(52): CRM_Core_Invoke::_invoke((Array:3))
#18 /usr/home/gbapgh/public_html/go-gba/wp-content/plugins/civicrm/civicrm.php(344): CRM_Core_Invoke::invoke((Array:3))
#19 [internal function](): civicrm_wp_invoke("")
#20 /usr/home/gbapgh/public_html/go-gba/wp-includes/plugin.php(199): call_user_func_array("civicrm_wp_invoke", (Array:1))
#21 /usr/home/gbapgh/public_html/go-gba/wp-includes/post-template.php(166): apply_filters("the_content", "")
#22 /usr/home/gbapgh/public_html/go-gba/wp-content/themes/canvas-v5.3/content-page.php(44): the_content("Continue Reading →")
#23 /usr/home/gbapgh/public_html/go-gba/wp-includes/template.php(443): require("/usr/home/gbapgh/public_html/go-gba/wp-content/themes/canvas-v5.3/content-pag...")
#24 /usr/home/gbapgh/public_html/go-gba/wp-includes/template.php(417): load_template("/usr/home/gbapgh/public_html/go-gba/wp-content/themes/canvas-v5.3/content-pag...", FALSE)
#25 /usr/home/gbapgh/public_html/go-gba/wp-content/themes/canvas-v5.3/includes/theme-advanced.php(142): locate_template((Array:9), TRUE, FALSE)
#26 /usr/home/gbapgh/public_html/go-gba/wp-content/themes/canvas-v5.3/page.php(30): woo_get_template_part("content", "page")
#27 /usr/home/gbapgh/public_html/go-gba/wp-includes/template-loader.php(74): include("/usr/home/gbapgh/public_html/go-gba/wp-content/themes/canvas-v5.3/page.php")
#28 /usr/home/gbapgh/public_html/go-gba/wp-blog-header.php(16): require_once("/usr/home/gbapgh/public_html/go-gba/wp-includes/template-loader.php")
#29 /usr/home/gbapgh/public_html/go-gba/index.php(17): require("/usr/home/gbapgh/public_html/go-gba/wp-blog-header.php")
#30 {main}

So my question is, what can we try to fix this issue, given that it's not consistent? Mostly it looks like something is causing a "null" exception to be thrown.

We're using WP 3.6 / Civi 4.3.4

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: Intermittent Error with CiviEvent Email Reciepts
January 14, 2014, 05:09:06 pm

might want to check your mail log and see why it is rejecting some emails. That log might have some more specific information

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

manfredwoodall

  • I’m new here
  • *
  • Posts: 15
  • Karma: 0
  • CiviCRM version: 4.5.4
  • CMS version: Wordpress 4.0.1
  • MySQL version: 5.5.xx
  • PHP version: 5.3.18
Re: Intermittent Error with CiviEvent Email Reciepts
January 15, 2014, 07:03:10 am
Dumb question then, where do I find that log? Is it a CRM log or a server log?

Thanks!

manfredwoodall

  • I’m new here
  • *
  • Posts: 15
  • Karma: 0
  • CiviCRM version: 4.5.4
  • CMS version: Wordpress 4.0.1
  • MySQL version: 5.5.xx
  • PHP version: 5.3.18
Re: Intermittent Error with CiviEvent Email Reciepts
January 15, 2014, 10:18:04 am
Ok I've pulled the email log from my service provider: What i'm seeing is that the failed email messages are not even making it to the mail program so they are not being logged. HOWEVER, I'm seeing a cookie error:

Jan 14 13:27:36  [info] $Fatal Error Details = Array
(
    [message] => We can't load the requested web page. This page requires cookies to be enabled in your browser settings. Please check this setting and enable cookies (if they are not enabled). Then try again. If this error persists, contact the site adminstrator for assistance.<br /><br />Site Administrators: This error may indicate that users are accessing this page using a domain or URL other than the configured Base URL. EXAMPLE: Base URL is http://example.org, but some users are accessing the page via http://www.example.org or a domain alias like http://myotherexample.org.<br /><br />Error type: Could not find a valid session key.
   
Code: [Select]
=>
)

Proceeding the failed email message. Is this something that might be causing the issue?

I know I'm, spitballing here, but this is damn frustrating.

manfredwoodall

  • I’m new here
  • *
  • Posts: 15
  • Karma: 0
  • CiviCRM version: 4.5.4
  • CMS version: Wordpress 4.0.1
  • MySQL version: 5.5.xx
  • PHP version: 5.3.18
Re: Intermittent Error with CiviEvent Email Reciepts
January 15, 2014, 10:33:58 am
Ok doing a bit more research and testing, I don't think that's the issue. However it still appears that the messages are NOT getting out of CiviCRM.

What else should I try?


Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Intermittent Error with CiviEvent Email Reciepts

This forum was archived on 2017-11-26.