Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#11 2020-12-15 12:09:13
- etc
- Developer
- Registered: 2010-11-11
- Posts: 4,076
- Website
Re: Testers needed: PHP 8 compatibility
It would be ace to test 4.8.5 before release, to avoid testing 4.8.6 :-)
Offline
#12 2020-12-15 18:59:52
- bici
- Member
- From: vancouver
- Registered: 2004-02-24
- Posts: 1,789
- Website
Re: Testers needed: PHP 8 compatibility
why do i get this error?
Cannot Upload
The symlink “textpattern.js” could not be transferred because following symlinks is not supported.
…. texted postive
Offline
#13 2020-12-15 21:24:01
- bici
- Member
- From: vancouver
- Registered: 2004-02-24
- Posts: 1,789
- Website
Offline
#14 2020-12-15 22:17:25
- jakob
- Admin
- From: Germany
- Registered: 2005-01-20
- Posts: 4,035
- Website
Re: Testers needed: PHP 8 compatibility
bici wrote #327535:
To be clear I downloaded and tried to install
github.com/textpattern/textpattern/archive/4.8.5.zip
I’m guessing it’s the symlink in the /sites
folder (see that folder in GitHub) that’s the reason. If you’re not doing a multisite installation, you don’t need that folder.
If I recall correctly, symlinks a) don’t zip well and don’t transfer via FTP (you need SFTP or SSH). In the public releases, that folder is I believe only in the tar.gz archive.
TXP Builders – finely-crafted code, design and txp
Offline
#15 2020-12-18 12:31:08
- gaekwad
- Admin
- From: People's Republic of Cornwall
- Registered: 2005-11-19
- Posts: 3,349
Re: Testers needed: PHP 8 compatibility
Topic split to forum.textpattern.com/viewtopic.php?pid=327544#p327544
Last edited by gaekwad (2020-12-18 12:33:38)
Offline
#16 2020-12-31 02:22:47
- Pat64
- Plugin Author
- From: France
- Registered: 2005-12-12
- Posts: 1,453
- Website
Re: Testers needed: PHP 8 compatibility
Because the new 4.8.5 version seems to be imminent, here is the error messages I got after an upgrade to the dev version (https://github.com/textpattern/textpattern/tree/5b579f7aa1589b12573d542e44e30309ace8f42e) with PHP 8 on a server in production:
Fatal error: Uncaught Error: Undefined constant "MYSQLI_CLIENT_FOUND_ROWS" in /home/{hidden}/public_html/textpattern/lib/txplib_db.php:169 Stack trace: #0 /home/{hidden}/public_html/textpattern/lib/txplib_db.php(283): DB->__construct() #1 /home/{hidden}/public_html/textpattern/index.php(63): include('/home/{hidden}/...') #2 {main} thrown in /home/{hidden}/public_html/textpattern/lib/txplib_db.php on line 169
Patrick.
Github | CodePen | Codier | Simplr theme | Wait Me: a maintenance theme | [\a mi.ni.ma]: a “Low Tech” simple Blog theme.
Offline
#17 2020-12-31 10:33:18
- Bloke
- Developer
- From: Leeds, UK
- Registered: 2006-01-29
- Posts: 9,993
- Website
Re: Testers needed: PHP 8 compatibility
Pat64 wrote #327906:
Undefined constant “MYSQLI_CLIENT_FOUND_ROWS”
Weird. According to the docs on mysql_real_connect that constant is still valid as far as PHP 7 is concerned. No idea about PHP 8, but it’d be odd for them to axe it without at least mentioning it’s been deprecated in the PHP 7 docs.
What does your PHP info report? If you can’t get into Admin>Diagnostics>PHP Configuration then perhaps write an executable test file in the root of your server:
<?php
echo phpinfo();
and run that in your browser. Post anything relevant please (PM me if you don’t want to post it publicly). I’m just looking for anything mysqli-related that may indicate what’s going on here. Thanks.
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
#18 2020-12-31 11:20:12
- gaekwad
- Admin
- From: People's Republic of Cornwall
- Registered: 2005-11-19
- Posts: 3,349
Re: Testers needed: PHP 8 compatibility
Further reading: p319953
Could be a hosting-side issue based on that link above.
Offline
#19 2020-12-31 11:23:20
- Bloke
- Developer
- From: Leeds, UK
- Registered: 2006-01-29
- Posts: 9,993
- Website
Re: Testers needed: PHP 8 compatibility
Nice catch thanks. I thought this smelled familiar.
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
#20 2020-12-31 11:34:55
- Pat64
- Plugin Author
- From: France
- Registered: 2005-12-12
- Posts: 1,453
- Website
Re: Testers needed: PHP 8 compatibility
Thank you Stef. E-mail send.
Patrick.
Github | CodePen | Codier | Simplr theme | Wait Me: a maintenance theme | [\a mi.ni.ma]: a “Low Tech” simple Blog theme.
Offline