Upgrade 7.3 to 7.4 file size reports as not set high enough. It is

Hi,

I upgraded from 7.1 to 7.3 ok. Now when I try to ugprade from 7.3 to 7.4 SuiteCRM keeps complaining that I need to set the max upload to greater than 6M. Well it is significantly larger than that. I’ve set it in not only the Apache2 but also the CLI php.ini and in SuiteCRM system itself to more than 30MB. In fact the logs throw the following error

ERROR: There was an error during upload. Error code: - . The upload_maxsize is 60000000
This is telling me that while it reads the PHP.ini as saying 60MB it is not respecting that value.

When I upload a file to a Note in a subpanel I get this error:
There was an error during upload. Error code: 1 - UPLOAD_ERR_INI_SIZE - The uploaded file exceeds the upload_max_filesize directive in php.ini… The upload_maxsize is 300000000

This is the value in SuiteCRM itself.

Anybody have any thoughts here. I know that permissions are good.

Thanks and I’ll keep hunting.
Jerry

I just migrated servers and am still on 7.2.1. Upload was working great but now I have the same problem. My upload max in PHP.ini is 128MB! I can’t even upload 1k file.

Did you ever figure out the cause?

I moved everything preserving all permissions and same directory structure. Everything works great except this.

I just figured out I used MB instead of M in the php max filesize

hello,

look file suitecrm/config.php

‘upload_maxsize’ => 30000000,

I hope you have help

Have you a solution to this

both upload_max_filesize and post_max_size are set to 64MB

I also increased upload_maxsize in config.php but it made no difference

Fixed it :slight_smile:

In file modules/UpgradeWizard/upload.php look at line 338

if(file_size.length >0){

change it to if(file_size.length >5000000000000){

Then upgrade works

thank you mike it works. just wondering what does this solve the problem…