Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2024-08-27 00:44:55

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 3,138
Website

Re: Feedback: Textpattern CMS 4.9.0 beta.1 released

bici wrote #337725:

Hope this correct thread to post in. I am currently running Textpattern version: 4.8.8 on PHP version: 7.4.33.

In anticipation of the forthcoming Update to 4.9.0 , is it safe to simply bump my version of PHP to 8.3. Or will doing so bork my installation and website?

It won’t destroy your website, but PHP 8.3 is definitely not recommended for 4.8.8. There are errors in Textile, some issues with tag, iirc.

You can bump your PHP version to 8.1, that is certain to work well with TXP 4.8 (and 4.9.0 works well with that version too).


Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern

Offline

#14 2024-08-27 06:11:06

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 3,138
Website

Re: Feedback: Textpattern CMS 4.9.0 beta.1 released

Preferences panel

There are differences and discrepancies between different installs

  • a default (new) install with TXP-4.9.0beta, or TXP-dev
  • upgrading from TXP 4.8.x to 4.9.0-beta
  • long-term 4.9-dev install.

1/ on updating from 4.8.x or a fresh install:
the custom fields panel gains a pattern attribute for each input field. It prevents the use of some reserved keywords (field names), there is an additional back-end validation on Saving. A long running 4.9-dev install does not have those available (but when saving, the same validation is used)
2/ a new install with TXP4.9 beta has a number of input type=number instead of input type=text. Those are not available to a site that updates from 4.8 or long running 4.9 installs. Exception: if the field is new to 4.9, such as the advanced email settings, the upgraded install uses the input type=number.

Would it be possible to synchronise the various types of installs to match the default new install?


Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern

Offline

#15 2024-08-27 11:42:52

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

Re: Feedback: Textpattern CMS 4.9.0 beta.1 released

phiw13 wrote #337728:

It won’t destroy your website, but PHP 8.3 is definitely not recommended for 4.8.8. There are errors in Textile, some issues with tag, iirc.

You can bump your PHP version to 8.1, that is certain to work well with TXP 4.8 (and 4.9.0 works well with that version too).

+1 to this. PHP 8.2 is mostly OK, but we didn’t officially support it in 4.8 releases. Given that PHP 8.1 is still supported, albeit security support, that’s the ‘safest’ thing to do.

Offline

#16 2024-08-27 11:47:05

Pat64
Plugin Author
From: France
Registered: 2005-12-12
Posts: 1,626
GitHub Twitter

Re: Feedback: Textpattern CMS 4.9.0 beta.1 released

Thank you very much, Stef!

The web provider does not enable MySQLi by default. Enabling the corresponding feature allows TXP to work perfectly with PHP 8.3.

You are a master!


Patrick.

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

Offline

#17 2024-10-10 16:03:00

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

Re: Feedback: Textpattern CMS 4.9.0 beta.1 released

Sanity check request before I file a bug…

I’ve installed 4.9.0 beta 1 on a fresh Hetzner hosting account, and the textpattern/setup directory exists after install. The diagnostics shows ‘All checks passed’, where previously it flagged the textpattern/setup directory.

Single user on a shared server (I know, this is not like me at all…), permissions on the textpattern/setup directory are 755 at upload time.

Has the diagnostics changed to ignore a present textpattern/setup directory, or should I be filing a bug?

Thank you.

Offline

#18 2024-10-10 16:10:47

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

Re: Feedback: Textpattern CMS 4.9.0 beta.1 released

gaekwad wrote #337989:

Has the diagnostics changed to ignore a present textpattern/setup directory, or should I be filing a bug?

Yes. It ignores the setup dir check if the release is flagged as ‘dev’. We don’t flick the ‘final’ flag over until actual release, so betas will ignore the setup dir and checksums etc to avoid unnecessary noise.

EDIT: Not sure if that’s the right thing to do given that this is technically a ‘release’. Maybe we should introduce a txp_is_beta flag too and conditionally switch some diagnostics stuff on that rather than txp_is_dev?

Last edited by Bloke (2024-10-10 16:18:32)


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

#19 2024-10-10 16:19:17

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

Re: Feedback: Textpattern CMS 4.9.0 beta.1 released

Bloke wrote #337990:

EDIT: Not sure if that’s the right thing to do given that this is technically a ‘release’. Maybe we should introduce a txp_is_beta flag too and conditionally switch diagnostics stuff on that rather than txp_is_dev?

That’s a good angle. I’m using beta 1 in production, and there’s a fine line to tread between having people actually use it and keeping the security aspect on lock.

No skin in the game here, I can delete easily enough, but that’s a good idea.

Offline

#20 2024-10-10 16:22:00

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

Re: Feedback: Textpattern CMS 4.9.0 beta.1 released

/**
 * Type        | txp_is_dev | txp_is_beta
 * --------------------------------------
 * development |    true    |    false
 * beta        |    false   |    true
 * release     |    false   |    false
 */

??


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

#21 2024-10-10 16:23:46

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

Re: Feedback: Textpattern CMS 4.9.0 beta.1 released

Thanks, Bloke – that looks very reasonable. I’ll open an RFC in the other place so we can keep track.

Edit: github.com/textpattern/textpattern/issues/1946

Last edited by gaekwad (2024-10-10 16:29:40)

Offline

Board footer

Powered by FluxBB