Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

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

johnstephens
Plugin Author
From: Woodbridge, VA
Registered: 2008-06-01
Posts: 999
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,296
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,296
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: 4,752
Website

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: 999
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: 11,475
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.

Txp Builders – finely-crafted code, design and Txp

Offline

#46 2016-09-15 20:16:36

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

Re: Feedback to: Textpattern CMS 4.6.0 released

Not sure

Bloke wrote #301552:

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.

Not sure, but it was probably “a”.

I didn’t use the beta on this site, but I did run into another problem before this came up. I culled and upgraded all the plugins before doing the Texpattern upgrade. Then I copied all the Textpattern 4.6.0 files into my document root and updated .htaccess. When I went back to the CMS and clicked “Log Out” from the 4.5.7 interface, the site threw a PHP error from the new textpattern/index file. After some head-scratching, I checked the server’s PHP version and found it was running 5.2 series! So I bumped it to PHP 5.6 series, ran the upgrade, and then bumped it to the latest stable version of PHP 7.

Last edited by johnstephens (2016-09-15 20:17:15)

Offline

#47 2016-09-18 09:18:15

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

Re: Feedback to: Textpattern CMS 4.6.0 released

Please would anybody who has a spare ten minutes and any version of MySQL (or MariaDB / Percona at a push) please test this patch. It’s a potential fix for the date upgrade bug that some people encounter, and we’d appreciate some field reports to see if it works under various environments.

If you’re able to help out by performing an upgrade from 4.5.7 to the patched 4.6.0, it would really be of benefit, thank you in advance.


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

#48 2016-09-18 17:07:17

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

Re: Feedback to: Textpattern CMS 4.6.0 released

jstubbs wrote #301317:

Theme classic (classic_theme) failed to load properly from file...... …then nothing happens which isn’t great for new users.

I’ve added a phrase about refreshing the page, as discussed in this GitHub issue. I tried doing an automatic refresh after five seconds, but the problem with that is if your theme goes up the swanny while you (or another user: think someone else tinkering with admin themes) are posting a new article, the auto-refresh doesn’t repost and you lose your edits. If, however, you manually refresh, the browser asks if you want to repost and your article is then stored.

This is one of those situations where we could try and be clever, but it’s bound to backfire at some point so the simplest solution — the lowest common denominator — is actually the best. We may also alter the upgrade instructions to make reference to setting your theme to Hive (if possible) prior to logging out of your previous installation to smooth the upgrade process.


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

Board footer

Powered by FluxBB