Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2009-09-06 02:08:56
- ttr
- Member
- Registered: 2006-10-26
- Posts: 34
[de-de] Fehler in 4.2: <txp:message /> -> Textpattern Warning: on line 1120
Guten Morgen. :)
Es ist relativ früh und ich habe gerade den obigen Fehler in meiner TXP-Installation, die ich vor kurzem von 4.08 auf 4.2 aktualisiert habe, festgestellt. Erst habe ich die Schuld auf ein inkompatibles Plugin geschoben, doch die Deaktivierung aller Plugins hat nicht geholfen.
Im Thread zu Tests des Release Candidates habe ich gelesen, dass dieser Fehler im RC1, allerdings unter recht merkwürdigen Umständen (Aufruf eines Tags in einer Form, die nicht existiert), die ich nicht verstehe.
Im Live-Betrieb macht sich der Fehler insofern bemerkbar, dass die Kommentare der Besucher zum Blogartikel nicht angezeigt werden. Nur die Nicknames Und Permalinks zu den Kommentaren sind sichtbar. Absenden neuer Kommentare funktioniert, diese sind aber nur im Backend lesbar. :)
Irgendwelche Ideen?
Der Vollständigkeit halber, füge ich die Tagtrace hinzu und hau mich aufs Ohr.
<!-- Runtime: 0,0282 -->
<!-- Query time: 0,003901 -->
<!-- Queries: 21 -->
<!-- Memory: 6609Kb, <txp:if_cookie> -->
<!-- txp tag trace:
[SQL (0,000235795974731): select name, data from txp_lang where lang='de-de' AND ( event='public' OR event='common')]
[SQL (0,000119924545288): select name, code, version from txp_plugin where status = 1 AND type IN (0,1) order by load_order]
[SQL (6,38961791992E-05): select ID,Section from textpattern where ID = 383 and Status >= 4 limit 1]
[SQL (3,79085540771E-05): select ID,Section from textpattern where ID = 383 and Status >= 4 limit 1]
[SQL (3,88622283936E-05): select page, css from txp_section where name = 'article' limit 1]
[SQL (9,08374786377E-05): select *, unix_timestamp(Posted) as uPosted, unix_timestamp(Expires) as uExpires, unix_timestamp(LastMod) as uLastMod from textpattern where ID=383 and Status in (4,5)]
[Artikel 383]
[SQL (0,000586032867432): select ID, Title, url_title, unix_timestamp(Posted) as uposted
from textpattern where Posted > '2009-08-21 18:48:24' and Section = 'article' and Status=4 and Posted < now() and (now() <= Expires or Expires = '0000-00-00 00:00:00') order by Posted asc limit 1]
[SQL (0,00189805030823): select ID, Title, url_title, unix_timestamp(Posted) as uposted
from textpattern where Posted < '2009-08-21 18:48:24' and Section = 'article' and Status=4 and Posted < now() and (now() <= Expires or Expires = '0000-00-00 00:00:00') order by Posted desc limit 1]
[SQL (4,79221343994E-05): select user_html from txp_page where name='default']
[Seite: default]
<txp:page_title />
<txp:css />
<txp:site_name />
<txp:site_slogan />
<txp:article limit="5" />
[SQL (4,10079956055E-05): select Form from txp_form where name='default']
[Baustein: default]
<txp:permlink>
<txp:title />
</txp:permlink>
<txp:if_article_list>
[<txp:if_article_list>: false]
<txp:body />
</txp:if_article_list>
<txp:posted format=" %d. %B %Y" lang="de" />
<txp:if_article_category number="1">
[<txp:if_article_category number="1">: true]
<txp:category1 link="y" />
</txp:if_article_category>
<txp:comments_invite />
[SQL (5,29289245605E-05): select Form from txp_form where name='comments_display']
[Baustein: comments_display]
<txp:comments />
[SQL (5,60283660889E-05): select *, unix_timestamp(posted) as time from txp_discuss where parentid=383 and visible=1 order by posted ASC ]
[SQL (3,71932983398E-05): select Form from txp_form where name='comments']
[Baustein: comments]
<txp:comment_name />
<txp:comment_time />
<txp:comment_permlink>
</txp:comment_permlink>
<txp:message />
<txp:message /> -> Textpattern Warning: on line 1120
[Baustein: comments]
<txp:comment_name />
<txp:comment_time />
<txp:comment_permlink>
</txp:comment_permlink>
<txp:message />
<txp:message /> -> Textpattern Warning: on line 1120
<txp:if_comments_allowed>
[<txp:if_comments_allowed>: true]
<txp:if_comments_preview>
[<txp:if_comments_preview>: false]
</txp:if_comments_preview>
<txp:comments_form />
[SQL (8,51154327393E-05): select ip from txp_discuss_ipban where `ip` = 'xx.xxx.xx.xxx' limit 1]
[SQL (4,50611114502E-05): select Form from txp_form where `name` = 'comment_form' limit 1]
<txp:comments_error wraptag="ul" break="li" />
<txp:comments_error wraptag="ul" break="li" />
<txp:if_no_cookie>
</txp:if_no_cookie>
<txp:if_cookie>
</txp:if_cookie>
</txp:if_comments_allowed>
<txp:search_input label=" " button="Los" size="15" />
[SQL (5,41210174561E-05): select form from txp_form where `name` = 'search_input' limit 1]
<txp:wet_recent_comments />
[SQL (0,000113010406494): select txp_discuss.*,txp_discuss.posted as comment_posted,textpattern.* from txp_discuss left join textpattern on textpattern.ID = txp_discuss.parentid where txp_discuss.visible='1' and textpattern.ID = '383' order by txp_discuss.posted desc limit 10]
<txp:linklist category="alive" class="menublock" wraptag="ul" break="li" />
[SQL (6,103515625E-05): select *, unix_timestamp(date) as uDate from txp_link where category IN ('alive') order by linksort asc ]
[SQL (4,10079956055E-05): select Form from txp_form where name='plainlinks']
[Baustein: plainlinks]
<txp:linkdesctitle />
[Baustein: plainlinks]
<txp:linkdesctitle />
[Baustein: plainlinks]
<txp:linkdesctitle />
[Baustein: plainlinks]
<txp:linkdesctitle />
[Baustein: plainlinks]
<txp:linkdesctitle />
[Baustein: plainlinks]
<txp:linkdesctitle />
[Baustein: plainlinks]
<txp:linkdesctitle />
[Baustein: plainlinks]
<txp:linkdesctitle />
[Baustein: plainlinks]
<txp:linkdesctitle />
[Baustein: plainlinks]
<txp:linkdesctitle />
<txp:linklist category="dead-alive" class="menublock" wraptag="ul" break="li" />
[SQL (5,41210174561E-05): select *, unix_timestamp(date) as uDate from txp_link where category IN ('dead-alive') order by linksort asc ]
[Baustein: plainlinks]
<txp:linkdesctitle />
[Baustein: plainlinks]
<txp:linkdesctitle />
[Baustein: plainlinks]
<txp:linkdesctitle />
<txp:older>
</txp:older>
<txp:newer showalways="1">
</txp:newer>
<txp:php>
</txp:php>
<txp:php>
</txp:php>
[ ~~~ secondpass ~~~ ]
-->
[Baustein: plainlinks]
<txp:linkdesctitle />
[Baustein: plainlinks]
<txp:linkdesctitle />
[Baustein: plainlinks]
<txp:linkdesctitle />
[Baustein: plainlinks]
<txp:linkdesctitle />
[Baustein: plainlinks]
<txp:linkdesctitle />
<txp:linklist category="dead-alive" class="menublock" wraptag="ul" break="li" />
[SQL (5,88893890381E-05): select *, unix_timestamp(date) as uDate from txp_link where category IN ('dead-alive') order by linksort asc ]
[Baustein: plainlinks]
<txp:linkdesctitle />
[Baustein: plainlinks]
<txp:linkdesctitle />
[Baustein: plainlinks]
<txp:linkdesctitle />
<txp:older>
</txp:older>
<txp:newer showalways="1">
</txp:newer>
<txp:php>
</txp:php>
<txp:php>
</txp:php>
Offline
Re: [de-de] Fehler in 4.2: <txp:message /> -> Textpattern Warning: on line 1120
<txp:message />
ist obsolet und wurde durch <txp:comment_message />
ersetzt. Ersetze die Tags in den betroffenen Baustein(en), und der Fehler sollte behoben sein.
Offline
#3 2009-09-06 09:37:06
- ttr
- Member
- Registered: 2006-10-26
- Posts: 34
Re: [de-de] Fehler in 4.2: <txp:message /> -> Textpattern Warning: on line 1120
Oh Mann, hätte ich auch selbst rausfinden können.
Danke, Robert!
Offline
Re: [de-de] Fehler in 4.2: <txp:message /> -> Textpattern Warning: on line 1120
Ich bin auch gerade auf das gleiche Problem gestoßen, und mir ist nochwas aufgefallen:
In der deutschen Übersetzung fehlt die Fehlermeldung, s.o.:
<txp:message /> -> Textpattern Warning: on line 1120
Der Text "unknown_tag"
ist einfach leer. Wie bekommt man am besten einen Fix dafür in den offiziellen Code?
Thomas Stache
Offline
Re: [de-de] Fehler in 4.2: <txp:message /> -> Textpattern Warning: on line 1120
thomasstache wrote:
Wie bekommt man am besten einen Fix dafür in den offiziellen Code?
Administration > Einstellungen > Sprachen verwalten > Aktualisierung
Offline
Re: [de-de] Fehler in 4.2: <txp:message /> -> Textpattern Warning: on line 1120
Prima, danke für den prompten Fix!
Thomas Stache
Offline