Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 2005
    Location
    Waikato, New Zealand
    Posts
    1,539
    Plugin Contributions
    3

    Default Sidebox Anywhere and gzip compression

    Ok this is a continuation of this thread its just moved away from the original topic

    Basically
    I am using the "sidebox anywhere" mod to display the "new products" on my main page

    http://scrapbookoutletnz.co.nz/maani2/index2.php

    That page may not load for you, i know it loads in Opera,but I can't get it to load in any other browser

    Unfortunately it is spitting out gibberish see here

    http://www.zen-cart.com/forum/attach...7&d=1298264134

    If I turn off zencarts gzip compression the gibberish dissappears and the correct shows*

    as soon as i turn gzipcompression on again the gibberish returns

    Is there any way i can decompress the info coming from the "Sidebox Anywhere" mod



    *Images are missing but everything else is there
    Webzings Design
    Semi retired from Web Design

  2. #2
    Join Date
    Jan 2004
    Posts
    66,374
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Sidebox Anywhere and gzip compression

    Evidently your server can't send gzip-compressed data properly. Maybe it's not configured to be able to *do* gzip?
    .

    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.

  3. #3
    Join Date
    Sep 2005
    Location
    Waikato, New Zealand
    Posts
    1,539
    Plugin Contributions
    3

    Default Re: Sidebox Anywhere and gzip compression

    Can you expand on that, I do not understand

    When i test the zencart shop here

    http://scrapbookoutletnz.co.nz/shop/

    For gzip compression

    http://www.whatsmyip.org/http_compression/

    It tells me that the store is gzipped

    But the page the sidebox is being displayed on is not gzipped.

    So if I put this at the top of my non gzipped page

    PHP Code:
    <?php if (substr_count($_SERVER['HTTP_ACCEPT_ENCODING'], 'gzip')) ob_start("ob_gzhandler"); else ob_start(); ?>
    it works
    http://scrapbookoutletnz.co.nz/maani2/index6.php

    Ok, so that seems to fix it.

    So that leaves me with 2 questions

    1) How do i add /shop/ to the imags url so they work without breaking compatibility with image handler
    2) Is there a way to check what would be shown to browsers that don't support compression?
    Webzings Design
    Semi retired from Web Design

 

 

Similar Threads

  1. GZip compression
    By I wish I could in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 27 Mar 2011, 05:27 AM
  2. GZip Compression Disabling Issue
    By AlexT in forum Basic Configuration
    Replies: 2
    Last Post: 30 Jul 2008, 03:52 PM
  3. GZip Compression
    By cs_jono in forum General Questions
    Replies: 7
    Last Post: 18 Jun 2008, 04:13 AM
  4. New Products and GZip compression
    By sitehatchery in forum General Questions
    Replies: 8
    Last Post: 9 Apr 2007, 05:15 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR