Title: Error editing contacts
Last modified: August 19, 2016

---

# Error editing contacts

 *  [longelf](https://wordpress.org/support/users/longelf/)
 * (@longelf)
 * [18 years, 2 months ago](https://wordpress.org/support/topic/error-editing-contacts/)
 * When editing an existing address, I get an error when I hit Save. The error is‘
   Nothing found for Wp-admin $addressbook_basefile?page=addressbook Addressbook
   Php&action=edit&id=1’. Running WordPress 2.3.3 and AddressBook 1.0.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [johanl](https://wordpress.org/support/users/johanl/)
 * (@johanl)
 * [18 years, 2 months ago](https://wordpress.org/support/topic/error-editing-contacts/#post-714174)
 * I just looked at the plugin code…
 * The variable $addressbook_basefile is referenced directly in html code which 
   is obviously not correct.
 * You’ll have to patch up the code in addressbook.php. Find the places where $addressbook_basefile
   is referenced outside a php block and change it into
    `<?php echo $addressbook_basefile;?
   >`
 * The ‘edit existing address’ problem is on line 179
 * Lines 146, 149, 263 and 264 are candidates for fixes as well (not really sure
   though since I’m no PHP guru). There the author tries to reference the variable
   inside a string constant within a PHP block.
 * /johan
 *  Thread Starter [longelf](https://wordpress.org/support/users/longelf/)
 * (@longelf)
 * [18 years, 2 months ago](https://wordpress.org/support/topic/error-editing-contacts/#post-714176)
 * That’s it, fixes the problem, thanks johanl. I’m not seeing any other errors 
   at the moment, except one small issue. When entering a contact’s website URL,
   you have to include the http:// otherwise the link doesn’t work properly.
 * Thanks again!
 *  [samwilson](https://wordpress.org/support/users/samwilson/)
 * (@samwilson)
 * [18 years, 2 months ago](https://wordpress.org/support/topic/error-editing-contacts/#post-714348)
 * This has been fixed in [v.1.1](http://wordpress.org/extend/plugins/addressbook/).
   Good point about the http:// thing… I’ll fix it.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Error editing contacts’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 3 participants
 * Last reply from: [samwilson](https://wordpress.org/support/users/samwilson/)
 * Last activity: [18 years, 2 months ago](https://wordpress.org/support/topic/error-editing-contacts/#post-714348)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
