Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-07-03 18:42:23

mwillse
Member
From: brooklyn, ny
Registered: 2006-06-26
Posts: 83
Website

error with error page

Hello, I’m getting a notice on my error page that I can’t quite figure out. The page loads fine.

Notice: Article tags cannot be used outside an article context in /home/[…server path to my site…]/textpattern/lib/txplib_misc.php on line 1887

I don’t like that this displays the path to my site on the server.

I use <txp:page_url /> in the body to help people to check for typos, but tried it without. Any idea what could trigger this notice? Or more importantly, how I can suppress it?

I’m running version: 4.0.5 (r2466) in Live mode.

thanks…

Offline

#2 2008-07-03 19:30:02

maverick
Member
From: Southeastern Michigan, USA
Registered: 2005-01-14
Posts: 976
Website

Re: error with error page

Does this help?

Offline

#3 2008-07-03 20:24:53

mwillse
Member
From: brooklyn, ny
Registered: 2006-06-26
Posts: 83
Website

Re: error with error page

Thanks. I had looked for such tags before, but missed one. I put the article ID in <body id=”“ > for css wizardry. And of course, an error page has no article id.

I’m still surprised that the Notice appears while in live mode, and that it shows the server path to my site’s web directory.

thanks again…

Offline

#4 2008-07-05 01:15:52

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

Re: error with error page

Update your version of Txp.

Offline

Board footer

Powered by FluxBB