For bug reports and help, visit the FlatPress forum, report the bug on GitHub or send an email.
Include these outputs (copy & paste) in English with the following information: bug description, steps to reproduce.

FlatPress general

Setup

FlatPress version: ' . SYSTEM_VER . '

'; echo '

Basis directory: ' . BASE_DIR . '

'; echo '

Blog base URL: ' . BLOG_BASEURL . '

'; if ($LANG_DEFAULT) { echo '

Language (automatic): ' . $LANG_DEFAULT . '

'; } else { echo '

Language (automatic): ℹ not recognized

'; } if ($lang) { echo '

Language (set): ' . $lang . '

'; } else { echo '

Language (set): not set

'; } echo '

Theme: ' . $theme . '

'; if ($style) { echo '

Stil: ' . $style . '

'; } else { echo '

Stil: default style

'; } echo '

Activated plugins:

'; echo '

'; for($i = 0; $i < count($fp_plugins); $i++) { echo ', ' . $fp_plugins [$i]; } echo '

'; ?>

FlatPress file and directory permissions

Core files

As soon as the setup has been successfully executed, the setup.php file should be deleted before productive operation.

! The setup file is located in the main directory!

'; } else { echo '

No .htaccess file was found in the main directory.

'; } ?>

The admin directory should be read-only for productive operation.

The core files in the admin directory are writable!

'; } else { echo '

The core files in the admin directory are not writable.

'; } @fclose($test_file); @unlink("{$BASE_DIR}/admin/chmod-test-file"); ?>

The fp-includes directory should be read-only for productive operation.

The core files in the fp-includes directory are writable!

'; } else { echo '

The core files in the fp-includes directory are not writable.

'; } @fclose($test_file); @unlink("{$BASE_DIR}/fp-includes/chmod-test-file"); ?>

Themes and plugins

The fp-content directory must be writable for FlatPress to work.

The fp-content directory is writable.

'; } else { echo '

! The directory fp-content is not writable!

'; } @fclose($test_file); @unlink("{$BASE_DIR}/fp-content/chmod-test-file"); ?>

The fp-plugin directory should be read-only for productive operation.

The plugin directory fp-plugins writable!

'; } else { echo '

The plugin directory fp-plugins is not writable.

'; } @fclose($test_file); @unlink("{$BASE_DIR}/fp-plugins/chmod-test-file"); ?>

The fp-interface directory should be read-only for productive operation.

The theme directory fp-interface writable!

'; } else { echo '

The theme directory fp-interface is not writable.

'; } @fclose($test_file); @unlink("{$BASE_DIR}/fp-interface/chmod-test-file"); ?>

.htaccess und defaults.php

The root directory must be writable in order to be able to create or modify an .htaccess file with the PrettyURLs plugin.

Note: Only web servers that are NCSA compatible, such as Apache, are familiar with the concept of .htaccess files.

The server software is ' . $_SERVER["SERVER_SOFTWARE"] . '.

'; $test_file = @fopen("{$BASE_DIR}/chmod-test-file", "a+"); if ($test_file) { echo '

The FlatPress main directory is writable.

'; } else { echo '

The FlatPress main directory is not writable!

'; } @fclose($test_file); @unlink("{$BASE_DIR}/chmod-test-file"); // Do not create a .hthaccess file, otherwise the PrettyURLs plugin cannot create its own file. Better is .htaccess.txt $test_file = @fopen("{$BASE_DIR}/.htaccess.txt", "a+"); if ($test_file) { echo '

The .htaccess file is writable.

'; } else { echo '

The .htaccess file is not writable!

'; } @fclose($test_file); @unlink("{$BASE_DIR}/.htaccess.txt"); $htaccess = BASE_DIR . '/.htaccess'; if (file_exists($htaccess)) { echo '

A .htaccess file already exists in the main directory!

'; } else { echo '

No .htaccess file was found in the main directory.

'; } ?>

The defaults.php file should only be read-only for productive operation.

The defaults.php file can be changed!

'; } else { echo '

The defaults.php file cannot be changed.

'; } @fclose($test_file); ?>

Upload directory (fp-content/attachs)

This directory must have write permissions so that you can upload something.

The upload directory is writable.

'; } else { echo '

! The upload directory is not writable!

'; } @fclose($test_file); @unlink("{$BASE_DIR}/fp-content/attachs/chmod-test-file"); } else { echo '

The upload directory does not exist.

'; } ?>

Cache directory (fp-content/cache)

This directory must have write permission for the cache to function correctly.

The cache directory is writable.

'; } else { echo '

! The cache directory is not writable!

'; } @fclose($test_file); @unlink("{$BASE_DIR}/fp-content/cache/chmod-test-file"); } else { echo '

! The directory cache does not exist.

'; } ?>

PHP

The PHP version is

Extensions

The PHP-Intl extension must be activated.

! The intl Extension is not activated!

'; } else { echo '

The intl Extension is activated.

'; } ?>

The GDlib extension must be activated to create image thumbnails.

! The GD Extension is not activated!

'; } else { echo '

The GD Extension is activated.

'; } ?>

Other

The browser used is of interest if there are display errors.

'Internet explorer', '/trident/i' => 'Internet explorer', '/edge/i' => 'Edge', '/firefox/i' => 'Firefox', '/safari/i' => 'Safari', '/chrome/i' => 'Chrome', '/opera/i' => 'Opera', '/opr/i' => 'Opera', '/mobile/i' => 'Mobile browser', '/konqueror/i' => 'Konqueror', ]; foreach ($browsers as $regex => $value) { if (preg_match($regex, $user_agent)) { $browser = $value; } } return $browser; } echo '

Browser: ' . browser() . '

'; ?>

If visitors to the FlatPress blog are to be informed about cookies, this is the cookie.

Hint: The name of the cookie changes each time FlatPress is reinstalled.

FlatPress Session cookie: ' . SESS_COOKIE . '

'; ?>

Output completed!

Symbols:

No action necessary

Does not restrict functionality, but requires attention

! Action urgently needed

Powered by FlatPress.