-
Bug
-
Resolution: Fixed
-
Major
-
3.3.3
-
None
-
None
-
PHP 8.0.1, MySQL(i) 10.3.27-MariaDB-log, phpBB 3.3.3, Vivaldi browser 3.6.2165.36
upload_max_filesize is 256M
post_max_size is 256M
max_execution_time is 90
File upload fails with an error Error parsing server response. on phpBB 3.3.3 and PHP 8.0.1.
Fatal error: Uncaught Error: Call to undefined function phpbb\attachment\disk_free_space() in /data/web/virtuals/266372/virtual/www/phpbb/attachment/upload.php:299 |
Stack trace:
|
#0 /data/web/virtuals/266372/virtual/www/phpbb/attachment/upload.php(195): phpbb\attachment\upload->check_disk_space() |
#1 /data/web/virtuals/266372/virtual/www/phpbb/attachment/manager.php(97): phpbb\attachment\upload->upload('fileupload', 8, false, '', false, Array) |
#2 /data/web/virtuals/266372/virtual/www/includes/message_parser.php(1718): phpbb\attachment\manager->upload('fileupload', 8, false, '', false) |
#3 /data/web/virtuals/266372/virtual/www/posting.php(1012): parse_message->parse_attachments('fileupload', 'post', 8, false, false, true) |
#4 {main} thrown in /data/web/virtuals/266372/virtual/www/phpbb/attachment/upload.php on line 299 |
Upload works when downgrading from PHP 8.0.1 to PHP 7.4.14.
I have attached info about PHP configuration of the webhosting which has the problem.