warning: require_once(sites/all/modules/htmlpurifier/library/HTMLPurifier.auto.php) [function.require-once]: failed to open stream: No such file or directory in /http/php5/studentcafe.pl/www/sites/all/modules/htmlpurifier/htmlpurifier.module on line 288.

and that line is:

  require_once "$library_path/library/HTMLPurifier.auto.php";
  require_once "$module_path/HTMLPurifier_DefinitionCache_Drupal.php";

i think, this should be repaired, because now module is using "libraries" module...

Comments

ezyang’s picture

Category: bug » support
Priority: Critical » Normal
Status: Active » Postponed (maintainer needs more info)

We fall back to looking in the module directory (as appears to be the case in your error message) if the libraries module is not installed or enabled. So, have you enabled it?

hexen’s picture

Everything is installed and enabled correctly, like README tells.

ezyang’s picture

Category: support » bug
Status: Postponed (maintainer needs more info) » Needs work

It looks like the README is wrong. Move those files into a library folder. I need to figure out what format we're going to support, maybe I'll just make the code support everything.

hexen’s picture

Files ARE IN LIBRARY folder ;(

ezyang’s picture

Status: Needs work » Fixed

I've fixed INSTALL.txt.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

bryancasler’s picture

Not having the proper documentation caused my sight to crash hard (just an unresponsive page, not even a WSOD). On your homepage the path listed for the HTML purifier files is different than what is listed in the modules install.txt file.

For anyone else reading this I found that installing Libraries API and using the path structure below made everything work.
sites/all/libraries/htmlpurifier/library/HTMLPurifier.auto.php