Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2011-06-27 00:48:28
- fowler
- Member
- Registered: 2007-02-12
- Posts: 79
<txp:title /> stopped working.
No idea what happened, but for some reason, Textpattern isn’t rendering the <txp:title /> tag any more.
Debug say this:
<!-- Runtime: 0.0610 -->
<!-- Query time: 0.046883 -->
<!-- Queries: 15 -->
<!-- Memory: 4880Kb, <txp:if_individual_article> -->
<!-- txp tag trace:
[SQL (0.0016779899597168): select name, data from txp_lang where lang='en-us' AND ( event='public' OR event='common')]
[SQL (0.011087894439697): select name, code, version from txp_plugin where status = 1 AND type IN (0,1) order by load_order]
[SQL (0.0032351016998291): select name,code,version from txp_plugin where status = 1 AND name='smd_lib']
[SQL (0.0025560855865479): select ID,Section from textpattern where url_title like 'board' and Status >= 4 limit 1]
[SQL (0.0034139156341553): select name from txp_section where `name` like 'board' limit 1]
[SQL (0.0041739940643311): select page, css from txp_section where name = 'board' limit 1]
[SQL (0.0032649040222168): select host from txp_log where ip='71.93.97.74' limit 1]
[SQL (0.0026960372924805): insert into txp_log set `time`=now(),page='/board',ip='71.93.97.74',host='71-93-97-74.dhcp.mtpk.ca.charter.com',refer='',status='200',method='GET']
[SQL (0.0030388832092285): select user_html from txp_page where name='archive']
[Page: archive]
<txp:page_title />
[SQL (0.0029191970825195): select title from txp_section where name='board']
<txp:css format="link" />
<txp:site_url />
<txp:site_url />
<txp:site_url />
<txp:site_url />
<txp:site_url />
<txp:site_url />
<txp:site_url />
<txp:site_url />
<txp:site_url />
<txp:section />
<txp:section title="1" />
<txp:article limit="10" pgonly="0" />
[SQL (0.002147912979126): select count(*) from textpattern where 1=1 and Status = 4 and Posted <= now() and (now() <= Expires or Expires = '0000-00-00 00:00:00') and Section IN ('board')]
[SQL (0.0029339790344238): select *, unix_timestamp(Posted) as uPosted, unix_timestamp(Expires) as uExpires, unix_timestamp(LastMod) as uLastMod from textpattern where 1=1 and Status = 4 and Posted <= now() and (now() <= Expires or Expires = '0000-00-00 00:00:00') and Section IN ('board') order by Posted desc limit 0, 10]
[article 19]
[SQL (0.0015199184417725): select Form from txp_form where name='default']
[Form: default]
<txp:title />
<txp:body />
<txp:image id="9" />
[SQL (0.00049114227294922): select * from txp_image where id = 9 limit 1]
<txp:if_individual_article>
[<txp:if_individual_article>: false]
</txp:if_individual_article>
[article 16]
[Form: default]
<txp:title />
<txp:body />
<txp:if_individual_article>
[<txp:if_individual_article>: false]
</txp:if_individual_article>
[article 17]
[Form: default]
<txp:title />
<txp:body />
<txp:if_individual_article>
[<txp:if_individual_article>: false]
</txp:if_individual_article>
[article 15]
[Form: default]
<txp:title />
<txp:body />
<txp:if_individual_article>
[<txp:if_individual_article>: false]
</txp:if_individual_article>
[article 14]
[Form: default]
<txp:title />
<txp:body />
<txp:if_individual_article>
[<txp:if_individual_article>: false]
</txp:if_individual_article>
[article 13]
[Form: default]
<txp:title />
<txp:body />
<txp:if_individual_article>
[<txp:if_individual_article>: false]
</txp:if_individual_article>
<txp:site_url />
<txp:site_url />
<txp:site_url />
<txp:site_url />
[ ~~~ secondpass ~~~ ]
-->@
Last edited by fowler (2011-06-27 00:50:13)
Offline
Offline
#3 2011-06-27 01:56:37
- fowler
- Member
- Registered: 2007-02-12
- Posts: 79
Re: <txp:title /> stopped working.
That was it. Could you tell from that dump? Or is it a known bug?
Offline
Re: <txp:title /> stopped working.
fowler wrote:
That was it. Could you tell from that dump? Or is it a known bug?
Neither. Title is reserved by Textpattern and can not be used as a custom field. See custom_field in wiki for full list of reserved names.
Offline
#5 2011-06-27 02:36:25
- fowler
- Member
- Registered: 2007-02-12
- Posts: 79
Re: <txp:title /> stopped working.
Ah, thanks.
Offline
Pages: 1