Jump to content

Strange Error Mesage


Recommended Posts

After 2 days from update my site to last version of PS 1.6.0.9 suddenly I got a strange error:

 

Fatal error: Class 'HTMLPurifier_Config' not found in /home/izolmbwb/public_html/vitalbuy.net/classes/Tools.php on line 3123

 

After I check the file and the code I was unable to identify the error, this is the code:

 

if ($purifier === null)

{

$config = HTMLPurifier_Config::createDefault();

$config->set('Attr.EnableID', true);

$config->set('HTML.Trusted', true);

$config->set('Cache.SerializerPath', _PS_CACHE_DIR_.'purifier');

 

if (Configuration::get('PS_ALLOW_HTML_IFRAME'))

{

$config->set('HTML.SafeIframe', true);

$config->set('HTML.SafeObject', true);

$config->set('URI.SafeIframeRegexp','/.*/');

}

$purifier = new HTMLPurifier($config);

}

 

what I have to do to fix this problem?

Link to comment
Share on other sites

×
×
  • Create New...