• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.4 File upload error

New Joe

Active member
#1
When I try to upload a PDF file at say 30,814,410 bytes (30.8 MB ) I get this error:

Screen Shot 2017-01-22 at 09.21.29.png

The upload bar goes up to 100% but then the above happens

Why is that and how can I solve it?
Thanks
 

Fred.

Well-known member
#2
Is your upload limit set in php higher than 30.8MB ?
Check phpinfo
admin.php?tools/phpinfo and if not adjust the value in php.ini

And also check the forum max. upload limit
 

Chris D

XenForo developer
Staff member
#4
If you're unsure, you need to contact your host and ask them what the max_upload_limit an post_max_size value is in PHP and ask them to increase it to a higher value than the size of the PDF you're trying to upload.