Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
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
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
Offline
Re: 4.6 upgrade - articles in front end disappeared
In my case that was a syntactically wrong </txp:tag />
in some form.
Offline
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
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
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
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
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
Offline
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
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