Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
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
Re: Feedback to: Textpattern CMS 4.6.1 released
YOU GUYS.
Thank you Stef, Phil, Oleg, and makss!
Offline
Re: Feedback to: Textpattern CMS 4.6.1 released
Thanks from me too :-)
TXP Builders – finely-crafted code, design and txp
Offline
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
Re: Feedback to: Textpattern CMS 4.6.1 released
Awesome Sauce! :P
Thank you guys!
Offline
Re: Feedback to: Textpattern CMS 4.6.1 released
Offline
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
Re: Feedback to: Textpattern CMS 4.6.1 released
I’m also getting blocked at the languages panel. Strange.
Offline
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:
- Any custom post-install scripts won’t run.
- Your DB version string in the
txp_prefs
table remains at 4.6.0. (test withselect * from txp_prefs where name = 'version';
. You can manually alter this withupdate txp_prefs set val='4.6.1' where name = 'version';
if you wish). - 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
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