Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-05-30 07:32:25

jamiew
Archived Plugin Author
From: NYC
Registered: 2005-01-08
Posts: 74
Website

Textpattern Notice: error_article_context

On my development site (set to Testing) I continually land these errors:

<code>
tag_error <txp:comments/> -> Textpattern Notice: error_article_context on line 1581
tag_error <txp:comment_permlink> -> Textpattern Notice: error_article_context on line 1581
tag_error <txp:comment_permlink> -> Textpattern Notice: error_article_context on line 1581
tag_error <txp:comments_form/> -> Textpattern Notice: error_article_context on line 1581
</code>

Anyone know what’s causing these, or where could I disable these ‘notices’?

Last edited by jamiew (2006-05-30 07:32:48)

Offline

#2 2006-05-30 09:39:41

Sencer
Archived Developer
From: cgn, de
Registered: 2004-03-23
Posts: 1,803
Website

Re: Textpattern Notice: error_article_context

(set to Testing)

That’s why it is showing you notices, to inform you that you are doing something wrong. If you set it to live, it will be quiet about it.

The message means that you are using those tags in a place where they cannot/should not be used. Those tags can only be used if it is clear which article they “belong to” (i.e. to be techincal: if $thisarticle has been set). The easiest way to achieve that is to call them from article-forms (or after an article-tag in a page works, too).

Offline

#3 2006-05-30 16:10:43

jamiew
Archived Plugin Author
From: NYC
Registered: 2005-01-08
Posts: 74
Website

Re: Textpattern Notice: error_article_context

Presto! Had my comment tags on a page, and moving them to an article form shut them up. Perhaps this should go in the FAQ? Googling the error turned up nothing

Last edited by jamiew (2006-05-30 16:11:00)

Offline

Board footer

Powered by FluxBB