Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Draft, hidden or pending article viewed from Content-Articles
- from the admin side
- Content > Articles
- check “Show details”
- set an article as draft, hidden or pending
- hit “View”
I received the following error :
Fatal error: Call to undefined function doAuth() in [...]/textpattern/publish.php on line 431
Should I submit a report ? (and how ?)
Thank you !
Offline
Re: Draft, hidden or pending article viewed from Content-Articles
CeBe wrote:
I received the following error :
Fatal error: Call to undefined function doAuth() in [...]/textpattern/publish.php on line 431
Yikes! Thanks for spotting that. You’re right, the View link in the left column of the article list screen won’t preview non-live articles. I don’t see the error message on my particular installation but I do get a white screen of nothingness, which is equally unwelcome.
I think the fix might be as simple as altering the destination URL on that link from: http://site.com/section/article?txpreview=nnn.yyyyyyyyyy
to http://site.com/textpattern/index.php?txpreview=nnn.yyyyyyyyyy
but it might be more involved than that.
Would you please raise an issue on the issue tracker for this and someone will tend to it. Thanks.
Last edited by Bloke (2011-06-26 10:53:27)
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Txp Builders – finely-crafted code, design and Txp
Offline
Re: Draft, hidden or pending article viewed from Content-Articles
Offline
Re: Draft, hidden or pending article viewed from Content-Articles
Fixed in r3582. Thanks for the report.
Offline
Re: Draft, hidden or pending article viewed from Content-Articles
Express-fix :)
Thanks !
Offline