Plugin Manager: Search XMLReader error

iantresman - September 17, 2009 - 08:27
Project:Plugin Manager
Version:6.x-1.10
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

1. Have just installed Plugin Manager, and am looking through its new Admin pages. On selecting Search and clicking the link "The repository is out of date. Update it by clicking here", I get a PHP error message:

Fatal error: Class 'XMLReader' not found in /mydir/sites/all/modules/plugin_manager/plugin_manager.module on line 348

2. It is also not clear what "The repository" is referring to.

#1

LeCoyote - October 10, 2009 - 10:06

The PHP error you are referring to means that your installation of PHP was not compiled with xmlreader support.
If you maintain it yourself, you can easily fix this by recompiling.

#2

iantresman - October 10, 2009 - 11:30

Thanks for that. Be nice if the Plugin Manager could test for xmlreader support itself, and issue an informative warning message, with an indication on how it can be solved, rather than resorting to a fatal PHP error.

 
 

Drupal is a registered trademark of Dries Buytaert.