Jump to content

Recommended Posts

Posted

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

Posted

The above images show (1) what it looks like when finished uploading, (2) what it looks like when uploading, and (3) the actual file with size on my computer.

Posted

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
Posted

Thanks netcarver. Checked all 3 potential fixes and none of them are causing the issue. It's so strange to me because I have other Processwire installations on the same server and they all work!

Posted
 
 
Does anyone know how to correct the error of the images that do not load in a slider? When uploading them, they remain loaded and it is not possible to complete the process. I appreciate your help. image.png.0045ef5d4b695a429d99a8f99578880b.png
 
 

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
  • Recently Browsing   0 members

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