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 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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/ |
|
|||
|
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 |
|
|||
|
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/ |
|
|||
|
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 |