first of all, wishing you all a healthy and happy New Year.
Okay, back to life with FlatPress Github version 2974 from today. Here's some information about it.
The test environment for FlatPress Github 2974 is an openSUSE 16.0 server, Nginx 1.27.2, and PHP 8.4.10. This shouldn't be a problem, and yes, FlatPress Github 2974 runs there too.
But only under the following circumstances:
- An entry in the nginx.conf configuration
- several SELinux commands in the terminal under openSUSE 16 server
Let's start with nginx.conf, which is already available in the FlatPress Wiki:
Code: Select all
location /flatpress {
index index.php;
if (!-e $request_filename) {
rewrite ^/(.+)$ /flatpress/index.php?u=$1 last;
break;
}
}First hurdle, allowing web access to the server folder:
Solution for 502 Bad Gateway after setting up Nginx 1.27 on openSUSE 16.0
Code: Select all
# setsebool -P httpd_can_network_connect 1Code: Select all
# chcon -R -t httpd_sys_content_t /srv/www/htdocs/flatpress
# chcon -R -t httpd_sys_rw_content_t /srv/www/htdocs/flatpress
By the way, while playing with FlatPress Github 2974, I encountered some PHP deprecation and warnings.
Code: Select all
[05-Jan-2026 17:38:19 UTC] PHP Notice: curl extension is not installed in /srv/www/htdocs/fp2974/fp-includes/core/core.utils.php on line 608
[05-Jan-2026 17:38:19 UTC] PHP Warning: Undefined array key "errno" in /srv/www/htdocs/fp2974/admin/panels/maintain/admin.maintain.php on line 485
[05-Jan-2026 17:38:19 UTC] PHP Warning: Undefined array key "http_code" in /srv/www/htdocs/fp2974/admin/panels/maintain/admin.maintain.php on line 485
[05-Jan-2026 17:38:19 UTC] PHP Warning: Undefined array key "content" in /srv/www/htdocs/fp2974/admin/panels/maintain/admin.maintain.php on line 486
[05-Jan-2026 17:38:19 UTC] PHP Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /srv/www/htdocs/fp2974/fp-includes/core/core.utils.php on line 187
[05-Jan-2026 17:38:19 UTC] PHP Warning: Undefined array key "stable" in /srv/www/htdocs/fp2974/admin/panels/maintain/admin.maintain.php on line 498
[05-Jan-2026 17:38:19 UTC] PHP Warning: Undefined array key "unstable" in /srv/www/htdocs/fp2974/admin/panels/maintain/admin.maintain.php on line 499
[05-Jan-2026 17:38:19 UTC] PHP Warning: Undefined array key "notice" in /srv/www/htdocs/fp2974/admin/panels/maintain/admin.maintain.php on line 500