The fix was for cases where output is being compressed by PHP. It does not address cases where PHP output is being compressed by Apache mod_gzip or other accelerator software. If zlib_get_coding_type() does not return "gzip" or "deflate", please identify your problem and open a new issue.

I am opening a new issue here, i don't know exactly how to identify the problem but i have attached the phpinfo()

:: Please rename the phpinfo.jpg to phpinfo.htm

Comments

darren oh’s picture

Status: Active » Postponed (maintainer needs more info)

Your zlib compression is off, so check your Apache configuration file for mod_gzip, if you're using Apache.

Foodster’s picture

hi darren.

Thanks for the fast respond, where to find that the mod_gzip is not enabled? it is zlib.output_compression Off ?

If zlib_get_coding_type() does not return "gzip" or "deflate", please identify your problem and open a new issue.

It is returning deflate, from the phpinfo()

_SERVER["HTTP_ACCEPT_ENCODING"] gzip,deflate

Foodster’s picture

i found this on the web, alternative way on how to enable the mod_gzip

http://www.webcodingtech.com/php/gzip-compression.php

darren oh’s picture

Let me explain. This error is caused by your server's gzipping a site map which is already gzipped. What you need to know is where the site map is getting gzipped. We have established that PHP is not doing it (_SERVER["HTTP_ACCEPT_ENCODING"] gzip,deflate refers to how the server receives data, not to how it sends it). So the next thing to check for is another Apache module (not a PHP or Drupal module) that may be gzipping your output. The only one I know of is mod_gzip. Search your Apache configuration file (probably httpd.conf) and read your Apache documentation.

darren oh’s picture

Shortcut: check the status page on your site. The server section may tell you what Apache modules are in use.

darren oh’s picture

Well, taking a closer look at your phpinfo file, it appears that mod_gzip is not running either. However, I see that eaccelerator is compressing your output.

darren oh’s picture

Version: 5.x-1.9 » 5.x-1.x-dev
Status: Postponed (maintainer needs more info) » Needs review
StatusFileSize
new936 bytes

Attached is a patch to uncompress the site map if eAccelerator is detected. Please review.

Foodster’s picture

StatusFileSize
new31.16 KB

hmm, the previous message gone. but we have something new.

darren oh’s picture

Title: XML Parsing Error: not well-formed Line Number 1, Column 1: » Decompress output for eAccelerator
Version: 5.x-1.x-dev » 5.x-2.x-dev
Assigned: Unassigned » darren oh
Status: Needs review » Reviewed & tested by the community

Your site map is working correctly. You are looking at the site map index, which contains links to your site maps. The 5.x-2.x-dev version no longer produces an index for a single site map.

Since no more 1.x releases will be made, I am switching this issue to version 2.x.

darren oh’s picture

Status: Reviewed & tested by the community » Fixed

Fixed in CVS commit 87275.

darren oh’s picture

Category: support » bug
Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.