Bug Unable to upload .pdf files after upgrade to 2.2.1

Status
Not open for further replies.

bzcomputers

Customer
I can't seem to get .pdf or .docx files to upload. All other file extension seem to still upload just fine. I tested .jpg, .png, .gif and .doc files and they all uploaded without issue. I haven't changed any settings in a long time, but I did recently upgrade to version 2.2.1.

When trying to upload .pdf and .docx files I get an "Internal Server Error" after about 60 seconds.

From the screen view it appears to upload completely...
error1.webp


but then after about 60 seconds...
error2.webp

from what I can tell it is only on .pdf and .docx files that this is occurring.


----------------------------------------------------------------------
Edit: After further testing it seems it maybe related to Apache timing out on larger files ...will report back shortly

Edit 2: It appears to be related to file size. Seems any file over about 110kb will not upload and gives the "Internal Server Error" message. PHP upload_max_filesize currently set to 16MB and all file extension limitations are set at 2.5MB or above.
 
Last edited:
Can you try checking Apache's error_log file (usually found in /usr/local/apache/logs/error_log but may vary by server) and see if that has anything useful in it?
 
Found the problem. On Apache rebuild FcgidMaxRequestLen was reset to the default 131072 (128kb). Changed it to 1073741824 (1GB) and all is well.
 
Status
Not open for further replies.

Legacy vBDownloads

vBulletin 3.8.x vBulletin 4.x.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
1,717
Customer rating
0.00 star(s) 0 ratings
Back
Top