Jump to content

File Uploads in Admin maxing out at 2.6mb


caffeineben
 Share

Recommended Posts

I am running 3.0.210 and having issues uploading files larger than 2.6mb in the admin. Everything is working fine as long as the file is not bigger than 2.6mb. I tried uploading an 8.3mb file and a 20mb file in a file field. It shows the right file size beside the file name when you start uploading. The progress bar rolls through to 100%. Then when it his 100% the file size goes to 2MB.

If I then look at the file size using FTP - the file is 2.6mb.

I tried creating a new field and get the same result.

I tried uploading the same files (I have tried a couple files and behavior is the same) and it works fine on another site on the same server, exact same files.

Does anyone have an ideas what could be happening? Strange behavior and I can't figure it out. Wondering if I need to reinstall Processwire or upgrade it the latest release?

I appreciate any help!

Screenshot 2023-06-17 at 3.02.59 AM.png

Screenshot 2023-06-17 at 3.02.49 AM.png

Screenshot 2023-06-17 at 3.02.43 AM.png

Link to comment
Share on other sites

Some things to check first:

1. Check the value of the upload_max_filesize directive in your PHP configuration file (php.ini). If the value is set to 2.6MB or lower, it could be limiting the upload size. Increase the value to allow larger file uploads. After making changes to `php.ini`, restart your web server for the changes to take effect.

2. Check the post_max_size directive, it determines the maximum amount of data that can be sent in a POST request. If the uploaded file exceeds this limit, it can result in incomplete uploads or truncation. Make sure this is set to a size greater than the maximum file size you want to allow.

After that, if it still doesn't work, you could try looking at the web server configuration. In Apache, you may need to adjust the `LimitRequestBody` directive in your server configuration to allow larger file uploads.

  • Like 2
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...