Closed (fixed)
Project:
XML sitemap
Version:
7.x-2.x-dev
Component:
Documentation
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
6 Aug 2008 at 03:48 UTC
Updated:
9 May 2009 at 17:00 UTC
hello.
when my cron went off i got this error
Fatal error: Call to undefined function gzencode() in /usr/local/www/mywebsite.com/modules/xmlsitemap/xmlsitemap.module on line 421
i read that zlib support need to be configured on php, and mine has been. my system stats:
FreeBSD7 Apache/2.2.6 (FreeBSD) mod_ssl/2.2.6 OpenSSL/0.9.8e DAV/2 PHP/5.2.6 with Suhosin-Patch mySQL 5.1.22
any help would be greatly appreciated.
ephman
Comments
Comment #1
avpadernoComment #2
avpadernoIf you get that message error, then it means your PHP installation is not built in with zlib support. If that would be the case, then PHP would not give you such an error.
I am setting this as a bug report, as the module should first check if the function
gzencode()is defined.Comment #3
avpadernoComment #4
avpadernoThe module is now documented to require the zlib extension installed, and configured.
Comment #6
afagioliat today, we still have same issue with latest 5x xml sitemap module
thanks god I've blogged this issue years ago ...
http://www.fagioli.biz/?q=drupal-5-xml-sitemap-create-empy-site-map
Comment #7
avpadernoThe project requires the zlib extension installed, and configured; if that extension is not installed, the project code will not work.
To avoid the error, there is just a thing to do.