Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2009-01-26 05:48:46

andreas
Member
Registered: 2004-02-28
Posts: 453
Website

Caterory and section links and broken after upgrading to 4.0.8

After I upgraded to 4.0.8 <txp:section link="1" /> and <txp:category link="1" /> no longer work. Without the link attribute they work as expected, but once you set the link attribute, the output is a single slash.

Has anything changed about these tags? I’d appreciate some quick feedback since my whole navigation is broken on one site.

Thanks in advance.

Offline

#2 2009-01-26 05:55:27

andreas
Member
Registered: 2004-02-28
Posts: 453
Website

Re: Caterory and section links and broken after upgrading to 4.0.8

Just noticed that <txp:breadcrumb /> shows the same behaviour.

Offline

#3 2009-01-26 05:56:14

rsilletti
Moderator
From: Spokane WA
Registered: 2004-04-28
Posts: 707

Re: Caterory and section links and broken after upgrading to 4.0.8

My links work as expected with 4.0.8 as follows <txp:section link=“1” /> returns a linked section name in a page context in an active section.

What context are these in?

Offline

#4 2009-01-26 06:00:55

andreas
Member
Registered: 2004-02-28
Posts: 453
Website

Re: Caterory and section links and broken after upgrading to 4.0.8

OK – more info coming in here. When I switch to Debug mode, I get the following errors for section and category tags:

Notice: Undefined variable: Posted on line 2755

The line number varies depending on the tag being mentioned.

Offline

#5 2009-01-26 06:11:44

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,330
Website Mastodon

Re: Caterory and section links and broken after upgrading to 4.0.8

We might need a tag trace, plus the other line number which you didn’t mention in the previous post. Do you use any plugins related to permlinks, like e.g. gpb_permanent_links?

Offline

#6 2009-01-26 06:23:01

andreas
Member
Registered: 2004-02-28
Posts: 453
Website

Re: Caterory and section links and broken after upgrading to 4.0.8

Thanks for your quick replies.

Here’s the full ouput of the homepage in debug mode:

 <txp:section /> ->  Notice: Undefined variable:  ID  on line 2748
textpattern/publish/taghandlers.php:2748 permlinkurl()
permlinkurl()
textpattern/lib/txplib_misc.php(570) : eval()'d code:1082 call_user_func()
textpattern/lib/txplib_misc.php(570) : eval()'d code:842 permanentlinks->toggle_permlink_mode()
permanentlinks->_permlinkurl()
textpattern/lib/txplib_misc.php:1830 call_user_func()
textpattern/publish/taghandlers.php:2263 pagelinkurl()
textpattern/publish.php:1090 section()
textpattern/publish.php:1012 processtags()
textpattern/publish.php:496 parse()

 <txp:section /> ->  Notice: Undefined variable:  Title  on line 2752
textpattern/publish/taghandlers.php:2752 permlinkurl()
permlinkurl()
textpattern/lib/txplib_misc.php(570) : eval()'d code:1082 call_user_func()
textpattern/lib/txplib_misc.php(570) : eval()'d code:842 permanentlinks->toggle_permlink_mode()
permanentlinks->_permlinkurl()
textpattern/lib/txplib_misc.php:1830 call_user_func()
textpattern/publish/taghandlers.php:2263 pagelinkurl()
textpattern/publish.php:1090 section()
textpattern/publish.php:1012 processtags()
textpattern/publish.php:496 parse()

 <txp:section /> ->  Notice: Undefined variable:  Section  on line 2754
textpattern/publish/taghandlers.php:2754 permlinkurl()
permlinkurl()
textpattern/lib/txplib_misc.php(570) : eval()'d code:1082 call_user_func()
textpattern/lib/txplib_misc.php(570) : eval()'d code:842 permanentlinks->toggle_permlink_mode()
permanentlinks->_permlinkurl()
textpattern/lib/txplib_misc.php:1830 call_user_func()
textpattern/publish/taghandlers.php:2263 pagelinkurl()
textpattern/publish.php:1090 section()
textpattern/publish.php:1012 processtags()
textpattern/publish.php:496 parse()

 <txp:section /> ->  Notice: Undefined variable:  Posted  on line 2755
textpattern/publish/taghandlers.php:2755 permlinkurl()
permlinkurl()
textpattern/lib/txplib_misc.php(570) : eval()'d code:1082 call_user_func()
textpattern/lib/txplib_misc.php(570) : eval()'d code:842 permanentlinks->toggle_permlink_mode()
permanentlinks->_permlinkurl()
textpattern/lib/txplib_misc.php:1830 call_user_func()
textpattern/publish/taghandlers.php:2263 pagelinkurl()
textpattern/publish.php:1090 section()
textpattern/publish.php:1012 processtags()
textpattern/publish.php:496 parse()

 <txp:section /> ->  Notice: Undefined variable:  ID  on line 2748
textpattern/publish/taghandlers.php:2748 permlinkurl()
permlinkurl()
textpattern/lib/txplib_misc.php(570) : eval()'d code:1082 call_user_func()
textpattern/lib/txplib_misc.php(570) : eval()'d code:842 permanentlinks->toggle_permlink_mode()
permanentlinks->_permlinkurl()
textpattern/lib/txplib_misc.php:1830 call_user_func()
textpattern/publish/taghandlers.php:2263 pagelinkurl()
textpattern/publish.php:1090 section()
textpattern/publish.php:1012 processtags()
textpattern/publish.php:496 parse()

 <txp:section /> ->  Notice: Undefined variable:  ID  on line 2748
textpattern/publish/taghandlers.php:2748 permlinkurl()
permlinkurl()
textpattern/lib/txplib_misc.php(570) : eval()'d code:1082 call_user_func()
textpattern/lib/txplib_misc.php(570) : eval()'d code:842 permanentlinks->toggle_permlink_mode()
permanentlinks->_permlinkurl()
textpattern/lib/txplib_misc.php:1830 call_user_func()
textpattern/publish/taghandlers.php:2263 pagelinkurl()
textpattern/publish.php:1090 section()
textpattern/publish.php:1012 processtags()
textpattern/publish.php:496 parse()

 <txp:section title="1" /> ->  Notice: Undefined variable:  ID  on line 2748
textpattern/publish/taghandlers.php:2748 permlinkurl()
permlinkurl()
textpattern/lib/txplib_misc.php(570) : eval()'d code:1082 call_user_func()
textpattern/lib/txplib_misc.php(570) : eval()'d code:842 permanentlinks->toggle_permlink_mode()
permanentlinks->_permlinkurl()
textpattern/lib/txplib_misc.php:1830 call_user_func()
textpattern/publish/taghandlers.php:2263 pagelinkurl()
textpattern/publish.php:1090 section()
textpattern/publish.php:1012 processtags()
textpattern/lib/txplib_misc.php:1540 parse()

 <txp:section title="1" /> ->  Notice: Undefined variable:  ID  on line 2748
textpattern/publish/taghandlers.php:2748 permlinkurl()
permlinkurl()
textpattern/lib/txplib_misc.php(570) : eval()'d code:1082 call_user_func()
textpattern/lib/txplib_misc.php(570) : eval()'d code:842 permanentlinks->toggle_permlink_mode()
permanentlinks->_permlinkurl()
textpattern/lib/txplib_misc.php:1830 call_user_func()
textpattern/publish/taghandlers.php:2263 pagelinkurl()
textpattern/publish.php:1090 section()
textpattern/publish.php:1012 processtags()
textpattern/lib/txplib_misc.php:1540 parse()

 <txp:section title="1" /> ->  Notice: Undefined variable:  ID  on line 2748
textpattern/publish/taghandlers.php:2748 permlinkurl()
permlinkurl()
textpattern/lib/txplib_misc.php(570) : eval()'d code:1082 call_user_func()
textpattern/lib/txplib_misc.php(570) : eval()'d code:842 permanentlinks->toggle_permlink_mode()
permanentlinks->_permlinkurl()
textpattern/lib/txplib_misc.php:1830 call_user_func()
textpattern/publish/taghandlers.php:2263 pagelinkurl()
textpattern/publish.php:1090 section()
textpattern/publish.php:1012 processtags()
textpattern/lib/txplib_misc.php:1540 parse()

 <txp:section title="1" /> ->  Notice: Undefined variable:  ID  on line 2748
textpattern/publish/taghandlers.php:2748 permlinkurl()
permlinkurl()
textpattern/lib/txplib_misc.php(570) : eval()'d code:1082 call_user_func()
textpattern/lib/txplib_misc.php(570) : eval()'d code:842 permanentlinks->toggle_permlink_mode()
permanentlinks->_permlinkurl()
textpattern/lib/txplib_misc.php:1830 call_user_func()
textpattern/publish/taghandlers.php:2263 pagelinkurl()
textpattern/publish.php:1090 section()
textpattern/publish.php:1012 processtags()
textpattern/lib/txplib_misc.php:1540 parse()

 <txp:section title="1" /> ->  Notice: Undefined variable:  ID  on line 2748
textpattern/publish/taghandlers.php:2748 permlinkurl()
permlinkurl()
textpattern/lib/txplib_misc.php(570) : eval()'d code:1082 call_user_func()
textpattern/lib/txplib_misc.php(570) : eval()'d code:842 permanentlinks->toggle_permlink_mode()
permanentlinks->_permlinkurl()
textpattern/lib/txplib_misc.php:1830 call_user_func()
textpattern/publish/taghandlers.php:2263 pagelinkurl()
textpattern/publish.php:1090 section()
textpattern/publish.php:1012 processtags()
textpattern/lib/txplib_misc.php:1540 parse()

 <txp:section title="1" /> ->  Notice: Undefined variable:  ID  on line 2748
textpattern/publish/taghandlers.php:2748 permlinkurl()
permlinkurl()
textpattern/lib/txplib_misc.php(570) : eval()'d code:1082 call_user_func()
textpattern/lib/txplib_misc.php(570) : eval()'d code:842 permanentlinks->toggle_permlink_mode()
permanentlinks->_permlinkurl()
textpattern/lib/txplib_misc.php:1830 call_user_func()
textpattern/publish/taghandlers.php:2263 pagelinkurl()
textpattern/publish.php:1090 section()
textpattern/publish.php:1012 processtags()
textpattern/lib/txplib_misc.php:1540 parse()

 <txp:section title="1" /> ->  Notice: Undefined variable:  ID  on line 2748
textpattern/publish/taghandlers.php:2748 permlinkurl()
permlinkurl()
textpattern/lib/txplib_misc.php(570) : eval()'d code:1082 call_user_func()
textpattern/lib/txplib_misc.php(570) : eval()'d code:842 permanentlinks->toggle_permlink_mode()
permanentlinks->_permlinkurl()
textpattern/lib/txplib_misc.php:1830 call_user_func()
textpattern/publish/taghandlers.php:2263 pagelinkurl()
textpattern/publish.php:1090 section()
textpattern/publish.php:1012 processtags()
textpattern/lib/txplib_misc.php:1540 parse()

 <txp:section title="1" /> ->  Notice: Undefined variable:  ID  on line 2748
textpattern/publish/taghandlers.php:2748 permlinkurl()
permlinkurl()
textpattern/lib/txplib_misc.php(570) : eval()'d code:1082 call_user_func()
textpattern/lib/txplib_misc.php(570) : eval()'d code:842 permanentlinks->toggle_permlink_mode()
permanentlinks->_permlinkurl()
textpattern/lib/txplib_misc.php:1830 call_user_func()
textpattern/publish/taghandlers.php:2263 pagelinkurl()
textpattern/publish.php:1090 section()
textpattern/publish.php:1012 processtags()
textpattern/lib/txplib_misc.php:1540 parse()

 <txp:section_list break=" | " default_title="Startseite" include_default="1" sections="schulleben, termine, klassen, lehrer, eltern, verwaltung, unterricht, ueber-uns, fotos" wraptag="p" active_class="currentSec" /> ->  Notice: Undefined variable:  ID  on line 2748
textpattern/publish/taghandlers.php:2748 permlinkurl()
permlinkurl()
textpattern/lib/txplib_misc.php(570) : eval()'d code:1082 call_user_func()
textpattern/lib/txplib_misc.php(570) : eval()'d code:842 permanentlinks->toggle_permlink_mode()
permanentlinks->_permlinkurl()
textpattern/lib/txplib_misc.php:1830 call_user_func()
textpattern/publish/taghandlers.php:1078 pagelinkurl()
textpattern/publish.php:1090 section_list()
textpattern/publish.php:1012 processtags()
textpattern/lib/txplib_misc.php:1540 parse()

 <txp:section_list break=" | " default_title="Startseite" include_default="1" sections="schulleben, termine, klassen, lehrer, eltern, verwaltung, unterricht, ueber-uns, fotos" wraptag="p" active_class="currentSec" /> ->  Notice: Undefined variable:  ID  on line 2748
textpattern/publish/taghandlers.php:2748 permlinkurl()
permlinkurl()
textpattern/lib/txplib_misc.php(570) : eval()'d code:1082 call_user_func()
textpattern/lib/txplib_misc.php(570) : eval()'d code:842 permanentlinks->toggle_permlink_mode()
permanentlinks->_permlinkurl()
textpattern/lib/txplib_misc.php:1830 call_user_func()
textpattern/publish/taghandlers.php:1078 pagelinkurl()
textpattern/publish.php:1090 section_list()
textpattern/publish.php:1012 processtags()
textpattern/lib/txplib_misc.php:1540 parse()

 <txp:section_list break=" | " default_title="Startseite" include_default="1" sections="schulleben, termine, klassen, lehrer, eltern, verwaltung, unterricht, ueber-uns, fotos" wraptag="p" active_class="currentSec" /> ->  Notice: Undefined variable:  ID  on line 2748
textpattern/publish/taghandlers.php:2748 permlinkurl()
permlinkurl()
textpattern/lib/txplib_misc.php(570) : eval()'d code:1082 call_user_func()
textpattern/lib/txplib_misc.php(570) : eval()'d code:842 permanentlinks->toggle_permlink_mode()
permanentlinks->_permlinkurl()
textpattern/lib/txplib_misc.php:1830 call_user_func()
textpattern/publish/taghandlers.php:1078 pagelinkurl()
textpattern/publish.php:1090 section_list()
textpattern/publish.php:1012 processtags()
textpattern/lib/txplib_misc.php:1540 parse()

 <txp:section_list break=" | " default_title="Startseite" include_default="1" sections="schulleben, termine, klassen, lehrer, eltern, verwaltung, unterricht, ueber-uns, fotos" wraptag="p" active_class="currentSec" /> ->  Notice: Undefined variable:  ID  on line 2748
textpattern/publish/taghandlers.php:2748 permlinkurl()
permlinkurl()
textpattern/lib/txplib_misc.php(570) : eval()'d code:1082 call_user_func()
textpattern/lib/txplib_misc.php(570) : eval()'d code:842 permanentlinks->toggle_permlink_mode()
permanentlinks->_permlinkurl()
textpattern/lib/txplib_misc.php:1830 call_user_func()
textpattern/publish/taghandlers.php:1078 pagelinkurl()
textpattern/publish.php:1090 section_list()
textpattern/publish.php:1012 processtags()
textpattern/lib/txplib_misc.php:1540 parse()

 <txp:section_list break=" | " default_title="Startseite" include_default="1" sections="schulleben, termine, klassen, lehrer, eltern, verwaltung, unterricht, ueber-uns, fotos" wraptag="p" active_class="currentSec" /> ->  Notice: Undefined variable:  ID  on line 2748
textpattern/publish/taghandlers.php:2748 permlinkurl()
permlinkurl()
textpattern/lib/txplib_misc.php(570) : eval()'d code:1082 call_user_func()
textpattern/lib/txplib_misc.php(570) : eval()'d code:842 permanentlinks->toggle_permlink_mode()
permanentlinks->_permlinkurl()
textpattern/lib/txplib_misc.php:1830 call_user_func()
textpattern/publish/taghandlers.php:1078 pagelinkurl()
textpattern/publish.php:1090 section_list()
textpattern/publish.php:1012 processtags()
textpattern/lib/txplib_misc.php:1540 parse()

 <txp:section_list break=" | " default_title="Startseite" include_default="1" sections="schulleben, termine, klassen, lehrer, eltern, verwaltung, unterricht, ueber-uns, fotos" wraptag="p" active_class="currentSec" /> ->  Notice: Undefined variable:  ID  on line 2748
textpattern/publish/taghandlers.php:2748 permlinkurl()
permlinkurl()
textpattern/lib/txplib_misc.php(570) : eval()'d code:1082 call_user_func()
textpattern/lib/txplib_misc.php(570) : eval()'d code:842 permanentlinks->toggle_permlink_mode()
permanentlinks->_permlinkurl()
textpattern/lib/txplib_misc.php:1830 call_user_func()
textpattern/publish/taghandlers.php:1078 pagelinkurl()
textpattern/publish.php:1090 section_list()
textpattern/publish.php:1012 processtags()
textpattern/lib/txplib_misc.php:1540 parse()

 <txp:section_list break=" | " default_title="Startseite" include_default="1" sections="schulleben, termine, klassen, lehrer, eltern, verwaltung, unterricht, ueber-uns, fotos" wraptag="p" active_class="currentSec" /> ->  Notice: Undefined variable:  ID  on line 2748
textpattern/publish/taghandlers.php:2748 permlinkurl()
permlinkurl()
textpattern/lib/txplib_misc.php(570) : eval()'d code:1082 call_user_func()
textpattern/lib/txplib_misc.php(570) : eval()'d code:842 permanentlinks->toggle_permlink_mode()
permanentlinks->_permlinkurl()
textpattern/lib/txplib_misc.php:1830 call_user_func()
textpattern/publish/taghandlers.php:1078 pagelinkurl()
textpattern/publish.php:1090 section_list()
textpattern/publish.php:1012 processtags()
textpattern/lib/txplib_misc.php:1540 parse()

 <txp:section_list break=" | " default_title="Startseite" include_default="1" sections="schulleben, termine, klassen, lehrer, eltern, verwaltung, unterricht, ueber-uns, fotos" wraptag="p" active_class="currentSec" /> ->  Notice: Undefined variable:  ID  on line 2748
textpattern/publish/taghandlers.php:2748 permlinkurl()
permlinkurl()
textpattern/lib/txplib_misc.php(570) : eval()'d code:1082 call_user_func()
textpattern/lib/txplib_misc.php(570) : eval()'d code:842 permanentlinks->toggle_permlink_mode()
permanentlinks->_permlinkurl()
textpattern/lib/txplib_misc.php:1830 call_user_func()
textpattern/publish/taghandlers.php:1078 pagelinkurl()
textpattern/publish.php:1090 section_list()
textpattern/publish.php:1012 processtags()
textpattern/lib/txplib_misc.php:1540 parse()

 <txp:section_list break=" | " default_title="Startseite" include_default="1" sections="schulleben, termine, klassen, lehrer, eltern, verwaltung, unterricht, ueber-uns, fotos" wraptag="p" active_class="currentSec" /> ->  Notice: Undefined variable:  ID  on line 2748
textpattern/publish/taghandlers.php:2748 permlinkurl()
permlinkurl()
textpattern/lib/txplib_misc.php(570) : eval()'d code:1082 call_user_func()
textpattern/lib/txplib_misc.php(570) : eval()'d code:842 permanentlinks->toggle_permlink_mode()
permanentlinks->_permlinkurl()
textpattern/lib/txplib_misc.php:1830 call_user_func()
textpattern/publish/taghandlers.php:1078 pagelinkurl()
textpattern/publish.php:1090 section_list()
textpattern/publish.php:1012 processtags()
textpattern/lib/txplib_misc.php:1540 parse()

 <txp:section_list break=" | " default_title="Startseite" include_default="1" sections="schulleben, termine, klassen, lehrer, eltern, verwaltung, unterricht, ueber-uns, fotos" wraptag="p" active_class="currentSec" /> ->  Notice: Undefined variable:  ID  on line 2748
textpattern/publish/taghandlers.php:2748 permlinkurl()
permlinkurl()
textpattern/lib/txplib_misc.php(570) : eval()'d code:1082 call_user_func()
textpattern/lib/txplib_misc.php(570) : eval()'d code:842 permanentlinks->toggle_permlink_mode()
permanentlinks->_permlinkurl()
textpattern/lib/txplib_misc.php:1830 call_user_func()
textpattern/publish/taghandlers.php:1078 pagelinkurl()
textpattern/publish.php:1090 section_list()
textpattern/publish.php:1012 processtags()
textpattern/lib/txplib_misc.php:1540 parse()

And this is what TXP outputs in the source of the page (that is a tag trace, isn’t it?)

<!-- Runtime:    0,3157 -->
<!-- Query time: 0,072533 -->
<!-- Queries: 42 -->
<!-- Memory: 7364Kb, <txp:posted format="%d.%m.%Y" /> -->
<!-- txp tag trace: 
[SQL (0,00611615180969): select name, data from txp_lang where lang='de-de' AND ( event='public' OR event='common')]
[SQL (0,00593900680542): select name, code, version from txp_plugin where status = 1 AND type IN (0,1) order by load_order]
[SQL (0,00149893760681): select name,code,version from txp_plugin where status = 1 AND name='gbp_admin_library']
[SQL (0,000903129577637): select name, html as type from txp_prefs where event = 'permlinks' AND html <> 'gbp_partial']
[SQL (0,000856876373291): SHOW TABLES LIKE 'custom_fields']
[SQL (0,000931978225708): select * from tru_tags_prefs where 1]
[SQL (0,00269603729248): select name, val from txp_prefs where prefs_id=1]
[SQL (0,00120687484741): select name,code,version from txp_plugin where status = 1 AND name='Postmaster Library']
[SQL (0,000771999359131): select page, css from txp_section where name = 'default' limit 1]
[SQL (0,00344204902649): select REPLACE(name, 'gbp_permanent_links_', '') AS id from txp_prefs where `event` = 'permlinks' AND `name` REGEXP '^gbp_permanent_links_.{13}$']
[SQL (0,00152492523193): select user_html from txp_page where name='default']
[Seite: default]
<txp:output_form form="headTitle" />
	[SQL (0,00155901908875): select Form from txp_form where name='headTitle']
	[Baustein: headTitle]
	<txp:if_section name="">
		[<txp:if_section name="">: true]
		<txp:site_name />
	</txp:if_section>
<txp:output_form form="headEveryPage" />
	[SQL (0,000468969345093): select Form from txp_form where name='headEveryPage']
	[Baustein: headEveryPage]
<txp:output_form form="headCss" />
	[SQL (0,000826120376587): select Form from txp_form where name='headCss']
	[Baustein: headCss]
<txp:output_form form="headMeta" />
	[SQL (0,000820875167847): select Form from txp_form where name='headMeta']
	[Baustein: headMeta]
	<txp:if_individual_article>
		[<txp:if_individual_article>: false]
	</txp:if_individual_article>
<txp:output_form form="headFeeds" />
	[SQL (0,000667095184326): select Form from txp_form where name='headFeeds']
	[Baustein: headFeeds]
<txp:section />
	 <txp:section /> -> Notice: Undefined variable:  ID  on line 2748
	 <txp:section /> -> Notice: Undefined variable:  Title  on line 2752
	 <txp:section /> -> Notice: Undefined variable:  Section  on line 2754
	 <txp:section /> -> Notice: Undefined variable:  Posted  on line 2755
<txp:site_url />
<txp:section />
	 <txp:section /> -> Notice: Undefined variable:  ID  on line 2748
<txp:section />
	 <txp:section /> -> Notice: Undefined variable:  ID  on line 2748
<txp:output_form form="printHeader" />
	[SQL (0,00125098228455): select Form from txp_form where name='printHeader']
	[Baustein: printHeader]
	<txp:site_url />
<txp:output_form form="header" />
	[SQL (0,000789165496826): select Form from txp_form where name='header']
	[Baustein: header]
	<txp:link_to_home />
	<txp:site_name />
	<txp:hide>
	</txp:hide>
<txp:output_form form="nav" />
	[SQL (0,000773906707764): select Form from txp_form where name='nav']
	[Baustein: nav]
	<txp:if_section name="anfahrt">
		[<txp:if_section name="anfahrt">: false]
	</txp:if_section>
	<txp:site_url />
	<txp:if_section name="kontakt">
		[<txp:if_section name="kontakt">: false]
	</txp:if_section>
	<txp:site_url />
	<txp:if_section name="newsletter">
		[<txp:if_section name="newsletter">: false]
	</txp:if_section>
	<txp:site_url />
	<txp:if_section name="service">
		[<txp:if_section name="service">: false]
	</txp:if_section>
	<txp:site_url />
	<txp:if_section name="organisation">
		[<txp:if_section name="organisation">: false]
	</txp:if_section>
	<txp:site_url />
	<txp:if_section name="aktuelles">
		[<txp:if_section name="aktuelles">: false]
	</txp:if_section>
	<txp:site_url />
<txp:output_form form="subnav" />
	[SQL (0,000541925430298): select Form from txp_form where name='subnav']
	[Baustein: subnav]
	<txp:if_section name="default">
		[<txp:if_section name="default">: true]
	</txp:if_section>
	<txp:if_section name="schulleben">
		[<txp:if_section name="schulleben">: false]
	</txp:if_section>
	<txp:if_section name="termine">
		[<txp:if_section name="termine">: false]
	</txp:if_section>
	<txp:if_section name="klassen">
		[<txp:if_section name="klassen">: false]
	</txp:if_section>
	<txp:if_section name="lehrer">
		[<txp:if_section name="lehrer">: false]
	</txp:if_section>
	<txp:if_section name="eltern">
		[<txp:if_section name="eltern">: false]
	</txp:if_section>
	<txp:if_section name="verwaltung">
		[<txp:if_section name="verwaltung">: false]
	</txp:if_section>
	<txp:if_section name="unterricht">
		[<txp:if_section name="unterricht">: false]
	</txp:if_section>
	<txp:if_section name="ueber-uns">
		[<txp:if_section name="ueber-uns">: false]
	</txp:if_section>
	<txp:if_section name="fotos">
		[<txp:if_section name="fotos">: false]
	</txp:if_section>
	<txp:if_section name="intern">
		[<txp:if_section name="intern">: false]
	</txp:if_section>
	<txp:output_form form="searchForm" />
		[SQL (0,00012993812561): select Form from txp_form where name='searchForm']
		[Baustein: searchForm]
		<txp:site_url />
	<txp:article_custom allowoverride="1" id="5" pgonly="0" />
		[SQL (0,000429153442383): 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 ID IN (5) order by Posted desc limit 0, 10]
		[Artikel 5]
		[SQL (0,000128984451294): select Form from txp_form where name='bodyOnly']
		[Baustein: bodyOnly]
		<txp:body />
	<txp:output_form form="schulhomepageaward" />
		[SQL (0,000884056091309): select Form from txp_form where name='schulhomepageaward']
		[Baustein: schulhomepageaward]
		<txp:hide>
		</txp:hide>
<txp:article id="56" form="bodyOnly" />
	[SQL (0,000597953796387): 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 ID IN (56) order by Posted desc limit 0, 10]
	[Artikel 56]
	[Baustein: bodyOnly]
	<txp:body />
<txp:output_form form="sidebarHome" />
	[SQL (0,0011739730835): select Form from txp_form where name='sidebarHome']
	[Baustein: sidebarHome]
	<txp:article_custom allowoverride="0" form="titleListImportant" limit="10" pgonly="0" Wichtig="Als wichtig kennzeichnen" />
		[SQL (0,015016078949): 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 custom_7 like 'Als wichtig kennzeichnen'  order by Posted desc limit 0, 10]
		[Artikel 384]
		[SQL (0,00157785415649): select Form from txp_form where name='titleListImportant']
		[Baustein: titleListImportant]
		<txp:permlink>
			<txp:title />
		</txp:permlink>
		<txp:output_form form="titleListMeta" />
			[SQL (0,00121712684631): select Form from txp_form where name='titleListMeta']
			[Baustein: titleListMeta]
			<txp:section title="1" />
				[SQL (0,000643014907837): select title from txp_section where name='schulleben']
				 <txp:section title="1" /> -> Notice: Undefined variable:  ID  on line 2748
			<txp:posted format="%d.%m.%Y" />
	<txp:article_custom allowoverride="0" pgonly="0" sort="Posted desc" form="titleListNews" limit="7" Aktuell="Als aktuell anzeigen" />
		[SQL (0,00279188156128): 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 custom_9 like 'Als aktuell anzeigen'  order by Posted desc limit 0, 7]
		[Artikel 388]
		[SQL (0,000559091567993): select Form from txp_form where name='titleListNews']
		[Baustein: titleListNews]
		<txp:permlink>
			<txp:title />
		</txp:permlink>
		<txp:output_form form="titleListMeta" />
			[Baustein: titleListMeta]
			<txp:section title="1" />
				 <txp:section title="1" /> -> Notice: Undefined variable:  ID  on line 2748
			<txp:posted format="%d.%m.%Y" />
		[Artikel 385]
		[Baustein: titleListNews]
		<txp:permlink>
			<txp:title />
		</txp:permlink>
		<txp:output_form form="titleListMeta" />
			[Baustein: titleListMeta]
			<txp:section title="1" />
				 <txp:section title="1" /> -> Notice: Undefined variable:  ID  on line 2748
			<txp:posted format="%d.%m.%Y" />
		[Artikel 383]
		[Baustein: titleListNews]
		<txp:permlink>
			<txp:title />
		</txp:permlink>
		<txp:output_form form="titleListMeta" />
			[Baustein: titleListMeta]
			<txp:section title="1" />
				 <txp:section title="1" /> -> Notice: Undefined variable:  ID  on line 2748
			<txp:posted format="%d.%m.%Y" />
		[Artikel 382]
		[Baustein: titleListNews]
		<txp:permlink>
			<txp:title />
		</txp:permlink>
		<txp:output_form form="titleListMeta" />
			[Baustein: titleListMeta]
			<txp:section title="1" />
				[SQL (0,00130009651184): select title from txp_section where name='fotos']
				 <txp:section title="1" /> -> Notice: Undefined variable:  ID  on line 2748
			<txp:posted format="%d.%m.%Y" />
		[Artikel 378]
		[Baustein: titleListNews]
		<txp:permlink>
			<txp:title />
		</txp:permlink>
		<txp:output_form form="titleListMeta" />
			[Baustein: titleListMeta]
			<txp:section title="1" />
				 <txp:section title="1" /> -> Notice: Undefined variable:  ID  on line 2748
			<txp:posted format="%d.%m.%Y" />
		[Artikel 377]
		[Baustein: titleListNews]
		<txp:permlink>
			<txp:title />
		</txp:permlink>
		<txp:output_form form="titleListMeta" />
			[Baustein: titleListMeta]
			<txp:section title="1" />
				[SQL (0,000865936279297): select title from txp_section where name='klassen']
				 <txp:section title="1" /> -> Notice: Undefined variable:  ID  on line 2748
			<txp:posted format="%d.%m.%Y" />
		[Artikel 376]
		[Baustein: titleListNews]
		<txp:permlink>
			<txp:title />
		</txp:permlink>
		<txp:output_form form="titleListMeta" />
			[Baustein: titleListMeta]
			<txp:section title="1" />
				 <txp:section title="1" /> -> Notice: Undefined variable:  ID  on line 2748
			<txp:posted format="%d.%m.%Y" />
	<txp:hide>
	</txp:hide>
<txp:article id="111" form="bodyOnly" />
	[SQL (0,00167894363403): 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 ID IN (111) order by Posted desc limit 0, 10]
	[Artikel 111]
	[Baustein: bodyOnly]
	<txp:body />
		<txp:hide>
		</txp:hide>
		<txp:output_form form="announceHome" />
			[SQL (0,000457048416138): select Form from txp_form where name='announceHome']
			[Baustein: announceHome]
			<txp:hide>
			</txp:hide>
		<txp:output_form form="fotosStartseite" />
			[SQL (0,000746965408325): select Form from txp_form where name='fotosStartseite']
			[Baustein: fotosStartseite]
<txp:output_form form="footer" />
	[SQL (0,00059700012207): select Form from txp_form where name='footer']
	[Baustein: footer]
	<txp:article_custom allowoverride="0" form="bodyOnly" id="6" pgonly="0" />
		[SQL (0,00137805938721): 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 ID IN (6) order by Posted desc limit 0, 10]
		[Artikel 6]
		[Baustein: bodyOnly]
		<txp:body />
	<txp:site_url />
	<txp:site_url />
	<txp:site_url />
	<txp:section_list break=" | " default_title="Startseite" include_default="1" sections="schulleben, termine, klassen, lehrer, eltern, verwaltung, unterricht, ueber-uns, fotos" wraptag="p" active_class="currentSec" />
		[SQL (0,00210905075073): select name, title from txp_section where name in ('schulleben','termine','klassen','lehrer','eltern','verwaltung','unterricht','ueber-uns','fotos') order by field(name, 'schulleben','termine','klassen','lehrer','eltern','verwaltung','unterricht','ueber-uns','fotos')]
		 <txp:section_list break=" | " default_title="Startseite" include_default="1" sections="schulleben, termine, klassen, lehrer, eltern, verwaltung, unterricht, ueber-uns, fotos" wraptag="p" active_class="currentSec" /> -> Notice: Undefined variable:  ID  on line 2748
		 <txp:section_list break=" | " default_title="Startseite" include_default="1" sections="schulleben, termine, klassen, lehrer, eltern, verwaltung, unterricht, ueber-uns, fotos" wraptag="p" active_class="currentSec" /> -> Notice: Undefined variable:  ID  on line 2748
		 <txp:section_list break=" | " default_title="Startseite" include_default="1" sections="schulleben, termine, klassen, lehrer, eltern, verwaltung, unterricht, ueber-uns, fotos" wraptag="p" active_class="currentSec" /> -> Notice: Undefined variable:  ID  on line 2748
		 <txp:section_list break=" | " default_title="Startseite" include_default="1" sections="schulleben, termine, klassen, lehrer, eltern, verwaltung, unterricht, ueber-uns, fotos" wraptag="p" active_class="currentSec" /> -> Notice: Undefined variable:  ID  on line 2748
		 <txp:section_list break=" | " default_title="Startseite" include_default="1" sections="schulleben, termine, klassen, lehrer, eltern, verwaltung, unterricht, ueber-uns, fotos" wraptag="p" active_class="currentSec" /> -> Notice: Undefined variable:  ID  on line 2748
		 <txp:section_list break=" | " default_title="Startseite" include_default="1" sections="schulleben, termine, klassen, lehrer, eltern, verwaltung, unterricht, ueber-uns, fotos" wraptag="p" active_class="currentSec" /> -> Notice: Undefined variable:  ID  on line 2748
		 <txp:section_list break=" | " default_title="Startseite" include_default="1" sections="schulleben, termine, klassen, lehrer, eltern, verwaltung, unterricht, ueber-uns, fotos" wraptag="p" active_class="currentSec" /> -> Notice: Undefined variable:  ID  on line 2748
		 <txp:section_list break=" | " default_title="Startseite" include_default="1" sections="schulleben, termine, klassen, lehrer, eltern, verwaltung, unterricht, ueber-uns, fotos" wraptag="p" active_class="currentSec" /> -> Notice: Undefined variable:  ID  on line 2748
		 <txp:section_list break=" | " default_title="Startseite" include_default="1" sections="schulleben, termine, klassen, lehrer, eltern, verwaltung, unterricht, ueber-uns, fotos" wraptag="p" active_class="currentSec" /> -> Notice: Undefined variable:  ID  on line 2748
		 <txp:section_list break=" | " default_title="Startseite" include_default="1" sections="schulleben, termine, klassen, lehrer, eltern, verwaltung, unterricht, ueber-uns, fotos" wraptag="p" active_class="currentSec" /> -> Notice: Undefined variable:  ID  on line 2748
<txp:output_form form="footEveryPage" />
	[SQL (0,0012149810791): select Form from txp_form where name='footEveryPage']
	[Baustein: footEveryPage]
[ ~~~ secondpass ~~~ ]
 -->
</code>

Last edited by andreas (2009-01-26 06:24:01)

Offline

#7 2009-01-26 06:39:05

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,330
Website Mastodon

Re: Caterory and section links and broken after upgrading to 4.0.8

andreas wrote:

textpattern/lib/txplib_misc.php(570) : eval()'d code:842 permanentlinks->toggle_permlink_mode() permanentlinks->_permlinkurl()

Looks like you use gpb_permanent_links. Please verify that your version is supported with Textpattern 4.0.8.

Offline

#8 2009-01-26 07:08:33

andreas
Member
Registered: 2004-02-28
Posts: 453
Website

Re: Caterory and section links and broken after upgrading to 4.0.8

OK – thanks. Updating the plugin solved the URL issue. Now, there seems to be a problem with some if_category and if_section statements. But that’s (possibly) for another thread – thanks for your quick help.

Offline

Board footer

Powered by FluxBB