Forums / Built-in Shipping and Payment Modules / Austpost Error when trying to estimate shipping cost

Austpost Error when trying to estimate shipping cost

Locked
Results 1 to 6 of 6
This thread is locked. New replies are disabled.
24 Jul 2006, 09:30
#1
00snoopy avatar

00snoopy

New Zenner

Join Date:
Apr 2006
Posts:
13
Plugin Contributions:
0

Austpost Error when trying to estimate shipping cost

I've just loaded the new austpost module and keep getting an error when it calculates shipping...I keep getting this error...

Warning: file(): URL file-access is disabled in the server configuration in /home/.charmer/mincke/mincke.com.au/includes/modules/shipping/auspost.php on line 84

Warning: file(http://drc.edeliver.com.au/ratecalc.asp?Pickup_Postcode=2173&Destination_Postcode=&Country=AU&Weight=100&Service_Type=STANDARD&Height=100&Width=100&Length=100&Quantity=1): failed to open stream: no suitable wrapper could be found in /home/.charmer/mincke/mincke.com.au/includes/modules/shipping/auspost.php on line 84

Warning: Invalid argument supplied for foreach() in /home/.charmer/mincke/mincke.com.au/includes/modules/shipping/auspost.php on line 85

Can anyone help? I'm a newbie at this :(

If you want to try it on the website, select one of the jewellery pieces as they have the weights on them for shipping estimation.

Thanks!
Kath
www.mincke.com.au
24 Jul 2006, 22:55
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,506
Plugin Contributions:
173

Re: Austpost Error when trying to estimate shipping cost

Warning: file(): URL file-access is disabled in the server configuration
You should report this to your hosting company and ask them to change this restriction for your site.

If they can't, then you may need to rewrite the module, or find a different host...
25 Jul 2006, 09:29
#3
00snoopy avatar

00snoopy

New Zenner

Join Date:
Apr 2006
Posts:
13
Plugin Contributions:
0

Re: Austpost Error when trying to estimate shipping cost

i think it might be because I am using PHP 5?

Would that be it?

I checked the auspost drc link and it says that the drc works with PHP 3 or 4 and Coldfusion 4 only.

:(
Kath
25 Jul 2006, 15:27
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,506
Plugin Contributions:
173

Re: Austpost Error when trying to estimate shipping cost

Warning: file(): URL file-access is disabled in the server configuration

00snoopy:

i think it might be because I am using PHP 5?

Only if the PHP5 configuration has the indicated feature disabled in it ... your host would have to confirm.
25 Jul 2006, 22:02
#5
00snoopy avatar

00snoopy

New Zenner

Join Date:
Apr 2006
Posts:
13
Plugin Contributions:
0

Re: Austpost Error when trying to estimate shipping cost

Yes, my host has disabled it but I'm not sure how I change it with the instructions (ie which file do I change and where?)

The url for the is http://wiki.dreamhost.com/index.php/Allow_url_fopen

Is it easy to do?

Kath
09 Aug 2006, 04:55
#6
robynsveil avatar

robynsveil

New Zenner

Join Date:
Jun 2006
Posts:
22
Plugin Contributions:
0

Re: Austpost Error when trying to estimate shipping cost

00snoopy:

Yes, my host has disabled it but I'm not sure how I change it with the instructions (ie which file do I change and where?)

The url for the is http://wiki.dreamhost.com/index.php/Allow_url_fopen

Is it easy to do?

Kath

Hi Cath,

I don't know if you have access to the php.ini file, or permission to change it, but i ran into this issue on a recent install.

First, I uploaded a phpinfo.php file to the root folder of my website.
This is simply a pure text file with the following code in it:
<?php
phpinfo();
?>


Then, in the browser, I typed in:
http://www.mycoolsite.com/phpinfo.php

...where mycoolsite is the name of my website. That returned the php setting for my site. Under the Configuration PHP Core section I found:

allow_url_fopen Off Off

I have a php.ini file in my root folder, in which I included the following entry:
allow_url_fopen = on

Now the settings are
allow_url_fopen On On

Works a treat now.

Cheers,
Robyn