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
Comment #1
nardberjean commented/admin/reports/status
HTML Purifier Library 4.2.0
Comment #2
nardberjean commentedregressed HTML Purifier version to 31/5/2010 23:22 and it works apparently.
Comment #3
ezyang commentedAre you referring to the Drupal module or the HTML Purifier library?
Comment #4
nardberjean commentedin #2 in regressed the library not the drupal module
Comment #5
nardberjean commentedand 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.
Comment #6
nardberjean commented/admin/reports/status
HTML Purifier Library 4.1.1
Your HTML Purifier library is out of date. The latest version is 4.2.0,...
Comment #7
nardberjean commentedI 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?
Comment #8
ezyang commentedOk. 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.
Comment #9
nardberjean commentedSorry, but I switched the website with the problem to another filter module. I probably will find another one with this problem at some point.
Comment #10
ezyang commentedOK, closing bug for now then.