PHP_User Posted June 17, 2010 Posted June 17, 2010 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 Quote
PHP_User Posted June 17, 2010 Author Posted June 17, 2010 I figured this out. I changed: require ('../includes/classes/xmldocument.php'); to require(DIR_WS_INCLUDES . '/classes/xmldocument.php'); Quote
PHP_User Posted June 18, 2010 Author Posted June 18, 2010 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. Quote
PHP_User Posted June 18, 2010 Author Posted June 18, 2010 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? Quote
Recommended Posts
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.