Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2017-09-07 11:09:48

RedFox
Member
From: Netherlands
Registered: 2005-03-25
Posts: 805
Website

From 4.5.7 to 4.6 ... language and plugins misbehaviour

The site does work. But … I can’t get the admin language from nl to en. That’s necessary because some plugins only use en text. And some plugins don’t behave as normal. E.g. adi_notes can’t be toggled to edit mode. Preflight check: “Some PHP features are disabled: pcntl_exec” … !? What to do?

BTW … I’ve updated PHP on the server to 7.0 … 7.1 is recommended but gives errors. Maybe Textpattern and PHP 7.0 don’t like each other that well?

Last edited by RedFox (2017-09-07 11:50:29)

Offline

#2 2017-09-07 12:16:04

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,012
Website GitHub Mastodon Twitter

Re: From 4.5.7 to 4.6 ... language and plugins misbehaviour

RedFox wrote #306893:

BTW … I’ve updated PHP on the server to 7.0 … 7.1 is recommended but gives errors. Maybe Textpattern and PHP 7.0 don’t like each other that well?

Not sure about your other questions but we are running the neme.org site on PHP version: 7.0.22 without any problems.


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#3 2017-09-08 13:02:05

RedFox
Member
From: Netherlands
Registered: 2005-03-25
Posts: 805
Website

Re: From 4.5.7 to 4.6 ... language and plugins misbehaviour

With PHP 7.1 enabled I get this error:

Fatal error: Uncaught Error: Call to undefined function mysqli_init() in /home/deb56005/domains/centrumvoorchinesegeneeswijzen.nl/public_html/textpattern/lib/txplib_db.php:201 Stack trace: #0 /home/deb56005/domains/centrumvoorchinesegeneeswijzen.nl/public_html/textpattern/lib/txplib_db.php(245): DB->__construct() #1 /home/deb56005/domains/centrumvoorchinesegeneeswijzen.nl/public_html/textpattern/publish.php(46): include_once(‘/home/deb56005/…’) #2 /home/deb56005/domains/centrumvoorchinesegeneeswijzen.nl/public_html/index.php(104): include(‘/home/deb56005/…’) #3 {main} thrown in /home/deb56005/domains/centrumvoorchinesegeneeswijzen.nl/public_html/textpattern/lib/txplib_db.php on line 201

BTW … locally I’m working with the same setup … and there is no error.

Last edited by RedFox (2017-09-08 13:04:34)

Offline

#4 2017-09-08 13:31:06

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

Re: From 4.5.7 to 4.6 ... language and plugins misbehaviour

RedFox wrote #306912:

Call to undefined function mysqli_init()

Presumably then, whoever built that version of PHP on the server has disabled the mysqli extension upon which Textpattern (currently) relies. Talk to the hoster.


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

#5 2017-09-08 16:01:59

RedFox
Member
From: Netherlands
Registered: 2005-03-25
Posts: 805
Website

Re: From 4.5.7 to 4.6 ... language and plugins misbehaviour

Thanks @Bloke … on the admin of the host I could check “nd_mysqli” in the prefs of PHP 7.1 and guess what? No error … :)

I do get some remarks when Txp is in test mode … but I think it’s better to let it go … for now … :o

Offline

#6 2017-09-08 16:12:09

RedFox
Member
From: Netherlands
Registered: 2005-03-25
Posts: 805
Website

Re: From 4.5.7 to 4.6 ... language and plugins misbehaviour

BTW … for some reason this morning I was able to toggle the language settings in Txp 4.6.2 … !?
Maybe some very, very big server latency … ;-)

Offline

Board footer

Powered by FluxBB