Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#241 2020-05-27 11:56:10
Re: Textpattern CMS demo site
etc wrote #323343:
When accessing prev-demo.textpattern.co/articles/?author=Managing+Editor+%2386 one must see only the articles written by Managing Editor #86. I get all articles from
articlessection.
Ah, yes – now I see it.
Offline
#242 2020-05-27 12:53:30
Re: Textpattern CMS demo site
If that helps, $_GET array on prev-demo.textpattern.co/?a=b&d=g is
array (
'a' => 'b',
'd' => 'g',
)
as expected, but on prev-demo.textpattern.co/articles/?a=b&d=g the first key is wrongly prepended with ?:
array (
'?a' => 'b',
'd' => 'g',
)
Offline
#243 2020-05-27 12:55:18
Re: Textpattern CMS demo site
Oh, hold on…I think I might know the answer to this. Bear with me 15 mins, I’ll try something.
Edit: OK, I think this is down to my PHP handling on Nginx, I need to unpick it.
This is the way it works at the moment:
location / {
index index.html index.php;
limit_except GET HEAD POST {
deny all;
}
try_files $uri $uri/ /index.php?$is_args$args;
}
The important part is the try_files directive, which tries the absolute URI first, then tries the same with a trailing slash, then reverts to the root index.php. I suspect something’s not fully working with the ?$is_args$args part when URL slugs are involved, and I’ll need to investigate. Likely not today since my brain hasn’t got the horsepower, but I’ll look into it.
Last edited by gaekwad (2020-05-27 13:07:38)
Offline
#244 2020-05-27 13:44:29
Re: Textpattern CMS demo site
etc wrote #323345:
[…] the first key is wrongly prepended with
?:
Fixed. Try now. Fixed in prev-demo, rolling out change to other sites now.
Last edited by gaekwad (2020-05-27 13:48:01)
Offline
#245 2020-05-27 13:50:49
Re: Textpattern CMS demo site
Now prev-demo.textpattern.co/articles/?author=Managing+Editor+%2386 is fine. Well done!
Offline
#246 2020-05-27 14:20:29
Re: Textpattern CMS demo site
etc wrote #323350:
Now prev-demo.textpattern.co/articles/?author=Managing+Editor+%2386 is fine.
Thanks for your patience while I sorted it!
Offline
#247 2020-06-01 11:36:06
Re: Textpattern CMS demo site
I had the pleasure of upgrading release-demo to Textpattern 4.8.1 over the weekend.
Demo server tech stack (current as of post timestamp):
| Site | Textpattern | HTTP | Database | PHP |
|---|---|---|---|---|
| Release Demo | Textpattern 4.8.1 | Nginx 1.19.0 | Percona Server 8.0 | PHP 7.4.6 (PHP-FPM) |
| Beta Demo | Textpattern 4.8.0-beta.3 | Nginx 1.19.0 | Percona Server 8.0 | PHP 7.4.6 (PHP-FPM) |
| Dev Demo | GitHub dev branch |
Nginx 1.19.0 | Percona Server 8.0 | PHP 7.4.6 (PHP-FPM) |
Offline
#248 2020-06-01 11:45:11
Re: Textpattern CMS demo site
About a week ago I posted about a potential change to the dev-demo site. This post is an update to that post.
With the release of Textpattern 4.8.1, Textpattern development on GitHub has two main branches:
- a branch called
4.8.2for bug fixes on the Texpattern 4.8 release series - a branch called
devfor work on the Textpattern 4.9 release series
There are some changes coming to Textpattern 4.9 that will modernise the codebase, which helps development, performance, and security. While work is ongoing, eyes will be split between the current release series (4.8) and the next release series (4.9).
At some point this month, and I’ll give you some warning when I know exactly when, the dev-demo site will split into branched installs: we’ll have 4.8.2 available on one site, and dev on another. Here’s the info on the URLs that will be used:
https://dev-demo.textpattern.co/4.8.2/
https://dev-demo.textpattern.co/dev/
If you have a shortcut to https://dev-demo.textpattern.co/ it will auto divert to https://dev-demo.textpattern.co/dev/. Your username and password will continue to work.
I’ll know more about the schedule by the end of this week, so please stay tuned if you’re interested.
Offline
#249 2020-06-08 18:07:49
Re: Textpattern CMS demo site
Short-term PHP stack change while we investigate an issue.
Demo server tech stack (current as of post timestamp):
| Site | Textpattern | HTTP | Database | PHP |
|---|---|---|---|---|
| Release Demo | Textpattern 4.8.1 | Nginx 1.19.0 | Percona Server 8.0 | PHP 7.3.18 (PHP-FPM) |
| Beta Demo | Textpattern 4.8.0-beta.3 | Nginx 1.19.0 | Percona Server 8.0 | PHP 7.4.6 (PHP-FPM) |
| Dev Demo | GitHub dev branch |
Nginx 1.19.0 | Percona Server 8.0 | PHP 7.4.6 (PHP-FPM) |
Offline
#250 2020-06-09 10:03:00
Re: Textpattern CMS demo site
High level tweaks to demo server, with timeline/roadmap:
- formalise addition of
prev-demo: most recent Textpattern patch release from previous minor branch (i.e. Textpattern 4.7.3 as of this post) running on current-minus-one version of PHP (i.e. PHP 7.3.19 as of this post) –ETA is June 21 2020DONE. - branches-as-subdirectories added to
dev-demo: changes as outlined here –ETA is June 28 2020DONE. - formalise addition of
php-src-dev-demo: development branches of Textpattern running on development build of PHP 8.0 (expected release Q4 2020) – ETA is August 2020.
I’ll keep you posted. There are other things planned on top of this, but these are the highlights.
Last edited by gaekwad (2020-07-27 12:28:31)
Offline
#251 2020-06-09 10:10:34
Re: Textpattern CMS demo site
Reverted PHP stack change mentioned here – back to normal.
Demo server tech stack (current as of post timestamp):
| Site | Textpattern | HTTP | Database | PHP |
|---|---|---|---|---|
| Release Demo | Textpattern 4.8.1 | Nginx 1.19.0 | Percona Server 8.0 | PHP 7.4.6 (PHP-FPM) |
| Beta Demo | Textpattern 4.8.0-beta.3 | Nginx 1.19.0 | Percona Server 8.0 | PHP 7.4.6 (PHP-FPM) |
| Dev Demo | GitHub dev branch |
Nginx 1.19.0 | Percona Server 8.0 | PHP 7.4.6 (PHP-FPM) |
Offline
#252 2020-06-09 10:21:26
Re: Textpattern CMS demo site
Announcing the arrival of prev-demo to the demo server. I heard positive feedback on the usefulness of this, so it gets to stay. I will add it to the landing page later this week.
Note: in the interests of security, should any version of Textpattern be deemed insecure (e.g. is exploitable, has an assigned CVE, that sort of thing) then it will not be offered on the demo server.
Demo server tech stack (current as of post timestamp):
| Site | Textpattern | HTTP | Database | PHP |
|---|---|---|---|---|
| Release Demo | Textpattern 4.8.1 | Nginx 1.19.0 | Percona Server 8.0 | PHP 7.4.6 (PHP-FPM) |
| Beta Demo | Textpattern 4.8.0-beta.3 | Nginx 1.19.0 | Percona Server 8.0 | PHP 7.4.6 (PHP-FPM) |
| Prev Demo | Textpattern 4.7.3 | Nginx 1.19.0 | Percona Server 8.0 | PHP 7.3.19 (PHP-FPM) |
| Dev Demo | GitHub dev branch |
Nginx 1.19.0 | Percona Server 8.0 | PHP 7.4.6 (PHP-FPM) |
Offline
#253 2020-06-09 11:26:57
Re: Textpattern CMS demo site
Announcing the arrival of PHP 7.4.7 to release-demo, beta-demo and dev-demo sites.
Demo server tech stack (current as of post timestamp):
| Site | Textpattern | HTTP | Database | PHP |
|---|---|---|---|---|
| Release Demo | Textpattern 4.8.1 | Nginx 1.19.0 | Percona Server 8.0 | PHP 7.4.7 (PHP-FPM) |
| Beta Demo | Textpattern 4.8.0-beta.3 | Nginx 1.19.0 | Percona Server 8.0 | PHP 7.4.7 (PHP-FPM) |
| Prev Demo | Textpattern 4.7.3 | Nginx 1.19.0 | Percona Server 8.0 | PHP 7.3.19 (PHP-FPM) |
| Dev Demo | GitHub dev branch |
Nginx 1.19.0 | Percona Server 8.0 | PHP 7.4.7 (PHP-FPM) |
PS: I tried to make the table more legible with rowspan but I lost patience trying to make it look pretty in Textile. Story of my life.
Offline
#254 2020-06-11 08:30:37
Re: Textpattern CMS demo site
The first alpha release of PHP 8.0 is due later this month, with GA scheduled for late November 2020. Here’s the current roadmap / timeline: wiki.php.net/todo/php80
Accordingly, I intend to set up a PHP 8.0 demo server for the active dev builds (dev and the latest 4.8 maintenance branch). I appreciate that many of you will have no interest in these bleeding-edge builds of software, and I have no intentions of further congesting the demo server landing page, so from next month I will split the various demos into two sections: one set of demos for releases (e.g. Textpattern 4.8, Textpattern 4.7), the other set for ‘work in progress’ stuff (everything else).
Offline
#255 2020-06-11 11:29:24
Re: Textpattern CMS demo site
Hi Pete, did you also consider to have a stable demo working on the min system requirements? This could be very useful to those who are considering adopting txp and want to install it on normal shared servers.
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline