Jump to content
Latest News: (loading..)
ralgiere

UPS XML

Recommended Posts

I'm trying to get 1.71 to work and it's giving me the error:

Quote

Warning: require_once(DIR_WS_CLASSESxml.php): failed to open stream: No such file or directory in /home4/shadow13x/public_html/includes/modules/shipping/upsxml.php on line 24

Fatal error: require_once(): Failed opening required 'DIR_WS_CLASSESxml.php' (include_path='.:/opt/php56/lib/php') in /home4/shadow13x/public_html/includes/modules/shipping/upsxml.php on line 24

 

Share this post


Link to post
Share on other sites

It's because code definitions, like DIR_WS_CLASSES are no longer used. You can replace them (recommended)or install the compatibility addon. To fix the above error, find all instances of DIR_WS_CLASSES in the code and replace them with 'includes/classes/' (note that the apostrophe's are required). There may other definitions in the file so those would need to be replaced too.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×