php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #11849 random "duplicit rule name" error
Submitted: 2001-07-02 19:28 UTC Modified: 2001-07-30 18:34 UTC
From: bsarsgard at vmtllc dot com Assigned:
Status: Closed Package: Sablotron XSL
PHP Version: 4.0.5 OS: Linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: bsarsgard at vmtllc dot com
New email:
PHP Version: OS:

 

 [2001-07-02 19:28 UTC] bsarsgard at vmtllc dot com
Randomly, any pages that normally work fine (all pages on the site), die with:

Fatal error: duplicit rule name 'nav_new'

"nav_new" is the name of the first named template in the xsl document.  Other pages report different ones, whichever is first in the document.

If I go get a cup of coffee, they'll usually work again by the time I come back.  I can't see any pattern as to what triggers the problem.

Here's my config:

'./configure' '--prefix=/usr' '--with-apxs=/usr/sbin/apxs' '--with-gd' '--enable-safe-mode' '--with-config-file-path=/etc/httpd' '--with-exec-dir=/usr/bin' '--enable-magic-quotes' '--with-regex=system' '--with-ttf=/usr/lib/libttf.so' '--enable-track-vars' '--enable-xml' '--with-mysql=/usr' '--with-pgsql' '--with-trans-sid' '--with-dom=/usr' '--with-zlib=/usr' '--with-java=/usr/java/jdk1.3' '--with-sablot=/usr/local/lib' '--with-expat=/usr/local/lib' '--with-pdflib=/usr/local/lib' '--with-cpdflib=/usr/local/include' '--with-fdf=/usr/lib'

I'm using Sablotron 0.60


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-07-05 12:14 UTC] bsarsgard at vmtllc dot com
This appears not to be random, after all.  It way be an xsl error which triggers this bug.  I'll upload a change to an xsl document, and it will either display the proper error, or this error.  Once that has happened, however, I can't get any other (unchanged) xsl documents to parse, in any other pages on the server, Even if I change the xsl back to the way it was before.
 [2001-07-30 18:34 UTC] sterling@php.net
please upgrade to the new xslt extension (--enable-xslt 
--with-xslt-sablot) as all development is now focused on 
that extension.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Dec 27 12:01:29 2024 UTC