developr
Active member
My members with slow internet have problems to upload big files or avatars.
So I tried out what could be the problem... checked the nginx config for timeouts, checked php config as well. Then I tried different forums on different php versions.
In the example a user would like to add an 3.6MB jpg as a avatar. vBulletin and XF1 works fine. They use "post" to upload the file.
XF2 use a xhr request to upload the files and here the request will be canceled exactly after 30s.
You can try it with the developer console in Google Chrome
Could somebody reproduce this?
So I tried out what could be the problem... checked the nginx config for timeouts, checked php config as well. Then I tried different forums on different php versions.
In the example a user would like to add an 3.6MB jpg as a avatar. vBulletin and XF1 works fine. They use "post" to upload the file.
Software | Method Type | PHP Version | Status |
vBulletin 3 | post | php5.6 | ok |
vBulletin 4 | post | php5.6 | ok |
XF 1.5 | post | php7.1 | ok |
XF 1.5 | post | php7.2 | ok |
XF 2.0 | xhr | php7.2 | failed |
XF2 use a xhr request to upload the files and here the request will be canceled exactly after 30s.
You can try it with the developer console in Google Chrome
Could somebody reproduce this?