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

darren oh’s picture

Status: Active » Closed (works as designed)

You need to use a PHP build with Zlib support: http://us3.php.net/manual/en/ref.zlib.php

oldmanpants’s picture

Thanks!

dww’s picture

Status: Closed (works as designed) » Active

It'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

darren oh’s picture

Status: Active » Closed (fixed)

The 2.x version does not use zlib.

dww’s picture

Status: Closed (fixed) » Closed (won't fix)

Excellent. Glad to hear it. Thanks!

(If we're keeping the version 5.x-1.4, "won't fix" seems more accurate...)