List Info

Thread: Xaraya 2x install problem?




Xaraya 2x install problem?
country flaguser name
United States
2007-12-18 00:47:48
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/xsltransform
er.php on 
line 29

when trying to run install.php

I am running:

Ubuntu 7.10
Apache 2.2.4 (ubuntu)
PHP 5.2.3 (ubuntu)

I just wanted to bring it up, in case it isn't just a
problem with my 
configuration, since the article gives the indication 2x is
installable. 
  Also, if it is my configuration, anyone have any ideas how
to fix it? 
Thanks!

~David.D
_______________________________________________
Xaraya_devel mailing list
Xaraya_develxaraya.com
http:
//xaraya.com/mailman/listinfo/xaraya_devel

Re: Xaraya 2x install problem?
country flaguser name
United States
2007-12-18 02:03:37
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/xsltransform
er.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-mysq
l5-php5-dapper-install

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

Re: Xaraya 2x install problem?
country flaguser name
United States
2007-12-18 15:09:33
marcinmilanxaraya.com wrote:
> 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/xsltransform
er.php on 
>> line 29
> 
> You need to make sure your PHP5 installation has the
XSL 
> module/extension active. 
> 
> Hope that helps,
> Marc

That did the trick! I'll put this here for Ubuntu users:

sudo apt-get install php5-xsl
sudo /etc/init.d/apache2 force-reload

Thanks for the help Marc!

~David.D
_______________________________________________
Xaraya_devel mailing list
Xaraya_develxaraya.com
http:
//xaraya.com/mailman/listinfo/xaraya_devel

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )