Mrgold54 Posted November 6, 2014 Share Posted November 6, 2014 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 More sharing options...
tuk66 Posted November 11, 2014 Share Posted November 11, 2014 Check if all files from v1.6.0.9 are really on the server. Especially /tools/htmlpurifier/HTMLPurifier.standalone.php. Link to comment Share on other sites More sharing options...
vekia Posted November 12, 2014 Share Posted November 12, 2014 what ps version you had before upgrade? Link to comment Share on other sites More sharing options...
Recommended Posts