Feng Forum

Support => Older versions => : andy.hoyle June 25, 2009, 07:37:39 AM

: Exception when viewing document
: andy.hoyle June 25, 2009, 07:37:39 AM
Version 1.4.2

Documents > New > Document

Typed content, clicked save, viewed document - I get this:

-------------------------------------------------------

Caught Exception in AutoLoader:

exception 'Exception' with message

'Could not find class file for "FILTERITERATOR"' in

/var/home/opengoo/opengoo.prometheanplanet.com/www/environment/classes/AutoLoader.class.php:105 Stack trace:

#0 /var/home/opengoo/opengoo.prometheanplanet.com/www/environment/classes/AutoLoader.class.php(111): AutoLoader->loadClass('FILTERITERATOR')
#1 /var/home/opengoo/opengoo.prometheanplanet.com/www/application/functions.php(33): AutoLoader->loadClass('FILTERITERATOR')
#2 /var/home/opengoo/opengoo.prometheanplanet.com/www/library/htmlpurifier/HTMLPurifier.standalone.php(6222): __autoload('FilterIterator')
#3 /var/home/opengoo/opengoo.prometheanplanet.com/www/environment/functions/general.php(588): require_once('/var/home/openg...')
#4 /var/home/opengoo/opengoo.prometheanplanet.com/www/application/controllers/Files
: Re: Exception when viewing document
: andy.hoyle June 30, 2009, 07:18:51 PM
Any news guys? I'm rolling out OpenGoo in the next couple of days and this feature will be used extensively.
: Re: Exception when viewing document
: Frits July 01, 2009, 06:42:50 AM
Did you try to just delete the autoloader.php file in de cache directory?
When it is not there it will generated automaticlly.
: Re: Exception when viewing document
: andy.hoyle July 16, 2009, 09:31:04 AM
Thanks for the suggestion. I tried that and got the same error:

:
Caught Exception in AutoLoader: exception 'Exception' with message 'Could not find class file for "FILTERITERATOR"'
in /var/home/opengoo/opengoo.prometheanplanet.com/www/environment/classes/AutoLoader.class.php:105
Stack trace:
#0 /var/home/opengoo/opengoo.prometheanplanet.com/www/environment/classes/AutoLoader.class.php(111): AutoLoader->loadClass('FILTERITERATOR')
#1 /var/home/opengoo/opengoo.prometheanplanet.com/www/application/functions.php(33): AutoLoader->loadClass('FILTERITERATOR')
#2 /var/home/opengoo/opengoo.prometheanplanet.com/www/library/htmlpurifier/HTMLPurifier.standalone.php(6222): __autoload('FilterIterator')
#3 /var/home/opengoo/opengoo.prometheanplanet.com/www/environment/functions/general.php(588): require_once('/var/home/openg...')
#4 /var/home/opengoo/opengoo.prometheanplanet.com/www/application/controllers/FilesController.class.php(1878): purify_html('
 Test D...')
#5 /var/home/opengoo/opengoo.prometheanplanet.com/www/environment/classes/controller/Controller.class.php(76): FilesController->display_content()
#6 /var/home/opengoo/opengoo.prometheanplanet.com/www/environment/classes/controller/PageController.class.php(62): Controller->execute('display_content')
#7 /var/home/opengoo/opengoo.prometheanplanet.com/www/environment/classes/Env.class.php(173): PageController->execute('display_content')
#8 /var/home/opengoo/opengoo.prometheanplanet.com/www/init.php(150): Env::executeAction('files', 'display_content')
#9 /var/home/opengoo/opengoo.prometheanplanet.com/www/index.php(9): require('/var/home/openg...')
#10 {main}
: Re: Exception when viewing document
: alvarotm01 July 16, 2009, 10:24:40 AM
Hi,

Try removing the function "purify_html()" in "environment/functions/general.php" line 599, and adding this function
:
function purify_html($html) {
return remove_css_and_scripts($html);
}
: Re: Exception when viewing document
: andy.hoyle July 16, 2009, 11:52:32 AM
Worked beautifully - thanks very much!!!