I’m trying to load audio files larger than 5MB through the CMS dashboard and I’m getting the file exceeds the 5MB limit. Can this limit be changed?
Hey @ercross
How big is the audio file you are trying to upload? Your site is behind Cloudflare which has a 100MB upload limit when uploading files through the browser. Unfortunately this limit can’t be increased on Cloudflare’s free plan.
(I’m guessing this might be the issue, if not we can further investigate).
it was under 30mb. I can upload directly through the hosting portal. Just not through the CMS Dashboard or through Claude Ai.
Probably the CMS has a limit on the file size upload… @ben will know more on this!
Yeah, it’s not coming from the server side either. The PHP values there are:
upload_max_filesize 100M 100M
post_max_size 100M 100M
So @ben can look at the CMS side of things.
Hi @ercross,
yes, the Online Editor has a hard coded file size limit of 5MB. There’s no way currently to increase this limit via the Online Editor, but you can manually edit the config.php file to increase the limit.
If you edit the /rw/elements/com.elementsplatform.cms/editor/config.php file, you’ll find a 'max_upload_bytes' => 5242880, line, if you want to increase the limit to 10MB you would set it to ‘max_upload_bytes’ => 10485760.
The calculation for the limit is as follows: NUMBER_OF_MEGABYTES * 1024 * 1024
so 100MB would be 100 * 1024 * 1024
We will look at adding a setting for this in a future update.
you missed one folder:
/rw/elements/com.elementsplatform.cms/editor/lib/config.php
It works now! @ben Thanks!
@ben Uploading larger files through the CMS Dashboard is now working. However, I am still running into a snag having Claude Ai try to upload a larger file through the connector. It reports back:
The reason your dashboard takes 30 MB is that the dashboard uses a different upload path than this connector. The web dashboard respects the bigger max_upload_bytes (100 MB) and PHP limits you raised. The connector’s ticket API has its own separate, hard-coded 10 MB limit baked in that the dashboard doesn’t go through. So both can be true at once: dashboard = up to your PHP limit; connector = 10 MB max.
It’s not currently possible to modify the upload limit for MCP server when used in Claude. We’ll need to add a setting for this in the Online Editor.
I’ll add this as a feature request, we’ll definitely add it, I just don’t know when we’ll get to it!
quick update here to say that we’ve added a configuration option in the CMS Online Editor that allows you to specify the maximum file size for uploads. This will be in the next update ![]()