Re: PopoonXSLTParseErrorException (xsl:template: error duplicate name 'contentRight')
Christian Stocker <[email protected]> Tue, 21 Dec 2004 13:34:00 +0100
| Newsgroups | gmane.comp.cms.bitflux.general.german |
|---|---|
| Message-ID | <[email protected]> |
Hi ok. I found the problem... You were using a newer libxslt than me and the xsl:include behaviour changed with libxslt 1.1.11 (http://bugzilla.gnome.org/show_bug.cgi?id=151795 for those wondering) change all xsl:include with xsl:import and then it should hopefully work. I'll investigate in that further and commit correct fixes soon chregu On 21.12.2004 10:53 Uhr, A.A. wrote: > Hi > Christian Stocker wrote: > >> Hi >> >> On 20.12.2004 20:18 Uhr, [email protected] wrote: >> >>> Hallo leute, >>> ich versuch seit eine woche das folgende problem zu loesen. >>> Leider ohne erfolg. >>> Die folgende meldung kommt wenn ich auf http://meinsite.gr/blog klicke >>> ---------------MELDUNG ANFANG --------------- >>> PopoonXSLTParseErrorException >>> >>> Message: XSLT Error in >>> /var/web/dev/www.xedit.gr/xcms/themes/bxcms/blog.xsl >> >> >> >> Hast du blog.xsl geändert? > > > nein. > >> >> Wenn ja, kannst du den source-code mal online stellen? >> >> Wenn nein, kannst du mal das neuste update holen? >> > Ist von cvs vor ca einer woche > >> Diese Fehlermeldung hatte ich jedenfalls noch nie, mit unseren >> Templates jedenfalls ;) xsl:include sollte die templates von >> master.xsl einfach überschreiben. >> >> Und welches Betriebssystem, welche libxml2 und libxslt version benutzt >> du? kannst du mal den output von phpinfo() irgendwo online stellen? >> > Ich versuche das ganze im laufe zu bringen auf einem pc mit : > Betriebssystem Linux (Fedora core 3), > libxml2-devel-2.6.16-3, > libxml2-2.6.16-3, > libxslt-1.1.11-1, > libxslt-devel-1.1.11-1, > apache-1 > und php5 > >> Ist mir grad echt ein rätsel, warum diese meldung kommt. >> >> chregu >> >>> >>> Code: 0 >>> >>> userInfo: >>> compilation error: file >>> /var/web/dev/www.xedit.gr/xcms/themes/bxcms/blog.xsl >>> element template >>> xsl:template: error duplicate name 'contentRight' >> >> >>> compilation error: file >>> /var/web/dev/www.xedit.gr/xcms/themes/bxcms/blog.xsl >>> element template >>> xsl:template: error duplicate name 'leftnavi' >>> compilation error: file >>> /var/web/dev/www.xedit.gr/xcms/themes/bxcms/blog.xsl >>> element template >>> xsl:template: error duplicate name 'html_head_title' >>> No stylesheet associated to this object >>> >>> In File >>> /var/web/dev/www.xedit.gr/xcms/inc/popoon/components/transformers/xslt.php >>> Line >>> 91 >>> >>> stacktrace >>> >>> #0 >>> /var/web/dev/www.xedit.gr/xcms/inc/popoon/components/transformers/xslt.php(91): >>> >>> popoon_components_transformers_xslt::DomStart() >>> #1 >>> /var/web/dev/www.xedit.gr/xcms/tmp/_var_web_dev_www.xedit.gr_xcms_sitemap_sitemap.xml(1193): >>> >>> popoon_components_transformers_xslt->DomStart(Object(DOMDocument)) >>> #2 /var/web/dev/www.xedit.gr/xcms/inc/popoon/sitemap.php(178): >>> include('/var/web/dev/ww...') >>> #3 /var/web/dev/www.xedit.gr/xcms/inc/popoon/sitemap.php(164): >>> popoon_sitemap->runSitemap('./tmp/_var_web_...') >>> #4 /var/web/dev/www.xedit.gr/xcms/inc/popoon/popoon.php(182): >>> popoon_sitemap->__construct('/var/web/dev/ww...', 'blog/', >>> Object(bx_config)) >>> #5 /var/web/dev/www.xedit.gr/xcms/inc/popoon/popoon.php(160): >>> popoon->run('/var/web/dev/ww...', 'blog/', Object(bx_config)) >>> #6 /var/web/dev/www.xedit.gr/xcms/index.php(35): >>> popoon->__construct('/var/web/dev/ww...', 'blog/', Object(bx_config)) >>> #7 {main} >>> >>> ---------------MELDUNG ENDE --------------- >>> >>> Alles andere funkioniert bestens nur der bereich blog und RSS hat >>> solche probleme >>> >>> wenn ihr mal kein lust habt die error meldung von oben zu lesen es >>> gibt sie auch >>> online >>> und zwar in http://195.130.109.75:8888 und auf blog klicken >>> Ich Danke euch >>> >>> >>> Apostolos >>> >>> >>> PS >>> mein php_apache setings sie so aus >>> >>> './configure' '--prefix=/var/web/local' '--enable-exif' >>> '--enable-track-vars' >>> '--with-calendar=shared' '--enable-magic-quotes' '--enable-trans-sid' >>> '--enable-wddx' '--enable-ftp' '--enable-inline-optimization' >>> '--enable-memory-limit' '--with-config-file-scan-dir=/etc/php.d' >>> '--with-openssl=/usr' '--with-mcrypt=/var/web/local' >>> '--with-gettext=/usr' >>> '--with-dom=/usr' '--with-zlib-dir=/usr' '--enable-xslt' >>> '--with-xslt-sablot=/usr/local' '--with-mysql=/usr' '--with-ldap' >>> '--with-xsl=/usr' '--with-tidy=/var/www' >>> '--with-apache=/www/httpd_1.3.33' >>> >>> >>> ---------------------------------------------------------------- >>> This message was sent through the TEI of ATHENS by means of NOC. >>> _______________________________________________ >>> bitflux-cms-de mailing list >>> [email protected] >>> http://lists.bitflux.ch/cgi-bin/listinfo/bitflux-cms-de >> >> >> -- christian stocker | Bitflux GmbH | schoeneggstrasse 5 | ch-8004 zurich phone +41 1 240 56 70 | mobile +41 76 561 88 60 | fax +41 1 240 56 71 http://www.bitflux.ch | [email protected] | gnupg-keyid 0x5CE1DECB