Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#76 2014-10-31 19:16:10
- Steadywind
- New Member
- Registered: 2014-05-23
- Posts: 5
Re: Feedback to: Textpattern CMS 4.5.7 released
Just did an install of 4.5.7 for a new site and loaded three plugins. On the Plugins page, under the Active tab, the ‘yes/no’ to click to activate is missing. (Does the same in Firefox, Chrome, Safari) This happened last week on a site re-do and couldn’t get the plugins to activate, so reverted back to 4.5.5 (which worked perfectly). Both sites are hosted on Bluehost, and both are running php 3.5.8.2. Has anybody else experienced this and/or found the problem or solution. Thanks.
Offline
#77 2014-10-31 22:10:34
- uli
- Moderator

- From: Cologne
- Registered: 2006-08-15
- Posts: 4,316
Re: Feedback to: Textpattern CMS 4.5.7 released
Hi Steadywind, and welcome to the forum!
I think I remember this had to do with the old textpattern.js still lurking in the cache. Flush the cache or do a forced reload of the page, and everything should be normal again.
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
Re: Feedback to: Textpattern CMS 4.5.7 released
There is a small problem in the installation process with a database software other than mysql.
Textpattern-Version: 4.5.7 (r5900)
[…]
PHP-Version: 5.4.34-0+deb7u1
GD Graphics Library: 2.0.36; Unterstützte Grafikformate: GIF, JPG, PNG.
Server TZ: Europe/Berlin
Lokale Serverzeit: 2014-11-16 20:03:29
Sommerzeit: 0
Sommer-/Winterzeit automatisch umstellen?: 0
Zeitzone: (+3600)
MySQL: 10.0.14-MariaDB-1~wheezy-log
Regionale Einstellungen: de_DE.UTF-8
Server: nginx/1.6.2
PHP Server API: fpm-fcgi
RFC-2616-Header: 0
Betriebssystem des Servers: Linux 3.2.41-042stab092.3
Admin-Oberfläche: hive 4.5.7
The version check in txpsql.php for mysql version greater than 5 fails and textpattern assumes mysql 4. So the installation fails. A quick workaround was to change $version like this:
$version = mysql_get_server_info();
$version = "50.0.14-MariaDB-1~wheezy-log";
but one of the next versions of textpattern should consider this.
Last edited by whocarez (2014-11-16 19:14:39)
Offline
Re: Feedback to: Textpattern CMS 4.5.7 released
Can be fixed by replacing:
// Use "ENGINE" if version of MySQL > (4.0.18 or 4.1.2).
$tabletype = (intval($version[0]) >= 5 || preg_match('#^4\.(0\.[2-9]|(1[89]))|(1\.[2-9])#', $version))
? " ENGINE=MyISAM "
: " TYPE=MyISAM ";
// On 4.1 or greater use UTF-8 tables.
if (isset($dbcharset) && (intval($version[0]) >= 5 || preg_match('#^4\.[1-9]#', $version))) {
with
$tabletype = (version_compare($version, 4.1.2) >=0) ? ' ENGINE=MyISAM ' : ' TYPE=MyISAM ';
if (isset($dbcharset)) {
since we don’t support MySQL versions older than 4.1 anyway.
Offline
Re: Feedback to: Textpattern CMS 4.5.7 released
whocarez/ruud
Thanks for the analysis and patch. Fixed. May back-port this to 4.5.x if another release is necessary. Please nudge me if I forget.
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.5.7 released
I’m not sure if this is the best thread to make note of this, but it’s a place to start.
I noticed that Dreamhost’s 1-Click Install of Textpattern is at 4.5.5.
I usually install svn (or now git), so it doesn’t effect my sites. However, it might be important PR-wise for Textpattern to be up-to-date. Is that something that would best be handled by an official rep to let Dreamhost know?
Last edited by maverick (2014-11-26 19:11:31)
Offline
Re: Feedback to: Textpattern CMS 4.5.7 released
maverick wrote #285951:
However, it might be important PR-wise for Textpattern to be up-to-date. Is that something that would best be handled by an official rep to let Dreamhost know?
A technical support ticket usually gets this kind of thing sorted out – unless it’s Plesk/APS Standard, in which case all bets are off.
Offline
Re: Feedback to: Textpattern CMS 4.5.7 released
gaekwad wrote #285964:
A technical support ticket usually gets this kind of thing sorted out
Ticket opened, waiting for response.
Offline
Re: Feedback to: Textpattern CMS 4.5.7 released
2014-11-20 18:08 GMT+01:00 DreamHost Customer Support Team <support@dreamhost.com>:
We definitely try to keep up with the releases.
At this time we do not have an ETA.
Sorry about any problems this may have caused you.
Offline
Re: Feedback to: Textpattern CMS 4.5.7 released
Thanks guys. You are top-notch. In the future I can drop a support ticket if I see Textpattern CMS fall behind.
Offline
Re: Feedback to: Textpattern CMS 4.5.7 released
Late to the party, but hey, I’ll stay after everyone leaves and help clean up.
Upgraded one of my sites from 4.4.1 to 4.5.7, all went well, all is well, except:
Some Textpattern files have been modified:
/home/elmo/txptag.com/textpattern/css.php,
/home/elmo/txptag.com/textpattern/include/import/import_mt.php,
/home/elmo/txptag.com/textpattern/lib/taglib.php,
/home/elmo/txptag.com/textpattern/lib/txplib_wrapper.php,
/home/elmo/txptag.com/textpattern/publish/log.php,
/home/elmo/txptag.com/textpattern/publish/search.php,
/home/elmo/txptag.com/textpattern/update/_to_4.0.8.php ?
These files are from the 4.5.7 zip file on the main site, haven’t changed a thing.
We Love TXP . TXP Themes . TXP Tags . TXP Planet . TXP Make
Offline
#87 2015-07-02 12:07:57
- uli
- Moderator

- From: Cologne
- Registered: 2006-08-15
- Posts: 4,316
Re: Feedback to: Textpattern CMS 4.5.7 released
Bert, try syncing again, these will go away.
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
Re: Feedback to: Textpattern CMS 4.5.7 released
uli wrote #292490:
Bert, try syncing again, these will go away.
I synced one at a time, hit refresh on the Diagnostics tab and saw them go away one by one. This is strange, cause I get the same file names on my local Textpattern 4.5.7 install. I know FTP or in my case SFTP at times doesn’t sync up correctly, but on my local server, it’s Samba handling the file transfer to the local web server.
Thanks uli – All checks passed!
We Love TXP . TXP Themes . TXP Tags . TXP Planet . TXP Make
Offline