Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
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
apadernoComment #2
apadernoIf 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
apadernoComment #4
apadernoThe 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
apadernoThe 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.