Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: Textpattern CMS demo site
There may be some availability issues today as I work on the demo server, its associated cryptography and underlying libraries. I do not expect significant downtime, and I am taking steps to minimise any downtime.
I will report back later when work is complete. In the meantime, please go about your day in the usual way.
Offline
Re: Textpattern CMS demo site
Work is complete. Thanks for your patience.
Offline
Re: Textpattern CMS demo site
Weird dev site issue: switching the public language to, say, Dansk (works ok) and then back to English results in
Fatal error: Uncaught Exception: Invalid argument in /var/www/vhosts/textpattern.co/dev-demo/live/textpattern/vendors/Textpattern/L10n/Locale.php:196
on the admin side. Can not reproduce on my local setup. As if en
locale was not available on dev-demo?
Release demo seems to work fine.
Offline
Re: Textpattern CMS demo site
etc wrote #318138:
Weird dev site issue: switching the public language to, say, Dansk (works ok) and then back to English results in
Fatal error: Uncaught Exception: Invalid argument in /var/www/vhosts/textpattern.co/dev-demo/live/textpattern/vendors/Textpattern/L10n/Locale.php:196...
on the admin side. Can not reproduce on my local setup. As if
en
locale was not available on dev-demo?
Not much else of use in the error log (though I can increase the verbosity as needed):
2019/05/21 08:00:34 [error] 999#999: *7213 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Exception: Invalid argument in /var/www/vhosts/textpattern.co/dev-demo/live/textpattern/vendors/Textpattern/L10n/Locale.php:196
Stack trace:
#0 /var/www/vhosts/textpattern.co/dev-demo/live/textpattern/index.php(235): Textpattern\L10n\Locale->setLocale(6, 'en')
#1 {main}
thrown in /var/www/vhosts/textpattern.co/dev-demo/live/textpattern/vendors/Textpattern/L10n/Locale.php on line 196" while reading response header from upstream, client: 165.231.40.14, server: dev-demo.textpattern.co, request: "POST /textpattern/index.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.3-fpm.sock:", host: "dev-demo.textpattern.co", referrer: "https://dev-demo.textpattern.co/"
Now you mention it, the en
locale isn’t installed, though there are numerous en_*
:
$ locale -a | grep en
ca_ES@valencia
en_AG
en_AU
en_AU.utf8
en_BW
en_BW.utf8
en_CA
en_CA.utf8
en_DK
en_DK.iso885915
en_DK.utf8
en_GB
en_GB.iso885915
en_GB.utf8
en_HK
en_HK.utf8
en_IE
en_IE.utf8
en_IE@euro
en_IL
en_IN
en_NG
en_NZ
en_NZ.utf8
en_PH
en_PH.utf8
en_SC.utf8
en_SG
en_SG.utf8
en_US
en_US.iso885915
en_US.utf8
en_ZA
en_ZA.utf8
en_ZM
en_ZW
en_ZW.utf8
The demo sites share system libraries, they’re all on the same server, they have the same PHP version (PHP-FPM socket), they use the same MySQL server socket, and so on. Is there anything I can change to assist with troubleshooting this?
Edit: I’ve regenerated all available locales (497 in total), let’s see if that helps.
Last edited by gaekwad (2019-05-21 09:19:18)
Offline
Re: Textpattern CMS demo site
gaekwad wrote #318140:
Now you mention it, the
en
locale isn’t installed…
That would certainly explain the error (and should be patched), but this is bugging me:
The demo sites share system libraries, they’re all on the same server, they have the same PHP version (PHP-FPM socket), they use the same MySQL server socket, and so on.
Seemingly, we have made no commits to concerned code parts since 4.7.3, why everything is fine on release-demo???
Offline
Re: Textpattern CMS demo site
Just a heads up. Visiting the demo urls I get this warning
Did Not Connect: Potential Security Issue
Firefox detected an issue and did not continue to dev-demo.textpattern.co. The website is either misconfigured or your computer clock is set to the wrong time.
It’s likely the website’s certificate is expired, which prevents Firefox from connecting securely.
What can you do about it?
dev-demo.textpattern.co has a security policy called HTTP Strict Transport Security (HSTS), which means that Firefox can only connect to it securely. You can’t add an exception to visit this site.
Your computer clock is set to 27/05/2019. Make sure your computer is set to the correct date, time, and time zone in your system settings, and then refresh dev-demo.textpattern.co.
If your clock is already set to the right time, the website is likely misconfigured, and there is nothing you can do to resolve the issue. You can notify the website’s administrator about the problem.
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Online
Re: Textpattern CMS demo site
colak wrote #318235:
Just a heads up. Visiting the demo urls I get this warning
Thanks, Yiannis – I’m investigating now.
Offline
Re: Textpattern CMS demo site
colak wrote #318235:
Just a heads up. Visiting the demo urls I get this warning
Resolved – it looks like a corrupted TLS certificate renewal config. Repaired and renewed, back on the air.
Offline
Re: Textpattern CMS demo site
gaekwad wrote #318237:
Resolved – it looks like a corrupted TLS certificate renewal config. Repaired and renewed, back on the air.
Yes! -at least from here.
Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern
Offline
Re: Textpattern CMS demo site
? All looks fine again!
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Online
Re: Textpattern CMS demo site
After some system library additions and tweaks, I am pleased to say the dev-demo
site is now running on PHP 7.4.0-alpha1 — released yesterday. As the PHP 7.4 alpha releases turn into beta and GA releases, I will keep them updated.
No Textpattern testing done on my side, but it didn’t explode in a shower of errors, so that’s good.
Last edited by gaekwad (2019-06-25 10:35:43)
Offline
Re: Textpattern CMS demo site
… dev-demo
now running PHP 7.4-alpha2, and according to the roadmap it’s set for GA release at the end of November 2019. Initial benchmarks show performance improvements over previous 7.* releases.
Offline