Error can't Upload Media
System Info
- PHP Version: 8.2.12
- XBackBone Version: v.3.7.0
- Webserver: Apache v. 2.4.0
- Database backend: SQLlite
Describe the bug I cannot upload files larger than 1gb. Then the timeout error occurs
To Reproduce Steps to reproduce the behavior:
- Upload a File which is bigger then 1gb.
- Wait time
- show in the Console
- at about 45% the Error comes.
Expected behavior The file is uploaded and I can share it
Additional information: XBackBone is hosted on a Windows PC with xampp. which is behind a Cloudflare Zero Trust. (Cloudflare already has the timeout set to 10 minutes)
Logs XBackBone and/or webserver logs. share.fsfpd.de-1717889325853.log XBackBone Log: log-2024-06-09.txt
*The PHP limits have already been set to 3gb, the web server has been allocated 4gb of memory and there is still over 100gb of free disk space.
https://github.com/sergix44/XBackBone/issues/524#issuecomment-2116163856
HI. I have a problem when uploading a image. Using Apache2 and PHP 8.2 On apache error logs, I got this error:
tail -f /var/log/apache2/xbackbone-error.log | grep "error"
[Thu Nov 06 10:08:12.702531 2025] [proxy_fcgi:error] [pid 1920503:tid 1920503] [client 190.42.86.165:16839] AH01071: Got error 'PHP message: PHP Warning: Undefined array key "extension" in /var/www/xbackbone/app/Controllers/UploadController.php on line 201', referer: https://xbackbone.sybtesting.com/upload
What can I do ? Thanks.
HI. I have a problem when uploading a image. Using Apache2 and PHP 8.2 On apache error logs, I got this error:
tail -f /var/log/apache2/xbackbone-error.log | grep "error" [Thu Nov 06 10:08:12.702531 2025] [proxy_fcgi:error] [pid 1920503:tid 1920503] [client 190.42.86.165:16839] AH01071: Got error 'PHP message: PHP Warning: Undefined array key "extension" in /var/www/xbackbone/app/Controllers/UploadController.php on line 201', referer: https://xbackbone.sybtesting.com/uploadWhat can I do ? Thanks.
I found the solution for my case:
The storage/ folder It only had permissions for root:root. I changed it to www-data:www-data, and now it works.