But I'm not using UPS for anything on the site. Is the error due to the fact that I haven't configured the UPS module? I can't configure the module because I don't have an account with them. I won't get an account with them because (1) I don't use them, and (2) they require a CC # to sign up. The CC was the killer for me, I would have signed up for one just for testing purposes but I'm in the middle of developing a site for a client and I'm not signing up for an account that requires a credit card when neither I nor the client will ever use it.

I could really use some help. If you want to see the error in action for yourself please visit http://www.technospider.com/~david/drupal5 and try to buy something.

Thanks,
David
http://www.FloridaPets.org

CommentFileSizeAuthor
#4 ups.inc-5.x-3.x-dev-fixt.patch980 bytesdjflux

Comments

tknospdr’s picture

Alright, because I'm on a schedule I went ahead and signed up for a UPS account in order to get the access key needed to work with UPS. I'm still receiving the same error.

Any help greatly appreciated.

Thanks,
David
http://www.FloridaPets.org

tknospdr’s picture

Okay, I may be getting closer to a cause. But not to a solution, since I'm allergic to PHP and other programming languages.

When I click the test button under UPS I get the following error message:

To test UPS configuration you must first create a Shippable Product and assign it shippable properties.

"create a Shippable Product" is a hyperlink to this URL (which obviously doesn't work):

http://www.technospider.com/node/add/product/tangible

Several problems with that. One, I don't have clean URLs enabled yet. Two, em tags in a URL? Three, I've got two test products set up. Both are tangible and have USPS and UPS shipping selected on them for testing purposes.

Help me Obi Wan Drupobi, you're my only hope.

Thanks,
David
http://www.FloridaPets.org

tknospdr’s picture

Sorry, blockquote stripped out my tags. That URL should look like so:

http://www.technospider.com/node/add/product/<em>tangible</em>

djflux’s picture

StatusFileSize
new980 bytes

The '%'s around line 174 need to be changed to '!'s Also the code assumes that the drupal site is not hosted in a subdirectory.

Attached patch resolves the problems.

djflux’s picture

Status: Active » Needs review

Change status to patch

gordon’s picture

Version: 5.x-3.x-dev » 5.x-4.x-dev
Status: Needs review » Fixed

I looked at your changes and did something similar but easier in some places.

Thanks for the lead on fixing this.

I have fixed this in v4 and v3

tknospdr’s picture

I just updated to the v4 version and nothing about my situation has changed. I'm still getting all the exact same symptoms and error messages. I cleared browser cache to be sure that I wasn't seeing old data. If someone would care to help me out, I'll be glad to give you an admin login to my site so you can poke around and make sure that it's not something stupid I've overlooked.

You can contact me via AIM (iChat) or YIM with username tknospdr.

Thanks,
David
http://www.FloridaPets.org

gordon’s picture

I am not sure how you downloaded the updates as you may have been too quick and it has not been packaged up.

If you want to chat more about this catch us in #drupal-ecommerce

tknospdr’s picture

I re-downloaded the v4 that was packaged up at 7am this morning. I still have the same problems.

A thought occurred to me though. When I first installed all the e-commerce modules some of the tables didn't get automatically created. I remember that shipping was one of them. I found a thread that had instructions on how to correctly create them via phpMyAdmin so I did that.

Is it possible that there's a table error that's causing all this strife? If so it's a widespread problem since there's lots of 'me too' posts describing both the missing tables issue and this error.

Thanks,
David
http://www.FloridaPets.org

tknospdr’s picture

So I disabled both shipcalc and shipping api and now the store works as expected. The issue remains though since I can't rely on simple shipping via flexicharge as my client offers Priority Mail, UPS overnite and 2nd day, and Delta Dash (not worried about adding this one in).

Either there's unresolved bugs, or my install is messed up. This project started with a clean installation though and so far all I've added is:

acidfree (disabled)
captcha
cck
date
ecommerce
image
image enhanced scaling (disabled)
image assist
riddler
textimage
thickbox
token
views
watermark

Any further help appreciated.

Thanks,
David
http://www.FloridaPets.org

tknospdr’s picture

Status: Fixed » Active
brmassa’s picture

Status: Active » Fixed

Guys,

fixed on eC4 CVS,

regards,

massa

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.