Andy-H Posted August 25, 2008 Share Posted August 25, 2008 I have downloaded and installed the Orca 1.1 AJAX forum script but it had a few errors, I have fixed a couple but am stuck at this one... Fatal error: Class 'XsltProcessor' not found in /usr/home/mafiaworld/domains/mafia-world.net/public_html/hooligan/forum/classes/BxXslTransform.php on line 91 <?php if (((int)phpversion()) >= 5) { $xml = new DOMDocument(); $xml->loadXML($this->_xml); $xsl = new DomDocument(); $xsl->load($this->_xsl); $proc = new XsltProcessor(); /// line 91 $proc->importStyleSheet($xsl); $res = $proc->transformToXML($xml); } ?> I have echoed the PHP version as an integer to check and it came up as 5, any help apperciated... =P Link to comment https://forums.phpfreaks.com/topic/121197-solved-xsltprocessor-class/ Share on other sites More sharing options...
Andy-H Posted August 25, 2008 Author Share Posted August 25, 2008 NVM lol User Rating: 952 | Rate This User Report this Post to a Moderator | Link Sander Moderator - Web Development Member since: 4/19/2002 From: Den Bosch, Netherlands Posted - 10/31/2005 1:36:42 AM I think I got it. libxlst needs to be installed on your server (ask your admin) and it needs to be enabled in the PHP configuration. Create a file with only the phpinfo() command and see if the --with-xsl configuration directive is set. If not, then the XLST processor is not available. Bug your admin to enable it. Link to comment https://forums.phpfreaks.com/topic/121197-solved-xsltprocessor-class/#findComment-624765 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.