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 »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Addresses appear for view but when edited they are blank?
Pages: [1]

Author Topic: Addresses appear for view but when edited they are blank?  (Read 310 times)

CiviTeacher.com

  • I live on this forum
  • *****
  • Posts: 1282
  • Karma: 118
    • CiviTeacher
  • CiviCRM version: 3.4 - 4.5
  • CMS version: Drupal 6&7, Wordpress
  • MySQL version: 5.1 - 5.5
  • PHP version: 5.2 - 5.4
Addresses appear for view but when edited they are blank?
February 15, 2015, 12:55:36 pm
See attached.  This address exists.  But when I edit either 'inline' or with the Edit button there is no address available for me to edit.  The <td> is simply not populated.   I also cannot add an address to a new or existing contact.

There are the steps I've taken:
  • I have re-copied a fresh version the 4.4.12 codebase
  • turned of any custom tpl files
  • used the "schema integrity procedure"
  • cleared all caches
  • changed themes
There are no errors in backtrace, CiviCRM.org or javascript console. 

Anyone seen this before?  Any ideas on how to fix it?
« Last Edit: February 15, 2015, 01:16:24 pm by CiviTeacher.com »
Try CiviTeacher: the online video tutorial CiviCRM learning library.

JonGold

  • Ask me questions
  • ****
  • Posts: 638
  • Karma: 81
    • Palante Technology
  • CiviCRM version: 4.1 to the latest
  • CMS version: Drupal 6-7, Wordpress 4.0+
  • PHP version: PHP 5.3-5.5
Re: Addresses appear for view but when edited they are blank?
February 15, 2015, 01:30:24 pm
Hi Stuart,

I once saw this when I had USPS address standardization enabled - Administer menu > Localization > Address Settings. 

I think the next thing I'd try is using "&smartyDebug=1" to see if the Smarty $form['address'] is being populated?  After that, I'd probably put a "CRM_Core_Error::debug" statements into CRM/Contact/Form/Contact.php to see what's up.
Sign up to StackExchange and get free expert CiviCRM advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

CiviTeacher.com

  • I live on this forum
  • *****
  • Posts: 1282
  • Karma: 118
    • CiviTeacher
  • CiviCRM version: 3.4 - 4.5
  • CMS version: Drupal 6&7, Wordpress
  • MySQL version: 5.1 - 5.5
  • PHP version: 5.2 - 5.4
Re: Addresses appear for view but when edited they are blank?
February 15, 2015, 01:36:35 pm
Thanks for pointing me to: Administer menu > Localization > Address Settings. 

While the USPS was not the issue, what was the problem is that no address fields settings were enabled for editing.   (so simple! after all that debugging....-groan-) This may have been an upgrade glitch that occurred when I upgraded to 4.4 some time ago and I never noticed.  That's very odd.

THANKS!
« Last Edit: February 15, 2015, 01:38:13 pm by CiviTeacher.com »
Try CiviTeacher: the online video tutorial CiviCRM learning library.

JonGold

  • Ask me questions
  • ****
  • Posts: 638
  • Karma: 81
    • Palante Technology
  • CiviCRM version: 4.1 to the latest
  • CMS version: Drupal 6-7, Wordpress 4.0+
  • PHP version: PHP 5.3-5.5
Re: Addresses appear for view but when edited they are blank?
February 15, 2015, 03:49:41 pm
Sigh - I had a similar problem when I spent 90 minutes trying to figure out why Search Builder didn't have latitude/longitude as options.  I had to go line by line through the PHP until I found that they just weren't enabled.  Glad you found it!
Sign up to StackExchange and get free expert CiviCRM advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Addresses appear for view but when edited they are blank?

This forum was archived on 2017-11-26.