Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
tag_error <txp:<txp:php>/> -> Textpattern Warning: unknown_tag
Half the times I reload my pages I get:
code
tag_error <txp:<txp:php>/> -> Textpattern Warning: unknown_tag: on line 968
textpattern/publish.php:968 trigger_error()
processTags()
textpattern/publish.php:917 preg_replace_callback()
textpattern/publish.php:453 parse()
index.php:34 textpattern()
code
the debug code is:
code
<!— Runtime: 0,0905 —>
<!— Query time: 0,000408 —>
<!— Queries: 10 —>
<!— Memory: 3336Kb, <txp:permlink /> —>
<!— txp tag trace:
[SQL (0,000143): select name from altnoktxp_lang as txp_lang where lang=‘da-dk’ limit 1]
[SQL (0,000726): select name, data from altnoktxp_lang as txp_lang where lang=‘da-dk’ AND ( event=‘public’ OR event=‘common’)]
[SQL (0,000382): select name, code, version from altnoktxp_plugin as txp_plugin where status = 1]
[SQL (0,000206): select * from altnoktxp_section as txp_section where name = ‘default’ limit 1]
[SQL (0,000149): select user_html from altnoktxp_page as txp_page where name=‘default’]
[Side: default]
<txp:php>
</txp:php>
<txp:article limit=“5” />
[SQL (0,000203): select name from altnoktxp_section as txp_section where on_frontpage != ‘1’]
[SQL (0,000506): select count(*) from altnoktextpattern as textpattern where 1 and Status = 4 and Posted <= now()]
[SQL (0,000728): select *, unix_timestamp(Posted) as uPosted from altnoktextpattern as textpattern where 1 and Status = 4 and Posted <= now() order by Posted desc limit 0, 5]
[SQL (0,000146): select Form from altnoktxp_form as txp_form where name=‘default’]
[Form: default]
[artikel 18]
<txp:if_article_list>
[<txp:if_article_list>: true]
<txp:permlink>
<txp:title/>
</txp:permlink>
<txp:rss_auto_excerpt paragraphs=“2” linktext=“Læs hele historien…” />
<txp:posted format=”%A, %e. %B %G”/>
<txp:if_comments_allowed>
[<txp:if_comments_allowed>: true]
<txp:permlink/>
<txp:comments_count/>
</txp:if_comments_allowed>
</txp:if_article_list>
[artikel 17]
<txp:if_article_list>
[<txp:if_article_list>: true]
<txp:permlink>
<txp:title/>
</txp:permlink>
<txp:rss_auto_excerpt paragraphs=“2” linktext=“Læs hele historien…” />
<txp:posted format=”%A, %e. %B %G”/>
<txp:if_comments_allowed>
[<txp:if_comments_allowed>: true]
<txp:permlink/>
<txp:comments_count/>
</txp:if_comments_allowed>
</txp:if_article_list>
<txp:<txp:php>/>
<txp:</txp:php>/>
[ ~~~ secondpass ~~~ ]
<txp:page_title/>
<txp:feed_link flavor=“atom” format=“link” label=“Atom” />
<txp:feed_link flavor=“rss” format=“link” label=“RSS” />
code
Where is it getting:
<txp:<txp:php>/>
from?
Offline
#2 2007-02-15 21:58:00
- zem
- Developer Emeritus

- From: Melbourne, Australia
- Registered: 2004-04-08
- Posts: 2,579
Re: tag_error <txp:<txp:php>/> -> Textpattern Warning: unknown_tag
Can’t tell from the above. Looks like it’s somewhere below the article tag in your default page template.
Alex
Offline