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 Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Error Saving Contacts
Pages: [1]

Author Topic: Error Saving Contacts  (Read 1941 times)

htd8097

  • Guest
Error Saving Contacts
July 17, 2007, 10:38:27 am
When I try to edit a contact and I click on save, the error below appears. It only happens to the older contacts. When I created a brand new contact for testing purposes, there was no problem editing and saving the changes. If I go into the group or tag tabs, I can edit and change those without any errors.

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

       
Code: [Select]
=> 113
    [message] => No route to host
    [mode] => 16
    [debug_info] =>
    [type] => PEAR_Error
    [user_info] =>
    [to_string] => [pear_error: message="No route to host" code=113 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 Saving Contacts
July 17, 2007, 10:43:28 am

1. Can u enable backtrace in your global settings >> debugging

2. most likely this is due to a mapping error. Looks like you have mapping enabled and the system cannot send a message to the mapping server (google/yahoo). Doing step 1 will tell us if this is true :)

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

htd8097

  • Guest
Re: Error Saving Contacts
July 17, 2007, 10:47:16 am
Here is the backtrace. I believe you are right about this being a mapping issue, as soon as I tried to enter in an address and saving it for the new contact I made, I got the same error.

backTrace


/var/www/sites/all/modules/civicrm/CRM/Core/Error.php, backtrace, 147
, handle,
/var/www/sites/all/modules/civicrm/packages/PEAR.php, call_user_func, 901
/var/www/sites/all/modules/civicrm/packages/PEAR.php, PEAR_Error, 566
/var/www/sites/all/modules/civicrm/packages/Net/Socket.php, raiseError, 143
/var/www/sites/all/modules/civicrm/packages/HTTP/Request.php, connect, 619
/var/www/sites/all/modules/civicrm/CRM/Utils/Geocode/Google.php, sendRequest, 115
/var/www/sites/all/modules/civicrm/CRM/Core/BAO/Address.php(169) : eval()'d code, format, 1
/var/www/sites/all/modules/civicrm/CRM/Core/BAO/Address.php, eval, 169
/var/www/sites/all/modules/civicrm/CRM/Core/BAO/Address.php, fixAddress, 78
/var/www/sites/all/modules/civicrm/CRM/Core/BAO/Location.php, add, 109
/var/www/sites/all/modules/civicrm/CRM/Contact/BAO/Contact.php, add, 578
/var/www/sites/all/modules/civicrm/CRM/Contact/Form/Edit.php, create, 504
/var/www/sites/all/modules/civicrm/CRM/Core/StateMachine.php, postProcess, 166
/var/www/sites/all/modules/civicrm/CRM/Core/QuickForm/Action/Next.php, perform, 63
/var/www/sites/all/modules/civicrm/packages/HTML/QuickForm/Controller.php, perform, 195
/var/www/sites/all/modules/civicrm/packages/HTML/QuickForm/Page.php, handle, 95
/var/www/sites/all/modules/civicrm/CRM/Core/Controller.php, handle, 213
/var/www/sites/all/modules/civicrm/CRM/Utils/Wrapper.php, run, 73
/var/www/sites/all/modules/civicrm/CRM/Core/Invoke.php, run, 452
/var/www/sites/all/modules/civicrm/CRM/Core/Invoke.php, form, 176
/var/www/sites/all/modules/civicrm/CRM/Core/Invoke.php, contact, 82
/var/www/sites/all/modules/civicrm/drupal/civicrm.module, invoke, 288
, civicrm_invoke,
/var/www/includes/menu.inc, call_user_func_array, 418
/var/www/index.php, menu_execute_active_handler, 15

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 Saving Contacts
July 17, 2007, 10:52:37 am

You need to talk to your host and get them to add maps.google.com / maps.yahoo.com to their whitelist (or whatever list they maintain)

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

htd8097

  • Guest
Re: Error Saving Contacts
July 17, 2007, 10:58:52 am
Quote from: Donald Lobo on July 17, 2007, 10:52:37 am

You need to talk to your host and get them to add maps.google.com / maps.yahoo.com to their whitelist (or whatever list they maintain)

lobo


I wonder why it would need to be whitelisted. I've been using the mapping with CiviCRM for a while now. I can access maps.google.com / maps.yahoo.com. I can view the maps for the contacts with a map link. The civicrm server is being run out of my office at the moment.

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 Saving Contacts
July 17, 2007, 11:01:57 am

you might want to add some debug statments to some of the functions in the backtrace to figure out whos rejecting it and why (no route to host)

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

htd8097

  • Guest
Re: Error Saving Contacts
July 17, 2007, 11:09:03 am
Ahh, I figured out what it was. Sorry to bother you Donald with my silly problem. :-[ I changed the gateway to 172.30.1.1 on my linux box by mistake earlier when I was checking out the IP info. Gateway should have been 172.30.1.11 instead. After changing the gateway IP back, my linux box can access the internet again, and civicrm is working fine once more. Thank you for your help Donald.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Error Saving Contacts

This forum was archived on 2017-11-26.