+ Reply to Thread
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 0 Times in 0 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. #2
    Developer Greystoke's Avatar
    Join Date
    Mar 2010
    Posts
    82
    Thanks
    1
    Thanked 4 Times in 4 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(); 

  3. The Following User Says Thank You to Greystoke For This Useful Post:

    alexm (23-07-2010)

  4. #3
    Junior Member alexm's Avatar
    Join Date
    Apr 2010
    Posts
    7
    Thanks
    1
    Thanked 0 Times in 0 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

  5. #4
    Developer Greystoke's Avatar
    Join Date
    Mar 2010
    Posts
    82
    Thanks
    1
    Thanked 4 Times in 4 Posts

    Default

    All files will be updated in the next release.

+ Reply to Thread

Posting Permissions

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