Phoca

Home/Tag:Phoca

Phoca Guestbook and HTMLPurifier Errors

I had installed Phoca Guestbook to my Joomla! 1.5 the last days... So now i was going out to get it on my website so i check out the admistration section but if i goes to the site section i get only errors. Errors: Warning: require_once(HTMLPurifier/Error.php) [function.require-once]: failed to open stream: No such file or directory in /home/www/webx/html/components/com_phocaguestbook/assets/library/HTMLPurifier/ConfigSchema.php on line 3 Fatal error: require_once() [function.require]: Failed opening required 'HTMLPurifier/Error.php' (include_path='.') in /home/www/webx/html/components/com_phocaguestbook/assets/library/HTMLPurifier/ConfigSchema.php on line 3 The Solution: Upgrade my HTMLPurifier version so that i get away this damn includes. Upgrade your HTMLPurifier in only 5 steps: Get on http://htmlpurifier.org/ and download the latest version (in my case it was v4.0.0) Replace your library with the one from the download package (/home/www/webx/html/components/com_phocaguestbook/assets/library) Open the file /home/www/webx/html/components/com_phocaguestbook/views/view.html.php with a editor Search for the following code: $configP = HTMLPurifier_Config::createDefault(); $configP->set('Core', 'TidyFormat', !empty($_REQUEST['tidy'])); $configP->set('Core', 'DefinitionCache', null); $configP->set('HTML', 'Allowed', 'strong,em,p[style],span[style], [...]

By | 2016-10-29T13:55:20+00:00 February 19th, 2010|Uncategorized|4 Comments
Load More Posts