Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#161 2019-12-30 17:46:00

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 7,738
Website

Re: Textpattern CMS demo site

gaekwad wrote #320763:

Textpattern 4.8.0-dev runs mostly OK on PHP 8.0.0-dev. There are some errors thrown, and there’s some debugging to do to find out why, but here’s a screenshot of the Diagnostics from Textpattern 4.8.0-dev on PHP 8.0.0-dev and MySQL (Percona-flavoured) 8.0: …

Hi Pete,
The errors seem to be appearing only because of the folder permissions. Are you sure they have the right ones?


Yiannis
——————————
neme.org | hblack.net | LABS | State Machines | NeMe @ github | Covid-19; a resource
I do my best editing after I click on the submit button.

Offline

#162 2019-12-30 17:56:36

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

Re: Textpattern CMS demo site

colak wrote #320765:

The errors seem to be appearing only because of the folder permissions. Are you sure they have the right ones?

These are different errors, not the red errors shown in the screenshot. I should have been more specific, sorry about that. The permissions errors are deliberate, I don’t open up write access on the demo sites, too much of a risk.

There are some errors thrown relating to optional-but-missing JSON files on the admin theme, and a couple of more generic errors elsewhere. Current PHP handles the missing JSON without an error, new upcoming 2021-era PHP doesn’t handle things quite so gracefully…and I am not sure why.

Last edited by gaekwad (2019-12-30 18:00:26)

Offline

#163 2019-12-30 18:06:58

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

Re: Textpattern CMS demo site

colak wrote #320765:

The errors seem to be appearing only because of the folder permissions. Are you sure they have the right ones?

I’ve changed the screenshot — far too confusing! Thanks for the second brain, Yiannis.

Offline

#164 2020-01-18 17:20:56

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

Re: Textpattern CMS demo site

gaekwad wrote #320763:

Here you go:

>> php-src-dev-demo.textpattern.co/ <<

[…]

This demo site will refresh every 3 hours on the same schedule as the other demo sites, and when I have fresh eyes I’ll set the PHP to auto-build from source once a day.

This is now done, pending a scheduled run tomorrow: every day at 4:04am UTC, PHP will build from source. This takes about 20-25 minutes and pegs the CPU at 100% (run it red, get the job done), so if you’re accessing the site between 4:04am UTC and about 04:30 UTC, it might feel a bit slower than usual.

Offline

#165 2020-01-20 17:34:42

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

Re: Textpattern CMS demo site

gaekwad wrote #321220:

This is now done, pending a scheduled run tomorrow: every day at 4:04am UTC, PHP will build from source.

Daily automatic PHP rebuild schedule ran like clockwork, finished at 04:20 am:

$ php-src -v
PHP 8.0.0-dev (cli) (built: Jan 20 2020 04:20:50) ( NTS )
Copyright (c) The PHP Group
Zend Engine v4.0.0-dev, Copyright (c) Zend Technologies

Offline

#166 2020-01-21 12:14:40

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

Re: Textpattern CMS demo site

Updated: now running PHP 7.4.2 and PHP 7.3.14 on demo sites.

Demo server tech stack (current as of post timestamp):

Site HTTP Database PHP
Release Demo Nginx 1.17.7 Percona Server 8.0 PHP 7.3.14 (using PHP-FPM)
Beta Demo Nginx 1.17.7 Percona Server 8.0 PHP 7.4.2 (using PHP-FPM)
Dev Demo Nginx 1.17.7 Percona Server 8.0 PHP 7.4.2 (using PHP-FPM)

Offline

#167 2020-01-21 14:43:23

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

Re: Textpattern CMS demo site

Updated: now running Nginx 1.17.8 on demo sites.

Demo server tech stack (current as of post timestamp):

Site HTTP Database PHP
Release Demo Nginx 1.17.8 Percona Server 8.0 PHP 7.3.14 (using PHP-FPM)
Beta Demo Nginx 1.17.8 Percona Server 8.0 PHP 7.4.2 (using PHP-FPM)
Dev Demo Nginx 1.17.8 Percona Server 8.0 PHP 7.4.2 (using PHP-FPM)

Offline

#168 2020-01-22 16:17:11

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

Re: Textpattern CMS demo site

I think I’ve resolved an annoyingly sporadic and, until today, persistent error where the demo sites bomb out on checking for updates with a vague info notice (“There was a problem connecting to the Textpattern update server”).

In the interests of completeness, and so you learn how to perhaps avoid this if you roll your own servers, here’s what was happening: PHP was supposed to use a certificate bundle to enable checking for updates over TLS. The php.ini file provided a path to a non-existent .pem file…and when it doesn’t exist, it’s not going to work properly.

Fixing the typo has, I think, fixed the problem.

Edit: clarity.

Last edited by gaekwad (2020-01-22 20:09:41)

Offline

#169 2020-01-22 19:53:06

bici
Member
From: vancouver
Registered: 2004-02-24
Posts: 1,573
Website

Re: Textpattern CMS demo site

i also get this on my production site. what is the trick to get rid of that annoying error.

There was a problem connecting to the Textpattern update server. Please try again later


…. texted postive

Offline

#170 2020-01-22 20:09:06

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

Re: Textpattern CMS demo site

bici wrote #321281:

i also get this on my production site. what is the trick to get rid of that annoying error.

I don’t know about your site/server in particular, I’m afraid. There is an open issue for a future version to have more verbose reporting on why it failed: github.com/textpattern/textpattern/issues/1423

Offline

Board footer

Powered by FluxBB