Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2016-10-05 09:07:05

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

Feedback to: Textpattern CMS 4.6.1 released

Please provide any feedback related to Textpattern 4.6.1 released.


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

#2 2016-10-05 10:00:41

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

Re: Feedback to: Textpattern CMS 4.6.1 released

YOU GUYS.

Thank you Stef, Phil, Oleg, and makss!

Offline

#3 2016-10-05 12:03:01

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 4,719
Website

Re: Feedback to: Textpattern CMS 4.6.1 released

Thanks from me too :-)


TXP Builders – finely-crafted code, design and txp

Offline

#4 2016-10-05 12:15:00

NicolasGraph
Plugin Author
From: France
Registered: 2008-07-24
Posts: 860
Website

Re: Feedback to: Textpattern CMS 4.6.1 released

jakob wrote #301977:

Thanks from me too :-)

+1


Nicolas
Follow me on Twitter and GitHub!
Multiple edits are usually to correct my frenglish…

Offline

#5 2016-10-05 14:00:04

GugUser
Member
From: Quito (Ecuador)
Registered: 2007-12-16
Posts: 1,473

Re: Feedback to: Textpattern CMS 4.6.1 released

Is overwhelming that the development continues so fast. Thank you!

Offline

#6 2016-10-05 14:05:41

maverick
Member
From: Southeastern Michigan, USA
Registered: 2005-01-14
Posts: 976
Website

Re: Feedback to: Textpattern CMS 4.6.1 released

Awesome Sauce! :P

Thank you guys!

Offline

#7 2016-10-05 17:05:20

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

Re: Feedback to: Textpattern CMS 4.6.1 released

Offline

#8 2016-10-05 17:48:26

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

Re: Feedback to: Textpattern CMS 4.6.1 released

I spoke too soon… I’m updating a few of my sites to 4.6.1 and running into the language roadblock… what is the official solution?

Offline

#9 2016-10-05 17:52:47

candyman
Member
From: Italy
Registered: 2006-08-08
Posts: 684

Re: Feedback to: Textpattern CMS 4.6.1 released

Glad to see the cat back home.

Offline

#10 2016-10-05 17:56:19

philwareham
Core designer
From: Haslemere, Surrey, UK
Registered: 2009-06-11
Posts: 3,564
Website GitHub Mastodon

Re: Feedback to: Textpattern CMS 4.6.1 released

I’m also getting blocked at the languages panel. Strange.

Offline

#11 2016-10-05 21:06:29

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

Re: Feedback to: Textpattern CMS 4.6.1 released

Crap, I’m not getting blocked at the Languages panel, but my version string isn’t being updated. I swear I checked that. Must be going senile.

From what I can tell in update/_update.php, since there’s no entry for 4.6.1 in the first array (there’s no _to_4.6.1.php file: it’s not necessary) the DB is comparing the current version of your install (4.6.0) with the “latest” version in that array (4.6.0) and shrugging its shoulders, bailing out of the update. Thus it never gets to the part that updates the db version string at the end of the script.

Anyone else seeing this? If so we’ll need to tweak the update script and bundle up a 4.6.2 sometime soon.

Functionally in this case, it’s not exactly a deal breaker when updating from 4.6.0. Nothing bad will happen as there’s no database manipulation to do: all changes in this release are file-based. The only fallout is:

  1. Any custom post-install scripts won’t run.
  2. Your DB version string in the txp_prefs table remains at 4.6.0. (test with select * from txp_prefs where name = 'version';. You can manually alter this with update txp_prefs set val='4.6.1' where name = 'version'; if you wish).
  3. You won’t land on the Languages panel after install.

That last point is interesting because anyone who is getting stuck on the Languages panel is probably upgrading from a version prior to 4.6.0. But that appears to be broken in 4.6.1 due to this line of code in txplib_db.php:

$trace->stop("[Rows: ".intval(@mysqli_num_rows($result))."]");

It seems that, despite asking it to mask errors, PHP dutifully does so, but still triggers an exception which our update script catches and bails out immediately after the first ALTER TABLE command in _to_4.6.0.php. You can prove this by removing the ‘@’ sign in the above line of code, setting your DB version to 4.5.7 and logging in. You get an ‘internal error’ because the result set from an ALTER statement contains no rows: it returns true/false.

Bugger.

One thing you can do to make the upgrade go more smoothly is to switch production status to Live prior to upgrading.

Looks like we have to unpick this mess. And there was me thinking we’d got the upgrade woes licked. Hold fire everyone. Sorry.


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

#12 2016-10-05 21:24:54

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

Re: Feedback to: Textpattern CMS 4.6.1 released

I posted the blog post link to Hacker News and it’s currently front page at #10.

This might generate a bunch of incoming traffic to textpattern.com

So, uhh, sorry if the subsequent traffic kills the server.

Edit: down to #27, will drop off the front page soon, as you were.

Last edited by gaekwad (2016-10-05 21:28:33)

Offline

Board footer

Powered by FluxBB