CodeIgniter Forums

Full Version: Installing HTMLPurifier as a codeigniter library
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[eluser]Unknown[/eluser]
Hello,

I did a small writeup on how to install HTML Purifier as a codeigniter library. I published the article about htmlPurifier and the codeigniter framework on my regular website Mindloop webdesign

Let me know if you find some errors / spelling mistakes (English is not my mother tongue so..)

El Forum

[eluser]Jumper[/eluser]
Thanks. Good stuff. HTML purifier is a must these days.

El Forum

[eluser]Jason Hamilton-Mascioli[/eluser]
I installed HTML purifier as a ci library but get this error when I run the test..

Fatal error: Call to undefined method domdocument::loadHTML() in C:\wamp\www\cwgen\system\application\libraries\HTMLPurifier\Lexer\DOMLex.php on line 59

System:windows/php5/apache using freakauth

El Forum

[eluser]Jason Hamilton-Mascioli[/eluser]
Fixed the issue - uninstalled the domxml extension on the wamp install. Now it works.

El Forum

[eluser]johnwbaxter[/eluser]
Would be great if you could put this on the WIKI!

El Forum

[eluser]Derek Allard[/eluser]
great writeup, thanks for contributing!