Author Topic: Exception when viewing document  (Read 4277 times)

andy.hoyle

  • Newbie
  • *
  • Posts: 30
    • View Profile
Exception when viewing document
« on: 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
« Last Edit: July 16, 2009, 09:36:57 am by andy.hoyle »

andy.hoyle

  • Newbie
  • *
  • Posts: 30
    • View Profile
Re: Exception when viewing document
« Reply #1 on: 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.

Frits

  • Newbie
  • *
  • Posts: 16
    • View Profile
Re: Exception when viewing document
« Reply #2 on: 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.

andy.hoyle

  • Newbie
  • *
  • Posts: 30
    • View Profile
Re: Exception when viewing document
« Reply #3 on: July 16, 2009, 09:31:04 am »
Thanks for the suggestion. I tried that and got the same error:

Code: [Select]
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}
« Last Edit: July 16, 2009, 10:16:02 am by alvarotm01 »

alvarotm01

  • Administrator
  • Sr. Member
  • *****
  • Posts: 335
    • View Profile
    • Email
Re: Exception when viewing document
« Reply #4 on: 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
Code: [Select]
function purify_html($html) {
return remove_css_and_scripts($html);
}

andy.hoyle

  • Newbie
  • *
  • Posts: 30
    • View Profile
Re: Exception when viewing document
« Reply #5 on: July 16, 2009, 11:52:32 am »
Worked beautifully - thanks very much!!!