Chri's BLOG

Rants, Reviews, Thoughts and Info

IPB Forum Error Fix

Are you getting this error?

Warning: Base directory HTML_PURIFIER_PATHcache/tmp does not exist, please create or change using %Cache.SerializerPath in /ips_kernel/HTMLPurifier/HTMLPurifier/DefinitionCache/Serializer.php on line 133

I searched the web trying to find a fix, only to find more posts with the problem.

Luckily, I came across one post that did have a fix.

Here you guys go:

 

Open /admin/sources/base/ipsRegistry.php and search for:

 # Define cache path define ('IPS_CACHE_PATH', (! Empty (ipsRegistry :: $ settings ['ipb _cache_path']))? IpsRegistry :: $ settings ['ipb _cache_path']: DOC_IPS_ROOT_PATH);  

add

 if (! defined ('HTML_PURIFIER_PATH'))    
{     
define ('HTML_PURIFIER_PATH', IPS_CACHE_PATH);   

Walla!

Please comment if this helped you 🙂

March 29, 2015 - Posted by | Computers | , ,

2 Comments »

  1. greate dear
    Thank you sooo much

    Comment by Anonymous | April 10, 2015 | Reply

  2. What does that mean?

    Comment by cherry | September 28, 2016 | Reply


What do you think? Leave your thoughts!