Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2016-09-14 20:09:18

jayrope
Plugin Author
From: Berlin
Registered: 2006-07-06
Posts: 687
Website Mastodon

4.6 upgrade - articles in front end disappeared

Probably something simple, but my head is erm erm full:

After upgrading from 4.5.7 to 4.6.0 my articles disappeared from the front end.

In backend all seems well.

What would you need to analyze?

EDIT:

Diagnostics:
Clean URLs are only supported on Apache, use at your own risk. i
/home/mysite/public_html/mysite.com/textpattern/setup/ still exists i

Actually teh server runs on Litespeed, but that was no problem with 4.5.7

Last edited by jayrope (2016-09-14 20:13:47)


A hole turned upside down is a dome, when there’s also gravity.

Offline

#2 2016-09-14 20:15:58

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

Re: 4.6 upgrade - articles in front end disappeared

jayrope wrote #301482:

After upgrading from 4.5.7 to 4.6.0 my articles disappeared from the front end.

You using MLP? If so, you’ll need to install the update from GitHub, which unfortunately isn’t compiled (yet) and isn’t pretty because it needs to be updated for the new layout. But it’s functional.

If you don’t use MLP, then it’s a glitch. Try what etc suggests first (below), then if you can’t find the issue (smd_where_used might help?) post your high diagnostics and we’ll go from there.

Last edited by Bloke (2016-09-14 20:18:03)


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

Online

#3 2016-09-14 20:16:20

etc
Developer
Registered: 2010-11-11
Posts: 5,028
Website GitHub

Re: 4.6 upgrade - articles in front end disappeared

In my case that was a syntactically wrong </txp:tag /> in some form.

Offline

#4 2016-09-14 20:20:20

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,134
GitHub

Re: 4.6 upgrade - articles in front end disappeared

Additionally, setting your site mode to Debug might throw some clues in the front-side.

Offline

#5 2016-09-15 05:06:10

jayrope
Plugin Author
From: Berlin
Registered: 2006-07-06
Posts: 687
Website Mastodon

Re: 4.6 upgrade - articles in front end disappeared

Thanx everyone for the hints. Site runs no plugins other than zem_contact_reborn (the new), switching that off doesn’t change anything.

In Debug mode i get for this
<txp:if_section name=""><txp:article id="1" /></txp:if_section>

an error like this:
Tag error: <txp:article id="1" /> -> Textpattern Notice: Unknown tag attribute: id. while parsing form None on page default

Ooops, that looks like a very basic problem.

Last edited by jayrope (2016-09-15 05:10:57)


A hole turned upside down is a dome, when there’s also gravity.

Offline

#6 2016-09-15 05:14:01

mrdale
Member
From: Walla Walla
Registered: 2004-11-19
Posts: 2,215
Website

Re: 4.6 upgrade - articles in front end disappeared

try <txp:article_custom id="1" />?

I seem remember that article is automatic, while article_custom is more specific.

Offline

#7 2016-09-15 05:46:29

jayrope
Plugin Author
From: Berlin
Registered: 2006-07-06
Posts: 687
Website Mastodon

Re: 4.6 upgrade - articles in front end disappeared

<txp:article_custom id="1" /> displays normally. But why the difference?


A hole turned upside down is a dome, when there’s also gravity.

Offline

#8 2016-09-15 08:25:28

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

Re: 4.6 upgrade - articles in front end disappeared

jayrope wrote #301502:

<txp:article_custom id="1" /> displays normally. But why the difference?

<txp:article /> is context sensitive and takes its ID(s) based on the article/path designated in the URL to render an individual article or list of articles.

<txp:article_custom /> is not context sensitive and needs to be told what article(s) to display.

See here for the reason behind the change.


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

Online

#9 2016-09-15 12:50:56

jayrope
Plugin Author
From: Berlin
Registered: 2006-07-06
Posts: 687
Website Mastodon

Re: 4.6 upgrade - articles in front end disappeared

Thank you Bloke, i guess i am a bit out of the loop.


A hole turned upside down is a dome, when there’s also gravity.

Offline

#10 2016-09-22 20:09:35

Papuass
Member
From: Rīga, Latvija
Registered: 2006-03-28
Posts: 21
Website

Re: 4.6 upgrade - articles in front end disappeared

For me te problem was linked to this: http://forum.textpattern.com/viewtopic.php?id=46973

I had updated “Expires” field with some value, so I needed to run this:

UPDATE textpattern set Expires=null where Expires='1970-01-01 00:00:00';

I noticed that when one of articles showed up after saving it in admin side.

Offline

Board footer

Powered by FluxBB