Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Hybrid View

  1. #1
    Join Date
    Jun 2007
    Location
    Eustis, Florida, USA, EARTH
    Posts
    836
    Plugin Contributions
    0

    Default gZip compression error The page you are trying to view cannot be shown because it use

    I get this browser error if gzip=1

    The page you are trying to view cannot be shown because it uses an invalid or unsupported form of compression.

    with gzip=0

    Page loads perfectly.

    v1.5.1

  2. #2
    Join Date
    Dec 2009
    Location
    Amersfoort, The Netherlands
    Posts
    2,845
    Plugin Contributions
    25

    Default Re: gZip compression error The page you are trying to view cannot be shown because it

    I suspect your host has gzip disabled

  3. #3
    Join Date
    Jun 2007
    Location
    Eustis, Florida, USA, EARTH
    Posts
    836
    Plugin Contributions
    0

    Default Re: gZip compression error The page you are trying to view cannot be shown because it

    That would be me. What file to edit?

  4. #4
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: gZip compression error The page you are trying to view cannot be shown because it

    .

    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.

  5. #5
    Join Date
    Jun 2007
    Location
    Eustis, Florida, USA, EARTH
    Posts
    836
    Plugin Contributions
    0

    Default Re: gZip compression error The page you are trying to view cannot be shown because it

    My file
    /usr/local/apache/conf/httpd.conf

    <ifModule mod_gzip.c>
    mod_gzip_on Yes
    mod_gzip_dechunk Yes
    mod_gzip_item_include file .(html?|txt|css|js|php|pl)$
    mod_gzip_item_include handler ^cgi-script$
    mod_gzip_item_include mime ^text/.*
    mod_gzip_item_include mime ^application/x-javascript.*
    mod_gzip_item_exclude mime ^image/.*
    mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*
    </ifModule>

  6. #6
    Join Date
    Jun 2007
    Location
    Eustis, Florida, USA, EARTH
    Posts
    836
    Plugin Contributions
    0

    Default Re: gZip compression error The page you are trying to view cannot be shown because it

    I have read other posts on line from 2009. Same scenario that I have. Gzip enabled with admin off serves up pages not compressed. Turning on admin gzip gives a blank page.

    I really dont want to got to every directory and edit each htaccess file to have pages compressed.

  7. #7
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: gZip compression error The page you are trying to view cannot be shown because it

    Quote Originally Posted by pixelpadre View Post
    My file
    /usr/local/apache/conf/httpd.conf

    <ifModule mod_gzip.c>
    mod_gzip_on Yes
    mod_gzip_dechunk Yes
    mod_gzip_item_include file .(html?|txt|css|js|php|pl)$
    mod_gzip_item_include handler ^cgi-script$
    mod_gzip_item_include mime ^text/.*
    mod_gzip_item_include mime ^application/x-javascript.*
    mod_gzip_item_exclude mime ^image/.*
    mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*
    </ifModule>
    I'm thinking that this probably isn't what you need to be doing. mod_gzip hasn't been used by Apache for several years now. It has been replaced with the newer mod_deflate.

    This may help (assuming you are using Centos 7)

    https://www.digitalocean.com/communi...te-on-centos-7

    Cheers
    RodG

  8. #8
    Join Date
    Jun 2007
    Location
    Eustis, Florida, USA, EARTH
    Posts
    836
    Plugin Contributions
    0

    Default Re: gZip compression error The page you are trying to view cannot be shown because it

    Thanks, but that link explained how to do it in htaccess. I had that already. I want to config apache installed on centos. Not really ZC related. Im searching.

  9. #9
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: gZip compression error The page you are trying to view cannot be shown because it

    nobody?
    This is not really a ZenCart issue but more of a server config issue
    You might be better off posting on one of the sysadmin forums about this
    Zen-Venom Get Bitten

  10. #10
    Join Date
    Jun 2007
    Location
    Eustis, Florida, USA, EARTH
    Posts
    836
    Plugin Contributions
    0

    Default Re: gZip compression error The page you are trying to view cannot be shown because it

    Maybe. But with the Dr post for the htacess entry, pages will compress. Many have had issues with the built in ZC compression. Maybe it has to be revisited to conform to new apache versions.


 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 1
    Last Post: 10 Oct 2012, 05:25 PM
  2. 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
  3. GZip Compression Error: Pages Wont Load
    By limelites in forum General Questions
    Replies: 13
    Last Post: 26 May 2009, 03:52 PM
  4. GZip Compression
    By cs_jono in forum General Questions
    Replies: 7
    Last Post: 18 Jun 2008, 04:13 AM
  5. Cannot install because can't view PHP pages.
    By etrain in forum Installing on a Linux/Unix Server
    Replies: 2
    Last Post: 25 May 2008, 04:21 AM

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