Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: Feedback to: Textpattern CMS 4.6.0 released
Lovely work and thank you!! After updating one site I get this notice:
Theme classic (classic_theme) failed to load properly from file...
…then nothing happens which isn’t great for new users. Veterans will know to refresh the page, and the login page reappears.
After that, I get the languages tab and further warnings:
User_Error "Duplicate entry '1-pane_article_textfilter_help_visible-jstubbs' for key 'prefs_idx'"
in /home/..../webapps/..../textpattern/lib/txplib_db.php at line 405.
And:
textpattern/lib/txplib_misc.php:1676 adminErrorHandler()
updateErrorHandler()
textpattern/lib/txplib_db.php:405 trigger_error()
textpattern/lib/txplib_db.php:455 safe_query()
textpattern/update/_to_4.6.0.php:30 safe_update()
textpattern/update/_update.php:84 include()
textpattern/index.php:180 include()
Not sure what those errors are, have to investigate a bit further!
Edit: Mmm, can’t go to any other admin tab now!
Offline
Re: Feedback to: Textpattern CMS 4.6.0 released
Yep can’t do anything and the corresponding line in txp_db.php isn’t so informative…
if ($result === false) {
trigger_error(mysqli_error($DB->link), E_USER_ERROR);
}
Offline
Re: Feedback to: Textpattern CMS 4.6.0 released
OK, so Destry’s problem and fix seem to do the trick so far..
Offline
#19 2016-09-12 16:21:11
- phuture303
- Member
- Registered: 2008-09-14
- Posts: 127
Re: Feedback to: Textpattern CMS 4.6.0 released
Hey there, thank you so much for your work, will try to update some sites in a few days!
Just had a look online at the demo and referring to my question about custom_fields … there are still only ten text-inputs and no radios, no selects etc. in the final 4.6?
Offline
Re: Feedback to: Textpattern CMS 4.6.0 released
phuture303 wrote #301380:
Just had a look online at the demo and referring to my question about custom_fields … there are still only ten text-inputs and no radios, no selects etc. in the final 4.6?
Hi. That’s planned for a later release, not 4.6.
Offline
#21 2016-09-12 18:50:08
- phuture303
- Member
- Registered: 2008-09-14
- Posts: 127
Re: Feedback to: Textpattern CMS 4.6.0 released
Offline
Re: Feedback to: Textpattern CMS 4.6.0 released
Fantastic work everyone: a big thank you to all involved.
Offline
#23 2016-09-13 04:05:38
- GugUser
- Member

- From: Quito (Ecuador)
- Registered: 2007-12-16
- Posts: 1,477
Re: Feedback to: Textpattern CMS 4.6.0 released
I think that is no longer valid System requirements.
Offline
Re: Feedback to: Textpattern CMS 4.6.0 released
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
Re: Feedback to: Textpattern CMS 4.6.0 released
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: Feedback to: Textpattern CMS 4.6.0 released
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
Re: Feedback to: Textpattern CMS 4.6.0 released
Thanks for all the work !
Offline
Re: Feedback to: Textpattern CMS 4.6.0 released
Thank you! Thank you!
Did something change about the way $variable works? I have the following code working under 4.5.7, but it throws an “undefined index” error on 4.6:
<txp:php>
global $variable;
if ($variable['my_variable']) {
$variable['my_variable'] = ' '.$variable['my_variable'];
} else {
$variable['my_variable'] = '';
}
</txp:php>
philwareham wrote #301382:
Hi. That’s planned for a later release, not 4.6.
Is the “ghost” Robert? What happened?
Offline
Re: Feedback to: Textpattern CMS 4.6.0 released
johnstephens wrote #301456:
Is the “ghost” Robert? What happened?
Ha! That is where we ported the issues across from Google Code, it made all old commenters a ghost for some reason.
Offline
Re: Feedback to: Textpattern CMS 4.6.0 released
johnstephens wrote #301456:
Did something change about the way
$variableworks?
Don’t think so, but our warning levels changed so your PHP version may be throwing the warning now, when it didn’t (but should have) under 4.5.7. The error-free way to check if a variable exists in PHP is either:
if (isset($variable['my_variable'])) { ... }
or:
if (!empty($variable['my_variable'])) { ... }
Though be careful of the latter if you expect values that can be evaluated as empty, such as 0, false, null, '', etc.
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