Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#11 2017-02-06 19:07:51
- philwareham
- Core designer
- From: Farnham, Surrey, UK
- Registered: 2009-06-11
- Posts: 3,209
- Website
Re: Feedback to: Textpattern CMS 4.6.2 released
raminrahimi wrote #303856:
this version used php7 ? because it looks faster for me.
Textpattern 4.6 is PHP7 compatible, so yes if you use PHP7 on your server there will be a nice speed increase over PHP5.x
Offline
#12 2017-06-05 12:21:30
- NicolasGraph
- Plugin Author
- From: France
- Registered: 2008-07-24
- Posts: 860
- Website
Re: Feedback to: Textpattern CMS 4.6.2 released
Offline
#13 2017-11-06 09:46:03
- CeBe
- Plugin Author
- From: Caen - Fr
- Registered: 2010-06-25
- Posts: 344
- Website
Re: Feedback to: Textpattern CMS 4.6.2 released
Back to this old bug : there is the same a few lines above, checking Mysql version to decide whether to “SET NAMES” or not. Is there a reason why it has not been fixed?
Offline
#14 2017-11-06 13:26:14
- Bloke
- Developer
- From: Leeds, UK
- Registered: 2006-01-29
- Posts: 8,810
- Website
Re: Feedback to: Textpattern CMS 4.6.2 released
CeBe wrote #307651:
Back to this old bug : there is the same a few lines above, checking Mysql version to decide whether to “SET NAMES” or not. Is there a reason why it has not been fixed?
Seems to be fixed in 4.7.0-dev. Guess it got missed in 4.6.2, oops. You can patch it:
if ($this->charset && (version_compare($version, '5') >= 0 || preg_match('#^4\.[1-9]#', $version))) {
Sorry about that.
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
#15 2018-03-13 15:45:03
- jayrope
- Plugin Author
- From: Berlin
- Registered: 2006-07-06
- Posts: 640
- Website
Re: Feedback to: Textpattern CMS 4.6.2 released
I can confirm above patch by Bloke works on TXP 4.6.2, the entry in txplib_db.php to be replaced is on line 217.
a hole turned upside down is a dome, though only when there’s gravity.
Offline