Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-04-29 10:31:13

blueprint
Member
From: Netherlands
Registered: 2006-03-05
Posts: 43
Website

Individual articles don't show up

Yesterday I upgraded my site to 4.0.6 and from then on, an individual article doesn’t show up anymore. The rest of the page is rendered correctly, just as I expected. However the individual article is not displayed. I tried various tags and forms, to make sure the form of tag isn’t the problem. Does anyone have a clue??

The trag trace is as follows (only relevant parts are shown):
<!— txp tag trace:
[SQL (0,004424): select name, data from txp_lang where lang=‘nl-nl’ AND ( event=‘public’ OR event=‘common’)]
[SQL (0,008568): select name, code, version from txp_plugin where status = 1]
[SQL (0,001166): select ID,Section from textpattern where url_title like ‘waar-kan-ik-harpo-vinden’ and Status >= 4 limit 1]
[SQL (0,000988): select * from txp_section where name = ‘over-harpo’ limit 1]
[SQL (0,001252): select *, unix_timestamp(Posted) as uPosted from textpattern where ID=22 and Status in (4,5)]
[artikel 22]
[SQL (0,002018): select ID, Title, url_title, unix_timestamp(Posted) as uposted from textpattern where Posted > ’2007-05-04 19:41:44’ and Section = ‘over-harpo’ and Status=4 and Posted < now() order by Posted asc limit 1]
[SQL (0,001206): select ID, Title, url_title, unix_timestamp(Posted) as uposted from textpattern where Posted < ’2007-05-04 19:41:44’ and Section = ‘over-harpo’ and Status=4 and Posted < now() order by Posted desc limit 1]
[SQL (0,001084): select user_html from txp_page where name=‘over-harpo’]
[Pagina: over-harpo] [SQL (0,000970): select name from txp_section where searchable != ‘1’] [SQL (0,001389): select Keywords from textpattern where Keywords <> ‘’ AND ( Section = ‘item’)and Section != ‘‘and Section != ‘zoekresultaat’ and Section != ‘contact’ and Section != ‘error’ and Status >= ‘4’ and Posted < now()]
<txp:if_article_list> [<txp:if_article_list>: false]
</txp:if_article_list>
<txp:if_individual_article> [<txp:if_individual_article>: true] <txp:article section=“over-harpo” form=“algemeen” />
</txp:if_individual_article>

[ ~~~ secondpass ~~~ ]

Offline

#2 2008-04-29 10:48:45

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: Individual articles don't show up

  1. What was the original version where you updated?
  2. Could you post the whole tag trace, including the contents of the article form?
  3. txp:article doesn’t have section attribute as it’s context sensitive.

Offline

#3 2008-04-29 11:29:26

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: Individual articles don't show up

Are there any articles in the ‘over-harpo’ section?

Offline

#4 2008-04-29 11:41:19

blueprint
Member
From: Netherlands
Registered: 2006-03-05
Posts: 43
Website

Re: Individual articles don't show up

Thnx for responding. To answer the questions:
There are 4 articles in this section.
I upgraded from 4.0.5.
The article tag doesn’t have a section attribute; I removed it, and the result is the same!

The code of the article form is not very complicated:
<h2><txp:title /></h2> <p><txp:body /></p>

This is the whole tag trace:

<!— Runtime: 0,1630 —>
<!— Query time: 0,001737 —>
<!— Queries: 23 —>
<!— Memory: no info available —>
<!— txp tag trace:
[SQL (0,004423): select name, data from txp_lang where lang=‘nl-nl’ AND ( event=‘public’ OR event=‘common’)]
[SQL (0,008243): select name, code, version from txp_plugin where status = 1]
[SQL (0,002073): select ID,Section from textpattern where url_title like ‘waar-kan-ik-harpo-vinden’ and Status >= 4 limit 1]
[SQL (0,007246): select * from txp_section where name = ‘over-harpo’ limit 1]
[SQL (0,001655): select *, unix_timestamp(Posted) as uPosted from textpattern where ID=22 and Status in (4,5)]
[artikel 22]
[SQL (0,006560): select ID, Title, url_title, unix_timestamp(Posted) as uposted from textpattern where Posted > ’2007-05-04 19:41:44’ and Section = ‘over-harpo’ and Status=4 and Posted < now() order by Posted asc limit 1]
[SQL (0,004414): select ID, Title, url_title, unix_timestamp(Posted) as uposted from textpattern where Posted < ’2007-05-04 19:41:44’ and Section = ‘over-harpo’ and Status=4 and Posted < now() order by Posted desc limit 1]
[SQL (0,005181): select user_html from txp_page where name=‘over-harpo’]
[Pagina: over-harpo]
<txp:output_form form=“inc_head” /> [SQL (0,001094): select Form from txp_form where name=‘inc_head’] [Module: inc_head] <txp:if_section name=”“> [<txp:if_section name=”“>: false] <txp:section title=‘1’ /> [SQL (0,000987): select title from txp_section where name=‘over-harpo’] </txp:if_section> <txp:if_individual_article> [<txp:if_individual_article>: true] <txp:keywords/> <txp:article form=‘inc_head_metadescr’ /> </txp:if_individual_article> <txp:if_section name=”“> [<txp:if_section name=”“>: false] <txp:if_individual_article> [<txp:if_individual_article>: true] <txp:site_name/> <txp:section title=“1”/> <txp:title/> </txp:if_individual_article> <txp:if_article_list> [<txp:if_article_list>: false] </txp:if_article_list> </txp:if_section> <txp:link_to_home/> <txp:link_to_home/> <txp:link_to_home/>
<txp:output_form form=“inc_topmenu” /> [SQL (0,001099): select Form from txp_form where name=‘inc_topmenu’] [Module: inc_topmenu] <txp:link_to_home/> <txp:link_to_home/> <txp:link_to_home/> <txp:link_to_home/> <txp:link_to_home/> <txp:feed_link flavor=“rss” section=“item” label=“RSS” />
<txp:output_form form=“inc_logo” /> [SQL (0,000999): select Form from txp_form where name=‘inc_logo’] [Module: inc_logo] <txp:link_to_home> <txp:site_name/> </txp:link_to_home> <txp:link_to_home> <txp:site_slogan/> </txp:link_to_home>
<txp:output_form form=“inc_gallerijmenu” /> [SQL (0,001096): select Form from txp_form where name=‘inc_gallerijmenu’] [Module: inc_gallerijmenu] <txp:if_section name=“galerij1”> [<txp:if_section name=“galerij1”>: false] </txp:if_section> <txp:link_to_home/> <txp:if_section name=“galerij2”> [<txp:if_section name=“galerij2”>: false] </txp:if_section> <txp:link_to_home/> <txp:if_section name=“galerij3”> [<txp:if_section name=“galerij3”>: false] </txp:if_section> <txp:link_to_home/> <txp:if_section name=“galerij4”> [<txp:if_section name=“galerij4”>: false] </txp:if_section> <txp:link_to_home/> <txp:if_section name=“galerij5”> [<txp:if_section name=“galerij5”>: false] </txp:if_section> <txp:link_to_home/> <txp:if_section name=“archief”> [<txp:if_section name=“archief”>: false] </txp:if_section> <txp:link_to_home/>
<txp:output_form form=“inc_zoeken” /> [SQL (0,001016): select Form from txp_form where name=‘inc_zoeken’] [Module: inc_zoeken] <txp:cbs_live_search label=“Zoeken: “ waitimage=“spinner.gif” resetimage=“reset.gif” section=“zoekresultaat” max=“999” noresults=“Helaas, niets gevonden”
/>
<txp:output_form form=“inc_nieuws” /> [SQL (0,001131): select Form from txp_form where name=‘inc_nieuws’] [Module: inc_nieuws] <txp:article_custom section=“nieuws” limit=“1” form=“nieuws” /> [SQL (0,001517): select *, unix_timestamp(Posted) as uPosted from textpattern where 1=1 and Status = 4 and Posted <= now() and Section IN (‘nieuws’) order by Posted desc limit 0, 1] [artikel 17] [SQL (0,001014): select Form from txp_form where name=‘nieuws’] [Module: nieuws] <txp:title/> <txp:body/>
<txp:output_form form=“inc_tagcloud” /> [SQL (0,001839): select Form from txp_form where name=‘inc_tagcloud’] [Module: inc_tagcloud] <txp:tru_tags_cloud showcounts=“0” countwrapchars=”()” class=“tagcloud” section=“item” break=”,” /> [SQL (0,000974): select name from txp_section where searchable != ‘1’] [SQL (0,001434): select Keywords from textpattern where Keywords <> ‘’ AND ( Section = ‘item’)and Section != ‘‘and Section != ‘zoekresultaat’ and Section != ‘contact’ and Section != ‘error’ and Status >= ‘4’ and Posted < now()]
<txp:if_article_list> [<txp:if_article_list>: false]
</txp:if_article_list>
<txp:if_individual_article> [<txp:if_individual_article>: true] <txp:article form=“algemeen” />
</txp:if_individual_article>
<txp:output_form form=“inc_adsense” /> [SQL (0,001082): select Form from txp_form where name=‘inc_adsense’] [Module: inc_adsense]
<txp:output_form form=“inc_voettekst” /> [SQL (0,001013): select Form from txp_form where name=‘inc_voettekst’] [Module: inc_voettekst] <txp:link_to_home/> <txp:link_to_home/> <txp:link_to_home/> <txp:link_to_home/>
[ ~~~ secondpass ~~~ ] —>

Offline

Board footer

Powered by FluxBB