
Originally Posted by
Bruce1952
Rod,
It does appear that the ® symble causes the issue but not continally. Since I have removed the ® yesterday everything seems to be running how it should.
You're right, it wasn't consistent. It turns out that it depends on which of our servers are being connecting to.
Only one of the three has the problem, and I think I've narrowed the cause down to over restrictive(?) rules with the hosts mod_security settings.
I've submitted a support ticket to our host to see if they can relax the restriction.

Originally Posted by
Bruce1952
Thanks for your help and please let me know if you have a work around in the future as we have registered the name and would like to display that it is in the future but until you let me know I will leave it out.
I'll let you know what our host has to say, meanwhile, I've made a minor change to the code that will prevent the character from being sent to the servers in the first place, which will cure the problem even without help from the host.
If you wish to make the change yourself so as to get the (R) working again ASAP, you can load the file
/includes/modules/shipping/ozpost.php into a text editor
Somewhere near line#130 you should see this:
Code:
$this->HOST = urlencode( STORE_NAME ) ;
Replace it with this:
Code:
$this->HOST= urlencode(preg_replace('/[^A-Za-z0-9\s\s+\.\'\"\-\&]/', '', STORE_NAME )) ;
I suggest you cut 'n' paste.
IF for any reason this causes you grief, another option would be to replace the line with this:
HTML Code:
$this->HOST= urlencode("Store Name") ;
Where "Store Name" is the name of your store *without* the (R) symbol.
This will only be used by the ozpost module, so the (R) will still display correctly elsewhere.
I shall be incorporating the first solution into the next update (which other than this, currently has no other known issues, so it may be a while).
Cheers
Rod
Bookmarks