After submission of new nodes by users with low level of access right, the following message is observed on an overwise white page:

/node/add/story
Fatal error: Cannot redeclare class HTMLPurifier_Bootstrap in /var/alternc/html/s/spc/lib/php/cms/drupal/6.x/sites/all/libraries/htmlpurifier/library/HTMLPurifier/Bootstrap.php on line 31

The content of the new node may or may not be saved.

Comments

nardberjean’s picture

/admin/reports/status
HTML Purifier Library 4.2.0

nardberjean’s picture

regressed HTML Purifier version to 31/5/2010 23:22 and it works apparently.

ezyang’s picture

Are you referring to the Drupal module or the HTML Purifier library?

nardberjean’s picture

in #2 in regressed the library not the drupal module

nardberjean’s picture

and it doesn't work either, I am not sure which versions of the library are supposed to work with the module. As it is used on a production site, I may have to remove completly the module, at least waiting the time needed to correct the problem.

nardberjean’s picture

/admin/reports/status

HTML Purifier Library 4.1.1
Your HTML Purifier library is out of date. The latest version is 4.2.0,...

nardberjean’s picture

I updated again to library version 4.2.0, very carefully. I tested just after that and it looked ok, that was yesterday, but today the error message come again at least for creating new pages. Are there any more data needed, or any test recommanded?

ezyang’s picture

Ok. Could you please try upgrading to the latest Git version (here is one possible tarball http://repo.or.cz/w/htmlpurifier.git/snapshot/78c4e622455665f0910778973e... ). I fixed a bug related to the Bootstrap. I'm a little confused by the fact that this is a regression from 4.1.1 to 4.2.0, because I definitely didn't touch the bootstrap code.

nardberjean’s picture

Sorry, but I switched the website with the problem to another filter module. I probably will find another one with this problem at some point.

ezyang’s picture

Status: Active » Closed (cannot reproduce)

OK, closing bug for now then.