Closed (fixed)
Project:
XML sitemap
Version:
7.x-2.x-dev
Component:
xmlsitemap.module
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 May 2011 at 12:32 UTC
Updated:
30 May 2011 at 16:21 UTC
The 7.x-2.x module renders the site unusable if the XMLWriter component is not enabled in PHP. (I only get a HTTP 500 here.)
There should be a check to see if XMLWriter is available.
Dave Reid already added this for 6.x, http://drupal.org/node/935516#comment-3896784
Comments
Comment #1
dave reidHow did you manage to install Drupal 7 then? It already depends on having the xml extension enabled.
Comment #2
zany commentedIn my setup (gentoo) xml and xmlwriter are two separate options. D7 does not depend on xmlwriter.
Comment #3
dave reidOh grr, I didn't check that XMLWriter was its own separate extension. Does extension_loaded('xmlwriter') in your case return FALSE?
Comment #4
dave reidCommitted a requirements check for xmlwriter extension to 7.x-2.x and 6.x-2.x.
http://drupalcode.org/project/xmlsitemap.git/commit/f731b47
http://drupalcode.org/project/xmlsitemap.git/commit/498e9d2