Set-cookie error

General ShopSite user discussion
Post Reply
dlundell
Posts: 95
Joined: Fri Aug 04, 2006 6:13 pm

Set-cookie error

Post by dlundell »

Hi,

As of sometime this morning, a number of customers (but not all) are getting an error similar to the following, when trying to add an item to their shopping carts:

no element found at line 1, column 0, byte -1 at /usr/local/lib/perl5/site_perl/5.8.8/i386-freebsd/XML/Parser.pm line 187 Set-Cookie: ss_cart_0001144939=%7CLineCnt%3A1%7CQntyTotal%3A1%7CSubTotal%3A%242.06%7C1%3A%242.06%3APowerBar%20Gel%20Blasts%20-%20pac%7C; expires=Tuesday, 16-Dec-2008 12:00:00 GMT; domain=zombierunner.com; path=/; Status: 302 BackToPreviousLocation Location: http://www.zombierunner.com/store/brands/power_bar/ The link has moved here.

I get the same error from Opera, Firefox and IE.

Note that on Firefox, if I clear private data, I can add an item with errors (clearly this is not a fix, but maybe a clue).

Anyone have an idea about what might be going on?

This is Shopsite v10.

Thanks,

- dc
Jim
Site Admin
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah

Post by Jim »

Do you have a custom add on module such as shipping, OrderAPi etc. The path includes perl which is not used anywhere in ShopSite.
dlundell
Posts: 95
Joined: Fri Aug 04, 2006 6:13 pm

Post by dlundell »

Jim wrote:Do you have a custom add on module such as shipping, OrderAPi etc. The path includes perl which is not used anywhere in ShopSite.
The same lexiconn USPS module that we've been using for years.

Do you know if there's been a change in Shopsite v10?

(though even if so, I'm not sure why we're just seeing this as of today)

Thanks,

- dc
loren_d_c
Posts: 2572
Joined: Fri Aug 04, 2006 12:02 pm
Location: Anywhere
Contact:

Post by loren_d_c »

It seems like the USPS servers may be having problems recently (today) and it looks like in the case of your error message that the USPS module (or perhaps a Perl module that it depends on) is producing an error message in some situations that is being output to the browser (instead of to a log file or wherever else it should be writing such errors) and preventing the regular ShopSite cookie routines/headers from being output properly. I doubt this has anything to do with v10, but rather with the particular strange way that the USPS servers are behaving.

You may try using ShopSite's USPS integration instead of the Perl add-on to see if this helps eliminate the Perl XML Parser error, but it may just avoid that particular error message, it is not going to help get USPS rates if the USPS rate servers are acting up, only USPS can fix that.

-Loren
Post Reply