Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XSLT
|
XSLT General questions and answers about XSLT. For issues strictly specific to the book XSLT 1.1 Programmers Reference, please post to that forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XSLT section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 24th, 2005, 07:21 AM
Registered User
 
Join Date: Oct 2004
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default xslt_create occasionally generates Fatal Error

Hi
An XSLT / PHP question - felt this the more appropriate forum of the two;)

Although my install of PHP has Expat enabled, when I execute:

Code:
    $parser = xslt_create();
The "first" time (defined as first time I load my web browser and point to the applicable PHP page on the internet, or after approx. 30 mins of inactivity if I reload the page) I do this I see:

Code:
Fatal error: Unknown function: xslt_create() in <filename> on line <n>
However if I immediately refresh the page no error is generated and I see gloriously formatted HTML (XML -> XSLT -> HTML)

What could be causing xslt_create() to fail? I do have Expat installed according to phpinfo():

Quote:
quote:
XML Support active
XML Namespace Support active
EXPAT Version expat_1.95.7
I have asked someone else to try a different web browser on their computer, and they also see the same error once, and a perfectly formatted page upon reloading it.

Thanks
-Colin

 
Old March 16th, 2006, 01:35 AM
Registered User
 
Join Date: Mar 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

i am also getting the same error:

Fatal error: Unknown function: xslt_create() in <filename> on line <n>


but i tried afetr reloading the page ....no difference.i got the same error again






Similar Threads
Thread Thread Starter Forum Replies Last Post
FATAL ERROR. Help me please??? steviej1 BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 11 February 27th, 2007 08:05 AM
Fatal Error?? dparsons ASP.NET 1.0 and 1.1 Professional 0 December 18th, 2006 01:55 PM
fatal error!!!! Ashleek007 Beginning PHP 6 October 9th, 2004 10:25 AM
Fatal error: singhzubin BOOK: Beginning PHP4/PHP 5 ISBN: 978-0-7645-4364-7; v5 ISBN: 978-0-7645-5783-5 2 April 11th, 2004 04:14 AM
DLL generates Database read-only error Howard Classic ASP Databases 0 July 19th, 2003 08:18 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.