Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Strange errors with ups and usps


Guest

Recommended Posts

Oscommere has been running fine for nearly 2 years, Preview Release 2.0. However now out of the blue when I have ups or usps modules turned on I get the following error when trying to check out:

 

Warning: fopen(): URL file-access is disabled in the server configuration in /usr/www/users/hostor/apothecary-shoppe.com/includes/classes/ups.php on line 133

 

Warning: fopen(http://www.ups.com/using/services/rave/qcostcgi.cgi?accept_UPS_license_agreement=yes&10_action=3&13_product=GND&14_origCountry=US&15_origPostal=97239&19_destPostal=97504&22_destCountry=US&23_weight=5&47_rateChart=Customer+Counter&48_container=00&49_residential=1): failed to open stream: no suitable wrapper could be found in /usr/www/users/hostor/apothecary-shoppe.com/includes/classes/ups.php on line 133

 

Warning: feof(): supplied argument is not a valid stream resource in /usr/www/users/hostor/apothecary-shoppe.com/includes/classes/ups.php on line 134

 

Warning: fgets(): supplied argument is not a valid stream resource in /usr/www/users/hostor/apothecary-shoppe.com/includes/classes/ups.php on line 135

 

Warning: feof(): supplied argument is not a valid stream resource in /usr/www/users/hostor/apothecary-shoppe.com/includes/classes/ups.php on line 134

 

Warning: fgets(): supplied argument is not a valid stream resource in /usr/www/users/hostor/apothecary-shoppe.com/includes/classes/ups.php on line 135

 

Warning: feof(): supplied argument is not a valid stream resource in /usr/www/users/hostor/apothecary-shoppe.com/includes/classes/ups.php on line 134

 

Warning: fgets(): supplied argument is not a valid stream resource in /usr/www/users/hostor/apothecary-shoppe.com/includes/classes/ups.php on line 135

 

Warning: feof(): supplied argument is not a valid stream resource in /usr/www/users/hostor/apothecary-shoppe.com/includes/classes/ups.php on line 134

 

Warning: fgets(): supplied argument is not a valid stream resource in /usr/www/users/hostor/apothecary-shoppe.com/includes/classes/ups.php on line 135

 

Warning: feof(): supplied argument is not a valid stream resource in /usr/www/users/hostor/apothecary-shoppe.com/includes/classes/ups.php on line 134

 

Warning: fgets(): supplied argument is not a valid stream resource in /usr/www/users/hostor/apothecary-shoppe.com/includes/classes/ups.php on line 135

 

Sounds like a permission issue, but unsure where.

 

Any help would be appreciated.

 

Thanks,

Logan

Link to comment
Share on other sites

Just a shot in the dark here.

 

Check that "allow_url_fopen = On" is set in your php.ini file.

 

Maybe your host updated php.

 

You can verify this by running the admin->tools->server info

 

and look for the parameter "allow_url_fopen = On"

 

HTH

Tom

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...