Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2011-06-25 16:37:36

CeBe
Plugin Author
From: Caen - Fr
Registered: 2010-06-25
Posts: 345
Website

Draft, hidden or pending article viewed from Content-Articles

Today I tried to view an article
  • 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

#2 2011-06-26 10:48:08

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,446
Website GitHub

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

#3 2011-06-26 15:29:29

CeBe
Plugin Author
From: Caen - Fr
Registered: 2010-06-25
Posts: 345
Website

Re: Draft, hidden or pending article viewed from Content-Articles

Bloke a écrit:

Would you please raise an issue on the issue tracker

Just been done. Thank you.

Offline

#4 2011-06-27 06:04:56

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,330
Website Mastodon

Re: Draft, hidden or pending article viewed from Content-Articles

Fixed in r3582. Thanks for the report.

Offline

#5 2011-06-27 06:58:17

CeBe
Plugin Author
From: Caen - Fr
Registered: 2010-06-25
Posts: 345
Website

Re: Draft, hidden or pending article viewed from Content-Articles

Express-fix :)
Thanks !

Offline

Board footer

Powered by FluxBB