Closed (won't fix)
Project:
XML sitemap
Version:
5.x-1.4
Component:
xmlsitemap
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Feb 2008 at 18:27 UTC
Updated:
20 May 2008 at 19:07 UTC
Hi.
I'm using Drupal 5.5. I get the following error message when I run cron in order to update the sitemap. Any ideas. Thanks.
Fatal error: Call to undefined function gzencode() in /users/home/kolke/domains/kissandmakeupstore.com/web/public/sites/all/modules/xmlsitemap/xmlsitemap.module on line 415
Comments
Comment #1
darren ohYou need to use a PHP build with Zlib support: http://us3.php.net/manual/en/ref.zlib.php
Comment #2
oldmanpants commentedThanks!
Comment #3
dwwIt'd be nice if:
A) That requirement was mentioned anywhere in the README.txt or INSTALL.txt. ;)
B) That you implemented hook_requirements(), checked for this, and provided an error on the status report if you tried to enable this on a site without zlib support.
Also, out of curiosity, why do you need to gzip any of this stuff? Couldn't that be made optional and make this a recommendation, not a hard requirement?
Thanks,
-Derek
Comment #4
darren ohThe 2.x version does not use zlib.
Comment #5
dwwExcellent. Glad to hear it. Thanks!
(If we're keeping the version 5.x-1.4, "won't fix" seems more accurate...)