Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#11 2020-11-30 16:20:33

michaelkpate
Moderator
From: Avon Park, FL
Registered: 2004-02-24
Posts: 1,341
Website

Re: Feedback for: Textpattern CMS 4.8.4 released: PHP 8.0 compatible

Congrats to the Dev Team for moving us into the future.

P.S. And for outpacing the competition.

Offline

#12 2020-12-01 03:13:15

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 2,233
Website

Re: Feedback for: Textpattern CMS 4.8.4 released: PHP 8.0 compatible

philwareham wrote #327165:

I’ve just noted this in the repo, for future upgrades. Thanks all.

Thanks for that. How about textpattern/plugins? The contents is regenerated on first login (all or only active plugins? not sure) but the user could have deleted a plugin, but left the Delete from disk too checkbox unchecked, to keep the plugin for later use.


Where is that emoji for a solar powered submarine when you need it ?

Offline

#13 2020-12-02 09:51:18

zero
Member
From: Lancashire
Registered: 2004-04-19
Posts: 1,413
Website

Re: Feedback for: Textpattern CMS 4.8.4 released: PHP 8.0 compatible

For one site, I uploaded just index.php, css.php and the textpattern folder and all seems fine. Unusually, there is now an In use pill next to just one form. The only other place In use is to be found is where I’d expect it, in Themes.


Wondrous Healing Wondrous ways to a healthy old age
Safe Reiki Harmless natural healing.
Gud One Blog

Offline

#14 2020-12-02 09:57:36

gaekwad
Admin
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 3,350

Re: Feedback for: Textpattern CMS 4.8.4 released: PHP 8.0 compatible

michaelkpate wrote #327174:

P.S. And for outpacing the competition.

In fairness, they have a lot more code to check.

Offline

#15 2020-12-02 14:54:21

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 9,996
Website

Re: Feedback for: Textpattern CMS 4.8.4 released: PHP 8.0 compatible

zero wrote #327196:

there is now an In use pill next to just one form.

If you’ve assigned that form to an article (as an override form) then that’s why you’ll see the notification. It’s just an indicator to warn that if you try to delete the form, the article will lose its assignment.

But note that you can now choose to alter the Override from the Forms panel and reassign any selected assets that were using it to a different form. It only affects articles that were assigned to the selected form(s).

Side note: forgot to list that feature in HISTORY.txt. We should probably add it for completeness.

Last edited by Bloke (2020-12-02 14:55:12)


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

Online

#16 2020-12-02 17:21:15

zero
Member
From: Lancashire
Registered: 2004-04-19
Posts: 1,413
Website

Re: Feedback for: Textpattern CMS 4.8.4 released: PHP 8.0 compatible

Bloke wrote #327205:

If you’ve assigned that form to an article (as an override form) then that’s why you’ll see the notification. It’s just an indicator to warn that if you try to delete the form, the article will lose its assignment.

But note that you can now choose to alter the Override from the Forms panel and reassign any selected assets that were using it to a different form. It only affects articles that were assigned to the selected form(s).

Aah! That explains it. Thanks Stef, nice to know. Another great release, btw. Thanks, team txp!


Wondrous Healing Wondrous ways to a healthy old age
Safe Reiki Harmless natural healing.
Gud One Blog

Offline

#17 2020-12-07 08:14:52

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 8,469
Website

Re: Feedback for: Textpattern CMS 4.8.4 released: PHP 8.0 compatible

When going through the process of clean installing this version on DH, txp asked me to copy paste the following on config.php file:

<?php
$txpcfg['db'] = 'db';
$txpcfg['user'] = 'user';
$txpcfg['pass'] = 'pass';
$txpcfg['host'] = 'host';
$txpcfg['table_prefix'] = 'c_';
$txpcfg['txpath'] = '/path/to/textpattern';
$txpcfg['dbcharset'] = 'utf8mb4';
define('PROTOCOL', 'https://');

The closing php tag (?>) was missing.


Yiannis
——————————
neme.org | hblack.net | State Machines | NeMe @ github
I do my best editing after I click on the submit button.

Offline

#18 2020-12-07 08:19:34

gaekwad
Admin
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 3,350

Re: Feedback for: Textpattern CMS 4.8.4 released: PHP 8.0 compatible

I also spotted the omitted ?>. It validates on a PHP linter, and it works, so I didn’t give it further thought. I assumed there was a good reason for it, though I don’t know what.

Offline

#19 2020-12-07 08:27:51

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 9,996
Website

Re: Feedback for: Textpattern CMS 4.8.4 released: PHP 8.0 compatible

colak wrote #327311:

The closing php tag (?>) was missing.

By design. When we tell people to add stuff to the end of the config.php file, we don’t need to say “before the closing ?> mark”, which is less confusing overall. And with the ability to add CSP stuff to the config file from 4.9.0, more people may be doing so.

They’re optional in PHP since a long time ago.

Last edited by Bloke (2020-12-07 08:55:37)


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

Online

#20 2020-12-07 09:26:36

Pat64
Plugin Author
From: France
Registered: 2005-12-12
Posts: 1,453
Website

Re: Feedback for: Textpattern CMS 4.8.4 released: PHP 8.0 compatible

… In order to prevent errors if a line break is present after the closing ?> tag.


Patrick.

Github | CodePen | Codier | Simplr theme | Wait Me: a maintenance theme | [\a mi.ni.ma]: a “Low Tech” simple Blog theme.

Offline

Board footer

Powered by FluxBB