Results 1 to 4 of 4

Thread: Checkout with gzip enabled

  1. #1
    Junior Member alexm's Avatar
    Join Date
    Apr 2010
    Posts
    7
    Thanks
    1
    Thanked 11 Times in 3 Posts

    Default Checkout with gzip enabled

    Hi,

    I just noticed an issue when gzip is enabled and a user is not logged on. When clicking on Checkout, instead of forwarding the user to the login page you get a page of gibberish instead.

    Alex

  2. The Following 4 Users Say Thank You to alexm For This Useful Post:

    ciojennacgalac (16-12-2012),itojessosaspos (23-11-2012),kescotekosek (03-11-2013),lrybuywejewe (26-08-2013)

  3. #2
    Developer Greystoke's Avatar
    Join Date
    Mar 2010
    Posts
    187
    Thanks
    2
    Thanked 499 Times in 113 Posts

    Default

    Hi,

    Sorry about this bug and thank you for pointing this out.

    In shop/checkout_shipping.php

    Find on line 17:

    PHP Code:
      if (!tep_session_is_registered('customer_id')) { 
    Add on new line after it:

    PHP Code:
        ob_end_clean(); 

  4. The Following 5 Users Say Thank You to Greystoke For This Useful Post:

    alexm (23-07-2010),ciojennacgalac (16-12-2012),itojessosaspos (23-11-2012),kescotekosek (03-11-2013),lrybuywejewe (26-08-2013)

  5. #3
    Junior Member alexm's Avatar
    Join Date
    Apr 2010
    Posts
    7
    Thanks
    1
    Thanked 11 Times in 3 Posts

    Default

    Thanks, that's sorted it.

    Do you think it would be wise to make the same mod to any of the other files that users may end up on whilst logged out e.g. if they have a shortcut to account.php etc?

    Alex

  6. The Following 3 Users Say Thank You to alexm For This Useful Post:

    itojessosaspos (23-11-2012),kescotekosek (03-11-2013),lrybuywejewe (26-08-2013)

  7. #4
    Developer Greystoke's Avatar
    Join Date
    Mar 2010
    Posts
    187
    Thanks
    2
    Thanked 499 Times in 113 Posts

    Default

    All files will be updated in the next release.

  8. The Following 4 Users Say Thank You to Greystoke For This Useful Post:

    ciojennacgalac (16-12-2012),itojessosaspos (23-11-2012),kescotekosek (03-11-2013),lrybuywejewe (26-08-2013)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •