Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#31 2016-09-14 14:23:15

johnstephens
Plugin Author
From: Woodbridge, VA
Registered: 2008-06-01
Posts: 1,000
Website

Re: Feedback to: Textpattern CMS 4.6.0 released

Thank you! In short, “user error”.

I also notice article_custom no longer supports the listform attribute. Easy to work around, though—no problem. I imagine this was a matter of cleanup too?

Offline

#32 2016-09-14 14:27:55

johnstephens
Plugin Author
From: Woodbridge, VA
Registered: 2008-06-01
Posts: 1,000
Website

Re: Feedback to: Textpattern CMS 4.6.0 released

philwareham wrote #301459:

Ha! That is where we ported the issues across from Google Code, it made all old commenters a ghost for some reason.

That’s a relief! I was imagining a cadre of cyber-assassins stalking Team Textpattern and silently rubbing you out, one by one, starting on Github.

Offline

#33 2016-09-14 14:28:52

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 12,463
Website GitHub

Re: Feedback to: Textpattern CMS 4.6.0 released

johnstephens wrote #301463:

I also notice article_custom no longer supports the listform attribute… I imagine this was a matter of cleanup too?

Yes, the two tags are handled by the same internal function, and we were a bit lax about which atts went with which. You could legitimately do things like <txp:article id="50" /> and it would let you, but ignore it if you were in article context. Now it’s not permitted and will throw a warning.

Vice-versa, some of the <txp:article /> attributes were allowed in article_custom tags, even though they didn’t make sense. No more.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Hire Txp Builders – finely-crafted code, design and Txp

Offline

#34 2016-09-14 19:20:18

johnstephens
Plugin Author
From: Woodbridge, VA
Registered: 2008-06-01
Posts: 1,000
Website

Re: Feedback to: Textpattern CMS 4.6.0 released

I just noticed that two files are missing from the update directory:

  • textpattern/update/_to_4.4.0.php
  • textpattern/update/_to_4.4.1.php

Does this matter?

Offline

#35 2016-09-14 20:03:41

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

Re: Feedback to: Textpattern CMS 4.6.0 released

johnstephens wrote #301478:

I just noticed that two files are missing from the update directory:

  • textpattern/update/_to_4.4.0.php
  • textpattern/update/_to_4.4.1.php

Does this matter?

Checking these files against the 4.5.7 distribution, there were no actual changes made, so I suspect they were culled as cruft.

Offline

#36 2016-09-14 20:10:45

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 12,463
Website GitHub

Re: Feedback to: Textpattern CMS 4.6.0 released

johnstephens wrote #301478:

two files are missing from the update directory… Does this matter?

Nope. They were, as Pete said, cruft. Never used, just had to be there as placeholders because of limitations in the way the upgrade script worked. Since we refactored the upgrade script, they’re no longer required to be there.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Hire Txp Builders – finely-crafted code, design and Txp

Offline

#37 2016-09-14 20:32:52

johnstephens
Plugin Author
From: Woodbridge, VA
Registered: 2008-06-01
Posts: 1,000
Website

Re: Feedback to: Textpattern CMS 4.6.0 released

Awesome, thanks!

I just performed an upgrade on a client site today. Despite having 4.5.7, moving to 4.6.0 was definitely the most complex Textpattern upgrade I’ve ever done, involving a more thorough audit and updating of plugins than ever before. But it all seems to be working, and faster than lightning!

Thank you again, everyone!

Offline

#38 2016-09-15 11:53:50

gavnosis
Member
From: Milton Keynes, UK
Registered: 2005-03-12
Posts: 151
Website

Re: Feedback to: Textpattern CMS 4.6.0 released

Okay, so I’ve just jumped right in, and upgraded 4.5.7 > 4.6.0 … and now have for headings for existing articles at the top:

view_text_short, view_html_short and view_preview_short

What do you think I’ve missed out?

Offline

#39 2016-09-15 11:59:00

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

Re: Feedback to: Textpattern CMS 4.6.0 released

gavnosis wrote #301525:

What do you think I’ve missed out?

Try updating language strings.

Offline

#40 2016-09-15 12:14:41

gavnosis
Member
From: Milton Keynes, UK
Registered: 2005-03-12
Posts: 151
Website

Re: Feedback to: Textpattern CMS 4.6.0 released

Thank you, that did it …kind of! I now have three beautiful buttons Text, HTML and Preview, but these links don’t work on my desktop, but do work on my phone!

Offline

#41 2016-09-15 12:25:27

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

Re: Feedback to: Textpattern CMS 4.6.0 released

gavnosis wrote #301527:

Thank you, that did it …kind of! I now have three beautiful buttons Text, HTML and Preview, but these links don’t work on my desktop, but do work on my phone!

Flush browser cache.

Offline

#42 2016-09-15 12:27:52

gavnosis
Member
From: Milton Keynes, UK
Registered: 2005-03-12
Posts: 151
Website

Re: Feedback to: Textpattern CMS 4.6.0 released

Bingo! Thank you, and all working swimmingly :-)

Offline

#43 2016-09-15 15:12:48

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 5,204
Website GitHub

Re: Feedback to: Textpattern CMS 4.6.0 released

A belated very big thank you from me too to everyone on all fronts! I’ve been braving it with 4.6 betas for a while now, and it is a big improvement in all respects!


TXP Builders – finely-crafted code, design and txp

Offline

#44 2016-09-15 18:40:44

johnstephens
Plugin Author
From: Woodbridge, VA
Registered: 2008-06-01
Posts: 1,000
Website

Re: Feedback to: Textpattern CMS 4.6.0 released

Hm. On one site I’m upgrading, I’m getting this message on the Languages panel, and it won’t let me update the language:

Warning “unlink(/path/to/textpattern/include/import/BloggerImportTemplate.txt): No such file or directory”
in /path/to/textpattern/update/_to_4.6.0.php at line 151.

Any ideas what I can do?

Edit: This is fixed. I had to copy all the files from the 4.5.7 repository’s import directory into the live import directory so that the update script could run.

Last edited by johnstephens (2016-09-15 18:57:30)

Offline

#45 2016-09-15 20:03:41

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 12,463
Website GitHub

Re: Feedback to: Textpattern CMS 4.6.0 released

johnstephens wrote #301549:

I had to copy all the files from the 4.5.7 repository’s import directory into the live import directory so that the update script could run.

An unfortunate side-effect of either a) running the update twice (perhaps because of a failed first attempt), or b) running the update on a server that has tight permissions that disallow write access to the core files, or c) having run a beta and then upgrading to the final.

This is one of the first times we’ve actively tried tidying up in an upgrade script. Now I know why it was avoided in the past!


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Hire Txp Builders – finely-crafted code, design and Txp

Offline

Board footer

Powered by FluxBB