Closed (fixed)
Project:
Google Sitemap
Version:
5.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
7 Nov 2007 at 15:28 UTC
Updated:
22 Nov 2007 at 02:11 UTC
Jump to comment: Most recent file
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
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | gsitemap.JPG | 31.16 KB | Foodster |
| #7 | gsitemap.module-190152.patch | 936 bytes | darren oh |
| phpinfo.jpg | 42.91 KB | Foodster |
Comments
Comment #1
darren ohYour zlib compression is off, so check your Apache configuration file for mod_gzip, if you're using Apache.
Comment #2
Foodster commentedhi darren.
Thanks for the fast respond, where to find that the mod_gzip is not enabled? it is zlib.output_compression Off ?
It is returning deflate, from the phpinfo()
_SERVER["HTTP_ACCEPT_ENCODING"] gzip,deflate
Comment #3
Foodster commentedi found this on the web, alternative way on how to enable the mod_gzip
http://www.webcodingtech.com/php/gzip-compression.php
Comment #4
darren ohLet 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,deflaterefers 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.Comment #5
darren ohShortcut: check the status page on your site. The server section may tell you what Apache modules are in use.
Comment #6
darren ohWell, 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.
Comment #7
darren ohAttached is a patch to uncompress the site map if eAccelerator is detected. Please review.
Comment #8
Foodster commentedhmm, the previous message gone. but we have something new.
Comment #9
darren ohYour 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.
Comment #10
darren ohFixed in CVS commit 87275.
Comment #11
darren ohComment #12
(not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.