Previous Thread
Next Thread
Print Thread
Hop To
Joined: Aug 2024
Posts: 21
Likes: 2
Stranger
Stranger
Joined: Aug 2024
Posts: 21
Likes: 2
Our v8.0.0 forum seems stuck in terms of allowing uploads larger than 100M using attachment manager. Using the choose file button just hangs with no progress indicator, dragging a file in displays a status bar stuck at 1%.

Uploading a <100M file works like a charm.

Max attachement upload size for the forum/user is set to 500M

Here are some PHP particulars:
Code
memory_limit	1980M
post_max_size	1024M
upload_max_filesize	1024M
upload_tmp_dir	no value	no value
session.upload_progress.cleanup	On
session.upload_progress.enabled	On
session.upload_progress.freq	1%
session.upload_progress.min_freq	1
session.upload_progress.name	PHP_SESSION_UPLOAD_PROGRESS
session.upload_progress.prefix	upload_progress_


[Linked Image from web.atcomsystems.ca]
Looking for a VoIP Phone Canada provider? Put Atcom's valuable VoIP expertise to work for your business today!
Joined: Aug 2024
Posts: 21
Likes: 2
Stranger
Stranger
Joined: Aug 2024
Posts: 21
Likes: 2
Looks like I jumped the gun a bit here - disabled Cloudflare proxying and it appeared to solve the problem.

EDIT: Apparently it's an intentional limitation of the Cloudflare free plan - https://community.cloudflare.com/t/...ads-over-100-mb-without-any-error/769260

Last edited by toner; 05/22/2026 12:42 PM.

[Linked Image from web.atcomsystems.ca]
Looking for a VoIP Phone Canada provider? Put Atcom's valuable VoIP expertise to work for your business today!
Joined: Aug 2024
Posts: 21
Likes: 2
Stranger
Stranger
Joined: Aug 2024
Posts: 21
Likes: 2
Ugg, although uploading a 130M file worked, >200M files developed a new error (see attached screenshot):

Quote
Attachment Manager

0.2 GB

<html><head><title>Error 500 - Internal Server Error</title><head><body><h1>Error 500 - Internal Server Error</h1><p>An error was encountered while processing your request. Typically this is a temporary condition. Please contact the web site owner for further assistance.</p></body></html>
Attachments
Screenshot 2026-05-22 110039.png

Last edited by toner; 05/22/2026 1:04 PM.

[Linked Image from web.atcomsystems.ca]
Looking for a VoIP Phone Canada provider? Put Atcom's valuable VoIP expertise to work for your business today!
Joined: Aug 2024
Posts: 21
Likes: 2
Stranger
Stranger
Joined: Aug 2024
Posts: 21
Likes: 2
Ok, the answer to the 500 error was to edit /etc/apache2/conf.d/modsec/modsec2.user.conf and add the following limits which increase max upload to 2G, then restart Apache.

Code
SecRequestBodyLimit 2097152000
SecRequestBodyNoFilesLimit 2097152000
SecRequestBodyInMemoryLimit 2097152000
SecRequestBodyLimitAction Reject


[Linked Image from web.atcomsystems.ca]
Looking for a VoIP Phone Canada provider? Put Atcom's valuable VoIP expertise to work for your business today!
Joined: Jun 2006
Posts: 16,532
Likes: 150
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,532
Likes: 150
Unfortunately you're in uncharted territory with advanced configurations needed for both your CDN (Cloudflare) and your web server (Apache).

UBB.threads is out of the box designed for default web server configurations, and it works for most users; however UBB.threads is a basic web application and we just assume your server is configured to run basic web applications. We cannot provide support for 3rd party services such as CloudFlare, or offer much advice for tuning your Web Server on these user to user forums, and you would likely require hands on toying with configurations for compatibility with such unique requirements such as you're needing for your forum.

Out of curiosity, why do you want users submitting such large files?


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Aug 2024
Posts: 21
Likes: 2
Stranger
Stranger
Joined: Aug 2024
Posts: 21
Likes: 2
It's for admins - not the average end user. We have certain resources behind a small subscription paywall, so these files need to be attachments on posts in the subscriber forums.


[Linked Image from web.atcomsystems.ca]
Looking for a VoIP Phone Canada provider? Put Atcom's valuable VoIP expertise to work for your business today!

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
PHP 8 bug in membermanage.tmpl
by phoenix011235 - 09/08/2026 7:47 PM
Are any of these legitmate?
by Baldeagle - 09/06/2026 1:37 PM
After server reboot
by Morgan - 09/02/2026 8:27 AM
Email Settings
by Outdoorking - 05/13/2026 2:44 AM
Who's Online Now
1 members (1 invisible), 304 guests, and 96 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Ride safe!
Ride safe!
by Morgan, December 7
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20260527)