I encountered an error when installing this on a site for work. Fixed it with by changing from this, on line 458 of cck_address.module:

  if(!$result) {
    throw new Exception("Unknown Locale name $locale");
  }

This could easily be done with drupal functions:
PHP4 and Drupal friendly:

  if(!$result) {
    drupal_set_message("Unknown Locale name $locale", "error");
    return;
  }

sorry, no patch, but its a one line fix :)

Comments

rconstantine’s picture

Assigned: Unassigned » rconstantine
Status: Needs review » Reviewed & tested by the community

I didn't much think about this since it worked for me.

Fixed, but won't upload until I have a more substantial addition to the code.

For now, users should make this change manually. I'll update this issue once I make another CVS update.

rconstantine’s picture

Status: Reviewed & tested by the community » Fixed

just uploaded fixed version

Anonymous’s picture

Status: Fixed » Closed (fixed)