Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#73 2014-09-29 02:57:29

kuopassa
Plugin Author
From: Porvoo, Finland
Registered: 2008-12-03
Posts: 231
Website

Re: Feedback to: Textpattern CMS 4.5.7 released

Would be easiest just to disable Textile for that part and write it in HTML. :-)

Offline

#74 2014-09-29 08:12:08

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

Re: Feedback to: Textpattern CMS 4.5.7 released

phiw13 wrote #284290:

it does fail when adding additional formatting (like kuopassa did)

Well spotted. I didn’t notice the extra bold wrapper, sorry. In that case, yes, it’s going to get utterly confused and the workarounds aren’t pretty. kuopassa’s latest suggestion has merit. Or maybe to save a bit of typing, a hybrid of HTML and Textile:

<strong>{_Vancouver_}-based bici has an avatar.</strong>

or

*<em>Vancouver</em>-based bici has an avatar.*

There are simply some combinations that Textile can’t unpick in an unambiguous manner so the parser makes a best guess and gets it wrong.


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

#75 2014-09-29 22:30:52

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Feedback to: Textpattern CMS 4.5.7 released

Workaround ;)

Vancouver-based bici has an avatar.

Edit: if you quote this the brackets disappear…

[*_Vancouver_*]-[*based bici has an avatar.*]

I think Stef’s way is better ;)

Last edited by els (2014-09-29 22:34:43)

Offline

#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,306

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

#78 2014-11-16 19:13:07

whocarez
Plugin Author
From: Germany/Ukraine
Registered: 2007-10-08
Posts: 305
Website GitHub Twitter

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

#79 2014-11-16 21:08:23

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

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

#80 2014-11-17 13:19:45

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

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.

Txp Builders – finely-crafted code, design and Txp

Offline

#81 2014-11-20 02:44:53

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

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

#82 2014-11-20 10:34:57

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

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

#83 2014-11-20 10:42:27

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,328
Website Mastodon

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

#84 2014-11-21 07:01:52

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,328
Website Mastodon

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

Board footer

Powered by FluxBB