My apologies if this has been asked before...I've looked though pages of messages to no avail.
I've just installed the Country-State Selector Contribution which works great pretty much everywhere (Thank you, Steve!!!), except for this error whenever I try to edit an address.
Parse error: parse error, unexpected '}' in /home/xxxxxx/mycompany-www/catalog/address_book_process.php on line 202
Along with some before & after coding, the code in question is:
$messageStack->add_session('addressbook', SUCCESS_ADDRESS_BOOK_ENTRY_UPDATED, 'success');
tep_redirect(tep_href_link(FILENAME_ADDRESS_BOOK, '', 'SSL'));
}
}
// +Country-State Selector
} <<--- THIS IS LINE 202
if ($refresh) {
// Recreate $entry from post values collected above
$entry = array(
'entry_firstname' => $firstname,
'entry_lastname' => $lastname,
'entry_street_address' => $street_address,
'entry_postcode' => $postcode,
'entry_city' => $city,
'entry_state' => "",
'entry_zone_id' => (int)0,
'entry_country_id' => (int)$country);
if (ACCOUNT_GENDER == 'true') $entry['entry_gender'] = $gender;
if (ACCOUNT_COMPANY == 'true') $entry['entry_company'] = $company;
if (ACCOUNT_SUBURB == 'true') $entry['entry_suburb'] = $suburb;
}
else
// -Country-State Selector
Can anybody help me with this error? Thanks in advance.
djms