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) »
  • Error when sending confirmation emaik
Pages: [1]

Author Topic: Error when sending confirmation emaik  (Read 2335 times)

Michael Mahler

  • I’m new here
  • *
  • Posts: 15
  • Karma: 0
Error when sending confirmation emaik
June 20, 2007, 02:17:56 pm
I am running the same release of Drupal (5.1) and CiviCRM (1.7.9821) on 2 different accounts on the same hosting company (acehost.) I can successfully complete and send a confirming email for a CiviEvent at the one domain (erielead.org), and I can successfully register for an event at the other domain (u-n-c-l-e.org), but I get an error message when it tries to send the confirming email, if I turn that on.

Apart from the fact that erielead.org has the Drupal installation in the root of /public_html and the other has it in /public_html/civic, the 2 installations are identical. I am using the same user name and password for both domains (i.e. it is mmahler@erielead.org and mmahler@u-n-c-l-e.org, but the same password for both.) I copied the SMTP section of the civicrm.settings.php from the working site to the problematic one, and then just fixed the domain name.

I turned on debugging. After I click on Proceed on the Confirmation page, I get:

/home/uncle/public_html/civic/sites/all/modules/civicrm/CRM/Core/Error.php, backtrace, 147
/home/uncle/public_html/civic/sites/all/modules/civicrm/packages/PEAR.php, handle, 901
/home/uncle/public_html/civic/sites/all/modules/civicrm/packages/PEAR.php, call_user_func, 901
/home/uncle/public_html/civic/sites/all/modules/civicrm/packages/PEAR.php, PEAR_Error, 566
/home/uncle/public_html/civic/sites/all/modules/civicrm/packages/Net/Socket.php, raiseError, 143
/home/uncle/public_html/civic/sites/all/modules/civicrm/packages/Net/SMTP.php, connect, 311
/home/uncle/public_html/civic/sites/all/modules/civicrm/packages/Mail/smtp.php, connect, 225
/home/uncle/public_html/civic/sites/all/modules/civicrm/CRM/Utils/Mail.php, send, 154
/home/uncle/public_html/civic/sites/all/modules/civicrm/CRM/Event/BAO/EventPage.php, send, 143
/home/uncle/public_html/civic/sites/all/modules/civicrm/CRM/Event/Form/Registration/Confirm.php, sendMail, 342
/home/uncle/public_html/civic/sites/all/modules/civicrm/CRM/Core/StateMachine.php, postProcess, 166
/home/uncle/public_html/civic/sites/all/modules/civicrm/CRM/Core/QuickForm/Action/Next.php, perform, 63
/home/uncle/public_html/civic/sites/all/modules/civicrm/packages/HTML/QuickForm/Controller.php, perform, 195
/home/uncle/public_html/civic/sites/all/modules/civicrm/packages/HTML/QuickForm/Page.php, handle, 95
/home/uncle/public_html/civic/sites/all/modules/civicrm/CRM/Core/Controller.php, handle, 213
/home/uncle/public_html/civic/sites/all/modules/civicrm/CRM/Event/Invoke.php, run, 103
/home/uncle/public_html/civic/sites/all/modules/civicrm/CRM/Core/Component.php(171) : eval()'d code, main, 1
/home/uncle/public_html/civic/sites/all/modules/civicrm/CRM/Core/Component.php, eval, 171
/home/uncle/public_html/civic/sites/all/modules/civicrm/CRM/Core/Invoke.php, invoke, 130
/home/uncle/public_html/civic/sites/all/modules/civicrm/drupal/civicrm.module, invoke, 288
/home/uncle/public_html/civic/includes/menu.inc, civicrm_invoke, 418
/home/uncle/public_html/civic/includes/menu.inc, call_user_func_array, 418
/home/uncle/public_html/civic/index.php, menu_execute_active_handler, 15

     Sorry. A non-recoverable error has occurred.

    Return to CiviCRM menu.

Error Details:

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

       
Code: [Select]
=> 111
    [message] => Connection refused
    [mode] => 16
    [debug_info] =>
    [type] => PEAR_Error
    [user_info] =>
    [to_string] => [pear_error: message="Connection refused" code=111 mode=callback callback=CRM_Core_Error::handle prefix="" info=""]
)



Any clue what might be wrong? I am flummoxed by this.

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Error when sending confirmation emaik
June 20, 2007, 03:32:23 pm
Mike- First, I would debug this on the problem site by just using the simple "Send Email to Contact" feature (while viewing a test contact). If this works, then the Event confirm probably will work.

The "Connection refused" generally indicates that you've got incorrect values for either SMTP Server or SMTP Port. Check this in the problem site under Administer CiviCRM >> Global Settings >> Outgoing Mail settings.

If these look correct - you could try getting some more detailed error messages by adding debug statements prior to line 143 in packages/Net/Socket.php (which is where the error is being thrown).
Protect your investment in CiviCRM by  becoming a Member!

Michael Mahler

  • I’m new here
  • *
  • Posts: 15
  • Karma: 0
Re: Error when sending confirmation emaik
June 20, 2007, 05:54:04 pm
Hey there!

I do need run into the same error when I Email to Contacts, and I checked the settings between the working and the non-working domains.

The 2 domains we are dealing with here are on different servers, so they might have different PEAR modules. This is what tech support asked:

Your two drupal installs are on different servers, so one may be missing a PEAR module. Do you have a list of requirements for Drupal/CivCRM so we can find out what is missing and install it?

THANKS!

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Error when sending confirmation emaik
June 20, 2007, 07:06:06 pm
I don't think that's the issue since we include the needed PEAR modules in the CiviCRM distributions. Ask your provider to check their SMTP server logs to see if they can see the "Connection refused" instances and tell you why.
Protect your investment in CiviCRM by  becoming a Member!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Error when sending confirmation emaik

This forum was archived on 2017-11-26.