Quote Originally Posted by rhodie1000 View Post
I have just installed the ozpost module and am getting "Unexpected error (no valid methods). Using AP Flat Rate. "

Strange thing is that when I set debug on, it works.

When I did the install I had to change some code in ozpost.php as below as $pcode had NONE causing an error.

I have tried with cURL set to yes.

I am sure that is is something stupid I am doing. Thanks for any help.

----------------------------------

function install()
{
global $db;

$result = $db->Execute("select configuration_value from " . TABLE_CONFIGURATION . " where configuration_key = 'SHIPPING_ORIGIN_ZIP'" ) ;
$pcode = $result->fields['configuration_value'] ;
-->> if ($pcode == 'NONE') {
-->> $pcode = 2000;
-->> }
I found the solution. I had gms selected and not Kgs. Thanks to RodG.