For devs and testers: Tests of current development versions, technical details of the code.
-
fraenkiman
- FlatPress Coder
- Posts: 478
- Joined: Thu Feb 03, 2022 7:25 pm
- Location: Berlin, Germany
-
Contact:
Post
by fraenkiman » Fri Jan 02, 2026 5:29 pm
Hello macadoum,
PrettyURLs recognizes that an .htaccess file is present, but cannot verify its contents.
Add a few entries to your .htaccess file (
https://i.postimg.cc/fkRHtCK3/Screensho ... lugins.png) so that PrettyURLs work as expected:
Code: Select all
php_value display_errors On
php_value mbstring.http_input auto
php_value date.timezone Europe/Paris
AddType application/x-httpd-php .php
Options -Indexes
<IfModule mod_headers.c>
Header unset X-Powered-By
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^\.htaccess$ - [F]
RewriteRule ^sitemap\.xml$ /sitemap.php [L]
RewriteRule ^sitemap$ /sitemap.php [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
Best regards,
Frank
-
macadoum
- Posts: 51
- Joined: Sat Jan 20, 2024 10:32 pm
Post
by macadoum » Fri Jan 02, 2026 6:12 pm
It's perfectly working now. Thank you Fraenkiman

-
Lubomír Ludvík
- Posts: 80
- Joined: Wed Feb 20, 2019 7:44 pm
- Location: Rouchovany
-
Contact:
Post
by Lubomír Ludvík » Fri Jan 02, 2026 7:10 pm
When logout from admin panel get error:
Warning: setcookie () expect parameter 3 to be integer, array given in ../fp_includes/core/core.cookie.php 188
Testing on PHP 8.2.29
https://solarcz.eu/
-
Lubomír Ludvík
- Posts: 80
- Joined: Wed Feb 20, 2019 7:44 pm
- Location: Rouchovany
-
Contact:
Post
by Lubomír Ludvík » Fri Jan 02, 2026 8:13 pm
In FlatPress 1.5, links in src do not work in BlockParser_Widgets
for example:
Code: Select all
[html]<iframe width=”800” height=”500” src=”https://solarcz.eu/rss.html” frameborder=”0”></iframe>[/html]
[html]<a href=”http://apod.nasa.gov/apod/astropix.html” title=”n.a.”><img src=”https://apod.nasa.gov/apod/calendar/today.jpg” alt=”n.a.” title=”n.a.”></a>[/html]
Testing on PHP 8.2.29
https://solarcz.eu/
-
fraenkiman
- FlatPress Coder
- Posts: 478
- Joined: Thu Feb 03, 2022 7:25 pm
- Location: Berlin, Germany
-
Contact:
Post
by fraenkiman » Fri Jan 02, 2026 10:41 pm
Hello Lubomír,
The FlatPress Protect plugin prevents the integration of external sources in order to
prevent framing/clickjacking.
If you still want to integrate content from external sources via iFrame, you must change line 50 in the file
fp-plugins/fpprotect/plugin.fpprotect.php as follows:
Code: Select all
'frame-ancestors \'self\' https:; ' . //
Line 75 for HTTP connections (not recommended!!!):
Code: Select all
header('Content-Security-Policy: frame-ancestors \'self\' http:; ' . //
Best regards,
Frank
-
Lubomír Ludvík
- Posts: 80
- Joined: Wed Feb 20, 2019 7:44 pm
- Location: Rouchovany
-
Contact:
Post
by Lubomír Ludvík » Sat Jan 03, 2026 12:00 am
Thanks for the answer, and could you add the option to the FlatPress Protect settings:
Allow FlatPress to use content from external sources via iFrame
-
fraenkiman
- FlatPress Coder
- Posts: 478
- Joined: Thu Feb 03, 2022 7:25 pm
- Location: Berlin, Germany
-
Contact:
Post
by fraenkiman » Sat Jan 03, 2026 12:55 am
Lubomír Ludvík wrote: Fri Jan 02, 2026 7:10 pm
When logout from admin panel get error:
Warning: setcookie () expect parameter 3 to be integer, array given in ../fp_includes/core/core.cookie.php 188
Testing on PHP 8.2.29
https://solarcz.eu/
This is strange because on PHP 8.2.29, this specific warning ("expects parameter 3 to be integer, array given") should not occur at all, because
setcookie() has supported an options array as the third parameter
since PHP 7.3.
https://eusonlito.github.io/php-changes ... anges.html
A slight suspicion: The web request PHP version is not the one you would expect (e.g., CLI shows 8.2.29, but FPM/vHost is still running on 7.2).
Taken into account in
#774
Best regards,
Frank
-
fraenkiman
- FlatPress Coder
- Posts: 478
- Joined: Thu Feb 03, 2022 7:25 pm
- Location: Berlin, Germany
-
Contact:
Post
by fraenkiman » Sat Jan 03, 2026 3:50 pm
Lubomír Ludvík wrote: Sat Jan 03, 2026 12:00 am
Thanks for the answer, and could you add the option to the FlatPress Protect settings:
Allow FlatPress to use content from external sources via iFrame
That qualifies you to throw a coin into
the coffee fund, as I have to adapt 18 files and my Selenium IDE test (Click monkey) for this
Done with
#775.
Best regards,
Frank
-
Lubomír Ludvík
- Posts: 80
- Joined: Wed Feb 20, 2019 7:44 pm
- Location: Rouchovany
-
Contact:
Post
by Lubomír Ludvík » Sat Jan 03, 2026 4:09 pm
FlatPress Protect:
Unfortunately, the plugin also does not have access to its subdirectory: /fp-plugins/rsswidget/rss/rss.html
I can't load the file, still "404 Not Found".
It won't help .htaccess
<Files "rss.html">
Allow from all
Satisfy Any
</Files>
-
Lubomír Ludvík
- Posts: 80
- Joined: Wed Feb 20, 2019 7:44 pm
- Location: Rouchovany
-
Contact:
Post
by Lubomír Ludvík » Sat Jan 03, 2026 5:31 pm
I have the latest versions of Google Chrome and Microsoft Edge.
In Chrome, you can't drag and drop widgets in the widget administration.
In Edge, widgets don't appear.
https://solarcz.eu/ on on PHP 8.2.29

- chrome aktualni.jpg (30.73 KiB) Viewed 354 times

- chrome.jpg (110.97 KiB) Viewed 354 times

- edge.jpg (51.39 KiB) Viewed 354 times
Who is online
Users browsing this forum: No registered users and 1 guest