xaraya_devel@xaraya.com
[Top] [All Lists]

Re: [Xaraya_devel] Xaraya 2x install problem?

Subject: Re: [Xaraya_devel] Xaraya 2x install problem?
From: ""
Date: Tue, 18 Dec 2007 09:03:37 +0100
Newsgroups: xaraya.devel
David Dyess II wrote:
> I just read the article on xar.com about 2x and saw the link to the 
> nightly build. I tried the nightly build a couple of weeks ago and got 
> an error, so I decided to try it again tonight. I got the same error:
> 
> Fatal error: Class 'XSLTProcessor' not found in 
> /home/david/public_html/xaraya2/lib/blocklayout/xsltransformer.php on 
> line 29

You need to make sure your PHP5 installation has the XSL 
module/extension active. See http://it.php.net/xsl
Note the manual says XSL should be included by default, some of the 
sources (including below) that say you need to recompile PHP5 with XSL 
support may be off the mark. I've found that in versions above PHP5.2.0 
XSL support is there, but not necessarily enabled.

You can check whether your system has XSL support enabled by running 
phpinfo() and looking for an entry called XSL. If you have Xaraya1x 
running on the same server you can check phpinfo by going to the admin 
area of the Base module. If not, add a file called info.php that 
contains the single line

<?php phpinfo() ?>

under the webroot, and then point your web browser to

http://<webroot>/info.php

(On a local machine this might be http://localhost/info.php)

If XSL support is not enabled, depending on the operating system, you'll 
probably have to add something like

extension=php_xsl.so  (Linux)
extension=php_xsl.dll (Windows)

to your php.ini file.

Here is a page with some detail in the case of Windows: 
http://www.tanguay.info/wamp/installPhp5.php5?step=17

If the above does not help, it may be that for whatever reason the XSL 
extension is indeed not included on your system. In that case we need to 
add it.

Here is a page that describes this in some detail, although it implies 
recompiling PHP5 on Linux:
http://www.adobe.com/devnet/dreamweaver/articles/config_php_xslt_07.html

If you are installing with apt-get this may be more useful: 
http://www.ubuntux.org/quick-apache2-ssl-mysql5-php5-dapper-install

Hope that helps,
Marc
_______________________________________________
Xaraya_devel mailing list
Xaraya_devel@xxxxxxxxxx
http://xaraya.com/mailman/listinfo/xaraya_devel

<Prev in Thread] Current Thread [Next in Thread>