Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

Hello All,

 

I installed the UPS XML mod on a new store setup (2.2rc2a) and its working fine, with the exception that the default path to this file (includes/modules/shipping/upsxml.php)causes a "No such file or directory...." error.

 

It was set to includes/classes/xmldocument.php and in the admin shipping window (store/admin/modules.php), I had to change it to ../includes/classes/xmldocument.php to get it to work.

 

But now during my customer checkout process, its kicking the same error since the relative path for the customer is store/checkout.php and that path would not be valid.

 

I tried a literal path "mysite.com/store/..." but that is not allowed within the setup.

 

I am sure its a config issue for this store setup, but haven't been able to find it.

 

Thanks in advance for the help,

Don

Posted

I figured this out.

 

I changed:

require ('../includes/classes/xmldocument.php');

 

to

 

require(DIR_WS_INCLUDES . '/classes/xmldocument.php');

Posted

I spoke too soon. This still isnt working. When I change the require for that file, it either works on the store side and not in the admin side, or vice versa.

 

Any ideas? I tried a literal path and that fails too.

Posted

I "think" I fixed this, but I shouldnt have to do it this way.

 

I set a new FS path:

 

'/home3/mysite/public_html/store/includes/'

 

Any ideas why I had to go this route to get it to work?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...