Feng Forum

Support => Feng Office 1 => Older versions => 1.4 final => : claudio May 24, 2009, 08:41:22 AM

: Document Preview
: claudio May 24, 2009, 08:41:22 AM
Hello.
Congratulations for the new release !!!

I'm testing de new 1.4 release before put it on production and I found the following error at the Document Preview Pane:

Caught Exception in AutoLoader: exception 'Exception' with message 'Could not find class file for "DOMDOCUMENT"' in /var/www/www.in3.com.ar/html/goo/environment/classes/AutoLoader.class.php:105 Stack trace: #0 /var/www/www.in3.com.ar/html/goo/environment/classes/AutoLoader.class.php(111): AutoLoader->loadClass('DOMDOCUMENT') #1 /var/www/www.in3.com.ar/html/goo/application/functions.php(33): AutoLoader->loadClass('DOMDOCUMENT') #2 [internal function]: __autoload('DOMDocument') #3 /var/www/www.in3.com.ar/html/goo/library/htmlpurifier/HTMLPurifier.standalone.php(5828): class_exists('DOMDocument') #4 /var/www/www.in3.com.ar/html/goo/library/htmlpurifier/HTMLPurifier.standalone.php(142): HTMLPurifier_Lexer::create(Object(HTMLPurifier_Config)) #5 /var/www/www.in3.com.ar/html/goo/environment/functions/general.php(597): HTMLPurifier->purify('
display_content() #8 /var/www/www.in3.com.ar/html/goo/environment/classes/controller/PageController.class.php(62): Controller->execute('display_content') #9 /var/www/www.in3.com.ar/html/goo/environment/classes/Env.class.php(173): PageController->execute('display_content') #10 /var/www/www.in3.com.ar/html/goo/init.php(150): Env::executeAction('files', 'display_content') #11 /var/www/www.in3.com.ar/html/goo/index.php(9): require('/var/www/www.in...') #12 {main}

I searched for the definition of a class named "DomDocument" and I have not found it.
Any suggestion?
Thank you.
: Re: Document Preview
: alvarotm01 May 26, 2009, 12:38:10 PM
Hi,

Try to enable the extension 'domxml' in php.ini.
This will force htmlpurifier to use another class.
: Re: Document Preview
: ejavega November 10, 2009, 09:04:55 AM
To solve the problem without having to make rare patches, install the following packages from php: