Menu

#21 Jumper won't load. "Content encoding error"

open
nobody
None
5
2012-11-27
2010-11-13
No

I've installed Jumper, but I'm unable to run it. Firefox outputs an error screen:
----------------------------------------------------------
Content Encoding Error
The page you are trying to view cannot be shown because it uses an invalid or unsupported form of compression.
----------------------------------------------------------
Configuration: Linux Ubuntu 10.10, FF 3.6.12, Apache 2.2.16, PHP 5.3.3
----------------------------------------------------------
Headers:

GET /jmp/ HTTP/1.1

Host: localhost

User-Agent: Mozilla/5.0 (X11; U; Linux i686; pl-PL; rv:1.9.2.12) Gecko/20101027 Ubuntu/10.10 (maverick) Firefox/3.6.12

Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8

Accept-Language: pl,en-us;q=0.7,en;q=0.3

Accept-Encoding: gzip,deflate

Accept-Charset: ISO-8859-2,utf-8;q=0.7,*;q=0.7

Keep-Alive: 115

Connection: keep-alive

HTTP/1.1 200 OK

Date: Sat, 13 Nov 2010 15:34:41 GMT

Server: Apache/2.2.16 (Ubuntu)

X-Powered-By: PHP/5.3.3-1ubuntu9.1

Content-Encoding: gzip

Vary: Accept-Encoding

Content-Length: 630

Keep-Alive: timeout=15, max=100

Connection: Keep-Alive

Content-Type: text/html; charset=UTF-8

----------------------------------------------------------

I'm trying to work on it, but no luck so far.

Discussion

  • Marek Kalnik

    Marek Kalnik - 2010-11-14

    It may be related to:
    http://pl.php.net/manual/en/function.ob-gzhandler.php#97385

    I've noticed a request with HTTP 301 Moved Permanently header just before the one attached.

     
  • tca

    tca - 2011-01-21

    Using the link mentioned above I was able to resolve this problem with the following change:

    if ((!$z || $z == 'off') || (session_id() == null)) { ob_start("ob_gzhandler");

    basically I just added the || (session_id() == null)) section - everything seems to be working ok now (I saw this issue on RH linux)

    Changed the following two files:
    * jmp/client/inc/common.inc.php
    * jmp/admin/common.inc.php

     

Log in to post a comment.

MongoDB Logo MongoDB