-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
3.3.16-RC1
-
None
-
PHP 8.6.14, MariaDB 11.8.6, Debian, Nginx
Fresh installation on a Debian based Nginx system with PHP 8.4.16 failed with "The installer detected a timeout".
The error log shows:
"PHP message: PHP Fatal error: Uncaught TypeError: fclose(): Argument #1 ($stream) must be of type resource, false given in /var/www/html/phpBB/phpbb/install/module/requirements/task/check_filesystem.php:149 |
|
|
Stack trace:
|
#0 /var/www/html/phpBB/phpbb/install/module/requirements/task/check_filesystem.php(149): fclose() |
#1 /var/www/html/phpBB/phpbb/install/module/requirements/task/check_filesystem.php(112): phpbb\install\module\requirements\task\check_filesystem->check_file() |
#2 /var/www/html/phpBB/phpbb/install/module/requirements/abstract_requirements_module.php(40): phpbb\install\module\requirements\task\check_filesystem->run() |
#3 /var/www/html/phpBB/phpbb/install/installer.php(219): phpbb\install\module\requirements\abstract_requirements_module->run() |
#4 /var/www/html/phpBB/phpbb/install/controller/install.php(134): phpbb\install\installer->run() |
#5 /var/www/html/phpBB/vendor/symfony/http-foundation/StreamedResponse.php(114): phpbb\install\controller\install->{closure:phpbb\install\controller\ins" while reading upstream, client: 127.0.0.1, server: _, request: "POST /install/app.php/install HTTP/1.1", upstream: "fastcgi://unix:/r |
If in line 149 of phpBB\phpbb\install\module\requirements\task\check_filesystem.php the code from:
@fclose($fp); |
is changed to:
if (is_resource($fp)) |
{
|
fclose($fp);
|
}
|
|
The installation works fine.

