[Help me] Orca Forum, xslt, php 5.1.6 and Linux Cento's server

wop82 posted 8th of May 2008 in Community Voice. 3 comments.
Hello!

I'm installing Dolphin for the first time and I got the following error: Fatal error: Class 'DomDocument' not found in /orca/classes/Forum.php on line 1739

It seems a problem connected with the xslt. Can anyone tell me how to enable the xslt on my server?

I use PHP Version 5.1.6 running on LINUX Cento's.

Thank you very much!

wop82

 
Comments
·Oldest
·Top
Please login to post a comment.
Depending on how your setup is, you need to recompile php with it enabled.

we run Centos 5 on all ours

CyberXing
I either assuming this worked or it didnt work.

:-)

CyberXing
Lexasan
Sorry for necroposting, but I just did it myself, so may be someone find it useful.

First, download the latest version of expat, and then extract it in a convenient directory:

tar xfz expat-x.xx.x.tar.gz

Go into that directory and type the following commands to configure, compile, and install expat with the default options

./configure
make
make install

With expat compiled and installed, you're now ready to do the same for Sablotron.Extract the source archive as you did for expat:

tar see more xfz Sablot-x.xx.tar.gz

Go into the directory thus produced and run the following commands to configure, compile, and install Sablotron.

./configure
make
make install

Finally, you're ready to compile and install PHP with XSLT support.
For PHP4 add foloving keys: --enable-xslt --with-xslt-sablot
For PHP5: --with-xsl=/usr/lib
(where "/usr/lib" is a path xsl)
So, in my case PHP5 config string was: ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql --with-zlib --with-zlib-dir=/usr/local/lib --with-gd --with-jpeg-dir=usrlib --enable-mbstring --with-xsl=/usr/lib
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.
PET:0.050239086151123