newbie: xslt_create error

This is a discussion on newbie: xslt_create error within the PHP Language forums, part of the PHP Programming Forums category; Hello, I have started learning PHP5. I am writing a program in which I need to do XSL Transform. It ...


Go Back   Usenet Forums > PHP Programming Forums > PHP Language

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-13-2007
R.A.M.
 
Posts: n/a
Default newbie: xslt_create error

Hello,
I have started learning PHP5. I am writing a program in which I need to do
XSL Transform.
It looks like in a line:

$xh = xslt_create();

I have an error because when I comment it I can see output, but I uncomment
I see no output.
(I failed to run debugging).
Please help - what's wrong in this line?
/RAM/


Reply With Quote
  #2 (permalink)  
Old 12-13-2007
Joe Scylla
 
Posts: n/a
Default Re: newbie: xslt_create error

R.A.M. wrote:
> Hello,
> I have started learning PHP5. I am writing a program in which I need to do
> XSL Transform.
> It looks like in a line:
>
> $xh = xslt_create();
>
> I have an error because when I comment it I can see output, but I uncomment
> I see no output.
> (I failed to run debugging).
> Please help - what's wrong in this line?
> /RAM/


It would be very very very helpful for us all if you would also post the
error message you got.

Sadly my crystal ball is currently on repair but probable if you get a
error message like:

"Fatal error: Call to undefined function xslt_create() in file on line
linenumber"

This means that the function you tried to use it not available in your
installation op php. The function you try to use is not anymore a a part
of php but stil available in the PECL repository.

For more information please check out the php manual:
http://www.php.net/manual/en/ref.xslt.php

Joe
Reply With Quote
  #3 (permalink)  
Old 12-13-2007
R.A.M.
 
Posts: n/a
Default Re: newbie: xslt_create error

Użytkownik "Joe Scylla" <joe.scylla@gmail.com> napisał w wiadomości
news:fjrmn8$eiq$01$1@news.t-online.com...
> It would be very very very helpful for us all if you would also post the
> error message you got.


It is my first program in PHP. I tried to print error this way:

$xh = xslt_create(); echo xslt_error($xh);

but it didn't print anything because echo was not reached. What can I do?
/RAM/




Reply With Quote
  #4 (permalink)  
Old 12-13-2007
Rik Wasmus
 
Posts: n/a
Default Re: newbie: xslt_create error

On Thu, 13 Dec 2007 18:15:23 +0100, R.A.M. <r_ahimsa_m@poczta.onet.pl>
wrote:

> Użytkownik "Joe Scylla" <joe.scylla@gmail.com> napisał w wiadomości
> news:fjrmn8$eiq$01$1@news.t-online.com...
>> It would be very very very helpful for us all if you would also post the
>> error message you got.

>
> It is my first program in PHP. I tried to print error this way:
>
> $xh = xslt_create(); echo xslt_error($xh);
>
> but it didn't print anything because echo was not reached. What can I do?


Set error_reporting to E_ALL and display_errors to On in your php.ini (for
a development machine offcourse, production servers should not display
errors and log them instead).
--
Rik Wasmus
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 09:00 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0