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 »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • Error in sites/all/modules/civicrm/packages/PEAR.php. call_user_func. 901
Pages: [1]

Author Topic: Error in sites/all/modules/civicrm/packages/PEAR.php. call_user_func. 901  (Read 2173 times)

civiced

  • Guest
Error in sites/all/modules/civicrm/packages/PEAR.php. call_user_func. 901
January 25, 2008, 04:25:54 am
Could this mean pear is not installed or configured properly?

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

       
Code: [Select]
=>
    [message] => Invalid response code received from server
    [mode] => 16
    [debug_info] =>
    [type] => PEAR_Error
    [user_info] =>
    [to_string] => [pear_error: message="Invalid response code received from server" code=0 mode=callback callback=CRM_Core_Error::handle prefix="" info=""]
)

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: Error in sites/all/modules/civicrm/packages/PEAR.php. call_user_func. 901
January 25, 2008, 05:37:52 am

what were u doing when u got this error? most likely this is either an smtp error or an error contacting an external web site (your host might maintain a list of whitelisted sites that it permits connections to)

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

civiced

  • Guest
Re: Error in sites/all/modules/civicrm/packages/PEAR.php. call_user_func. 901
January 25, 2008, 06:52:19 am
Hi lobo,
Thanks for the quick reply.  This error was generated from a CiviContribute form that attempted a Moneris payment in test mode.  I was able to complete a transaction because it will listed on the Moneris test site.  Do I need to create a return page maybe?  I'm using CiviCRM 1.9 in Drupal 5.5 on CentOS 4.5.
 

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Error in sites/all/modules/civicrm/packages/PEAR.php. call_user_func. 901
January 25, 2008, 03:53:07 pm
No - this error is almost certainly related to the "send email receipt" part of making the contribution. Do a search on this forum with that error message ("Invalid response...") and you should see applicable solutions.
Protect your investment in CiviCRM by  becoming a Member!

civiced

  • Guest
Re: Error in sites/all/modules/civicrm/packages/PEAR.php. call_user_func. 901
January 25, 2008, 04:49:26 pm
Hi David,
A search yielded no other posts.  What does "send email receipt" mean?  Do I need to configure this?
Thanks

civiced

  • Guest
Re: Error in sites/all/modules/civicrm/packages/PEAR.php. call_user_func. 901
January 25, 2008, 05:48:15 pm
Hi David/lobo,

I set var $_debug = true; in sites/all/modules/civicrm/packages/Net/SMTP.php and traced the attached error image file.  Why is it www. instead of mail. for the domain?

(http://phpsol.com/files/smtp_error.gif)

SMTP Server settings are correct in Global Settings | Outbound Email (SMTP).

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: Error in sites/all/modules/civicrm/packages/PEAR.php. call_user_func. 901
January 27, 2008, 06:08:18 am

i assume your smtp global settings are set to mail.DOMAIN.org but we are connecting to www.DOMAIN.org.

This seems wierd, and you should probably try to trace the code and see where we are getting the smtp machine name from. I dont think we've had any issues reported on this (as yet), but i suspect if there was a bug in that part of the code, there would be quite a few folks having the same issue

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

civiced

  • Guest
Re: Error in sites/all/modules/civicrm/packages/PEAR.php. call_user_func. 901
January 27, 2008, 05:38:34 pm
Hi lobo,
I believe the problem is with the mail server.  Apparently, Moneris will not send mail out to a server that is not on their receipt list of approved servers.  In other words, you need to use the mail server supplied when you set up your Moneris account.  I found this out from the last message of the SMTP backtrace error.  After I configured the correct mail server in CiviCRM, the error went away.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • Error in sites/all/modules/civicrm/packages/PEAR.php. call_user_func. 901

This forum was archived on 2017-11-26.