Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Problem installing UPS XML 1.2.4


vcudnik

Recommended Posts

I've double-checked my installation and the required changes to the various pages but can't test my store because when I click checkout I get a blank page.

 

I did check to make sure I didn't miss any of the open/close marks on the code inserted.

 

I turned on the logging function, but since it's being pulled on a page that won't load, I don't think it will work. Just to be sure, this is the code I put in upsxml.php:

$this->logfile = '/cozumel.globat.com/~peanutsandpork.com/httpsdocs/shoponline/logs/upsxml.log';

$this->ups_error_file = '/cozumel.globat.com/~peanutsandpork.com/httpdocs/shoponline/includes/modules/shipping/upsxml_error.log';

 

(uncommenting meant to delete the forward slashes, right?) Both log files have permissions set to 777

 

My store's address is peanutsandpork.com/shoponline

 

Except that the prices were totally wrong, the original, built-in UPS module worked just fine. The rest of the store, payment, etc. works fine.

 

My settings in the admin panel are:

 

United Parcel Service (XML)

Enable UPS Shipping - True

UPS Rates Access Key - xxxxxxx (mine is entered)

UPS Rates Username - xxxxxxx (mine is entered)

UPS Rates Password - xxxxxxx (mine is entered)

Pickup Method - Daily Pickup

Packaging Type - Package

Customer Classification Code - 01

Shipping Origin - US Origin

Origin City - Suffolk

Origin State/Province - VA

Origin Country - US

Origin Zip/Postal Code - 23435

Test or Production Mode - Test

Unit Weight - LBS

Unit Length - IN

Dimensions Support - No

Quote Type - Residential

Negotiated rates - False

UPS Account Number - xxxxxxx (mine is entered)

Handling Type - Percentage

Handling Fee - 25

Enable Insurance - False

UPS Currency Code - USD

Tax Class - --none--

Shipping Zone - --none--

Sort order of display. - 0

Disallowed Shipping Methods (l left in only the first 3 options)

Worldwide Express, Worldwide Express Plus, Worldwide Expedited, Express, Standard, 3 Day Select, Next Day Air Saver, Next Day Air Early A.M., Expedited, 2nd Day Air A.M., Saver, Express Early A.M., Express Plus

Shipping Delay - 1

Email UPS errors - Yes

Time in Transit View Type - Raw

 

This site is hosted on globat.com. They've modded the build to accommodate their one-click install, where the admin folder and a few dozen other items are on the secure side. This has actually caused a few other glitches and I've had to duplicate images in the mirrored folders to make sure they show up.

 

I am at my wit's end trying to figure this out. I'm pretty new to php and sql stuff, but I'm pretty good at following directions, which is why I'm thinking the dual directory might be the problem, but I have no idea how to check.

 

Any and all suggestions will be appreciated!

Link to comment
Share on other sites

I've double-checked my installation and the required changes to the various pages but can't test my store because when I click checkout I get a blank page.

 

I did check to make sure I didn't miss any of the open/close marks on the code inserted.

 

I turned on the logging function, but since it's being pulled on a page that won't load, I don't think it will work. Just to be sure, this is the code I put in upsxml.php:

$this->logfile = '/cozumel.globat.com/~peanutsandpork.com/httpsdocs/shoponline/logs/upsxml.log';

$this->ups_error_file = '/cozumel.globat.com/~peanutsandpork.com/httpdocs/shoponline/includes/modules/shipping/upsxml_error.log';

 

(uncommenting meant to delete the forward slashes, right?) Both log files have permissions set to 777

Yes, that looks fine. However, the blank page is probably the result of a PHP error (e.g. not having uploaded the language file of UPSXML, or in the wrong directory). You will have to find what the PHP error is (contact the ISP if they have a log file for you somewhere).
Link to comment
Share on other sites

Yes, that looks fine. However, the blank page is probably the result of a PHP error (e.g. not having uploaded the language file of UPSXML, or in the wrong directory). You will have to find what the PHP error is (contact the ISP if they have a log file for you somewhere).

 

Thanks for the advice. I can't figure out why my log files are empty, either, but will certainly check with the hosting co.

Link to comment
Share on other sites

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...