Child pages
  • [in-commerce] Order thank you screen and session expiration problem
Skip to end of metadata
Go to start of metadata

Imported From: http://groups.google.com/group/in-portal-bugs/browse_thread/thread/198c1d40484895f5#

When you are on other thank you page (after checkout is complete) and then you go drink so tee for an 2 hours or so, then when you return session expiration happens or not happens. Anyway session is dead by then. On that thank you template, when order contents is printed it's ID is retrieved from session via "front_order_id" variable. When session is gone, then ID is gone too, so instead of products in order we are getting all possible products from database which most likely will end up with fatal error about too much memory being used by the script.

I propose to use FAKE_ORDER_ID constant as order id in case, when ID in session is lost. This will give us empty order and no errors.

Related Tasks

MINC-52 - Getting issue details... STATUS

2 Comments

  1. Yes, this should help.

    Can you take over and implement this with patch here?

    Thanks.

  2. Here is the task:

    MINC-52 - Getting issue details... STATUS