Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
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
Re: error with error page
Does this help?
Offline
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
Pages: 1