Forums / Bug Reports / [Not a ZC bug] Shipping Estimator bug

[Not a ZC bug] Shipping Estimator bug

Locked

Views: 2,083

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
6 Jan 2007, 10:37 PM
#1
tphoare avatar

tphoare

New Zenner

Join Date:
Sep 2005
Location:
London
Posts:
88
Plugin Contributions:
0

[Not a ZC bug] Shipping Estimator bug

If a user's session time outs while the estimate shipping box is on screen and then the user attempts to change the shipping address in the drop down menu the following appears:

Estimate Shipping Costs
Whoops! Your session has expired ... Please update your shopping cart for Shipping Quote ...

Array
(
    [customers_host_address] => host86-129-219-186.range86-129.btcentralplus.com
    [cartID] => 
    [cart] => shoppingcart Object
        (
            [observers] => Array
                (
                )

            [contents] => Array
                (
                )

            [total] => 0
            [weight] => 0
            [content_type] => 
            [free_shipping_item] => 0
            [free_shipping_weight] => 0
            [free_shipping_price] => 0
        )

Blah, Blah, Etc, Etc

Unlikely I know but would appear to be a small bug never the less. Version 1.3.7 and 1.3.6

Cheers

6 Jan 2007, 11:47 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: [Not a ZC bug] Shipping Estimator bug

Well technically that isn't a bug ... it needs to say something when the session times out as it has no information to compute the shipping from ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

7 Jan 2007, 3:43 AM
#3
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: [Not a ZC bug] Shipping Estimator bug

The "whoops" part is not a Zen Cart bug, as Ajeh mentioned.

I suspect you're referring to the array-dump that follows it.
In v1.3.7, there are very few print_r() commands that are not commented-out.

You might try searching your tpl_modules_shipping_estimator.php files and your shipping_estimator.php module files to see if you've got an accidental print_r($_SESSION) command sitting there that shouldn't be.

I can't duplicate your problem in a fresh v1.3.7 install.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

7 Jan 2007, 5:22 PM
#4
tphoare avatar

tphoare

New Zenner

Join Date:
Sep 2005
Location:
London
Posts:
88
Plugin Contributions:
0

Re: [Not a ZC bug] Shipping Estimator bug

Thanks for reply.

Traced problem to the integration of part of the Royal Mail shippling module into 1.3.6 and 1.3.7. Haven't actually resolved the problem, but at least I know what it is.

Thanks again