Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-02-11 12:15:27

tc03
Member
Registered: 2007-11-06
Posts: 92

Problem with error page

I get the following message:

“Notice: Article tags cannot be used outside an article context in /home/vitalpoe/public_html/textpattern/lib/txplib_misc.php on line 1887”

with the following page code:

<txp:output_form form=“meta” />
<body>
<div id=“container”>
<div id=“navigation”> <txp:output_form form=“navigation” />
</div>
<div id=“rail”> <a href=”<txp:site_url />”><txp:image html_id=“logo” id=“2” /></a> <txp:output_form form=“header_left_2” />
</div>
<div id=“content”>
<h3><txp:error_status /></h3>
<p><txp:error_message /></p>
</div>
<div id=“footer”> <txp:output_form form=“footer” />
</div>
<!—end “container”—>
</div>
<!—end “body”—>
</body>
</html>

Don’t know why…

Last edited by tc03 (2008-02-11 12:15:45)

Offline

#2 2008-02-11 12:18:25

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Problem with error page

Offline

#3 2008-02-11 13:07:41

tc03
Member
Registered: 2007-11-06
Posts: 92

Re: Problem with error page

Tried TAG TRACE – Don’t get any tag trace info in the html, but do get the following, extra error notice:

Notice: Unknown tag attribute: limit in /home/vitalpoe/public_html/textpattern/lib/txplib_misc.php on line 605

Offline

#4 2008-02-11 13:53:40

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,200
Website GitHub Mastodon Twitter

Re: Problem with error page

Can you tell us what you have in your “meta” (<txp:output_form form="meta" />) form?


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#5 2008-02-11 15:41:29

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Problem with error page

Don’t get any tag trace info in the html…

Is your production status set to debugging?

Offline

#6 2008-02-13 07:57:15

tc03
Member
Registered: 2007-11-06
Posts: 92

Re: Problem with error page

yes set to debugging.

meta =

<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
<html xmlns=“http://www.w3.org/1999/xhtml”>
<head>
<meta http-equiv=“Content-Type” content=“text/html;charset=utf-8”/>
<title>Vitalpoetics: A Journal of Critical Literary Theory</title>
<meta name=“description” content=“Vitalpoetics is an international journal of critical, literary theory” />
<meta name=“keywords” content=”<txp:keywords />” />
<txp:css format=“link” />
<link rel=“shortcut icon” href=”/images/favicon.ico” />
<link href=”<txp:ajw_clean_feed_link flavor=“rss” url_only=“y” label=“RSS Feed” limit=“10” section=“rss_feed” title=“RSS Feed” area=“comments” />” rel=“alternate” type=“application/rss+xml” />

</head>

Last edited by tc03 (2008-02-13 09:45:13)

Offline

#7 2008-02-13 08:11:16

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

Re: Problem with error page

Well there is <txp:keywords /> that is article tag, so it can’t be used in article. With out article, it’s – hmm, non working. Still the error will go away if you turn site status to Live.

Also it will go away if you surround <txp:keywords /> with <txp:if_individual_article> tags.

Offline

#8 2008-02-13 08:40:24

tc03
Member
Registered: 2007-11-06
Posts: 92

Re: Problem with error page

TY gocom – any ideas about my initial problem with the error-error? Also, why doesn’t tag trace work – I followed the instructions to a t…

Last edited by tc03 (2008-02-13 08:40:52)

Offline

#9 2008-02-13 09:14:09

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

Re: Problem with error page

Isn’t this your initial problem:

Notice: Article tags cannot be used outside an article context in /home/vitalpoe/public_html/textpattern/lib/txplib_misc.php on line 1887

It’s caused because of those article tags in your forms. It goes away if you turn your site’s status to live. If there isn’t tag trace, could you post your high dianostics?

Last edited by Gocom (2008-02-13 09:15:08)

Offline

#10 2008-02-13 09:43:42

tc03
Member
Registered: 2007-11-06
Posts: 92

Re: Problem with error page

Word-G.

Offline

Board footer

Powered by FluxBB