Search found 307 matches

by fraenkiman
Thu Mar 13, 2025 10:59 pm
Forum: Development and tests
Topic: Green pop-up notification for success is random
Replies: 4
Views: 15996

Re: Green pop-up notification for success is random

Hello andriishyichuk.

The logic fits.
$success must result in 1. Then you assign the result 1 directly to the template and then with system_seterr into the session -> before a forwarding takes place.

Before you assign a result to the template, simply check one line above whether $success = utils ...
by fraenkiman
Sat Mar 08, 2025 12:01 am
Forum: General Support
Topic: FlatPress 1.4-dev Github 1908 - PrettyUrls problems
Replies: 2
Views: 14838

Re: FlatPress 1.4-dev Github 1908 - PrettyUrls problems

Hello Laborix,

try this or a similar configuration:

server {
listen 80;
server_name yourdomain.com;
root /path/to/flatpress;
index index.php;

# PrettyURLs-Unterstützung für FlatPress
location / {
try_files $uri $uri/ /index.php?$args;
}

# Unterstützung für Path Info URLs (/index.php ...
by fraenkiman
Fri Mar 07, 2025 11:24 pm
Forum: General Support
Topic: FlatPress 1.4-dev Github 1905 - Rebuild index failure
Replies: 5
Views: 8217

Re: FlatPress 1.4-dev Github 1905 - Rebuild index failure

Hello Laborix,


Now I tested with open pages and after the 3rd or 4th rebuild this error occurs:


that won't work either, neither with the original function nor with the customized one. You keep the “old” index in use with the open pages. This can then neither be renamed nor deleted ...
by fraenkiman
Fri Mar 07, 2025 10:09 pm
Forum: Development and tests
Topic: FlatPress 1.4-dev Github 1908 - Problem with meta-tags
Replies: 4
Views: 7518

Re: FlatPress 1.4-dev Github 1908 - Problem with meta-tags

Possible NGINX configuration:

server {
listen 80;
server_name example.com;

location / {
proxy_pass http://localhost:8080; # Forwarding to the PHP server
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Port $server_port;
proxy_set_header X-Real-IP $remote_addr ...
by fraenkiman
Fri Mar 07, 2025 9:53 pm
Forum: Development and tests
Topic: FlatPress 1.4-dev Github 1908 - Problem with meta-tags
Replies: 4
Views: 7518

Re: FlatPress 1.4-dev Github 1908 - Problem with meta-tags

Possible replacement function, which also takes load balancers and reverse proxies into account.

if (!function_exists('currentPageURL')) {

function currentPageURL() {

$protocol = is_https() ? "https" : "http";

$port = $_SERVER ['SERVER_PORT'];
if (!empty($_SERVER ['HTTP_X_FORWARDED_PORT ...
by fraenkiman
Fri Mar 07, 2025 9:19 pm
Forum: Development and tests
Topic: FlatPress 1.4-dev Github 1908 - Problem with meta-tags
Replies: 4
Views: 7518

Re: FlatPress 1.4-dev Github 1908 - Problem with meta-tags

Hello Laborix,

take a look at hw-helpers.php in the inc directory. Lines 150 to 168, where some server variables are queried. It is possible that NGINX does not provide valid values. The function currentPageURL is needed for the output of the meta tags.

Best regards
Frank
by fraenkiman
Wed Mar 05, 2025 8:02 pm
Forum: General Support
Topic: FlatPress 1.4-dev Github 1905 - Rebuild index failure
Replies: 5
Views: 8217

Re: FlatPress 1.4-dev Github 1905 - Rebuild index failure

Hello Laborix,

there seems to be an access problem here:
Warning: rename(fp-content/index,fp-content/index1741122088) [<a href='/phpmanual/function.rename.html'>function.rename.html</a>]: Access denied (code: 5) in \flatpress-master-1905\admin\panels\maintain\admin.maintain.php on line 147 ...
by fraenkiman
Tue Mar 04, 2025 8:28 pm
Forum: Development and tests
Topic: FlatPress 1.4-dev Github 1905 - Problems with Widget Sidebar
Replies: 3
Views: 7355

Re: FlatPress 1.4-dev Github 1905 - Problems with Widget Sidebar

Hello Laborix,

the problem should no longer exist with 1906.

Best regards
Frank
by fraenkiman
Tue Mar 04, 2025 7:34 pm
Forum: Development and tests
Topic: FlatPress 1.4-dev Github 1905 - Problems with Widget Sidebar
Replies: 3
Views: 7355

Re: FlatPress 1.4-dev Github 1905 - Problems with Widget Sidebar

Hello Laborix,

Thank you for reporting the error. I have put this in an issue and will try to solve the problem when I get the chance.

With best regards
Frank
by fraenkiman
Mon Mar 03, 2025 10:08 pm
Forum: Plugin support
Topic: Parsedown plugin
Replies: 1
Views: 6279

Parsedown plugin

Hello everyone,

while browsing the WWW I came across Parsedown . Parsedown is an efficient, modern PHP implementation of the Markdown syntax.
I have created a plugin for you and made the parser compatible with PHP 8.4.

The download is available via the wiki .
Have fun with it.

With best regards ...