Upload error uploaded file was too big: max filesize: 200MB

Hello.

I have a problem attaching file to Note and can’t solve the problem yet even the max size of files in php.ini and suitecrm are set enough.
This is the error I was in suitecrm.log

ERROR: uploaded file was too big: max filesize: 200MB

It says max filesize is 200MB and the value is the one I see in PHP.ini and Suitecrm Admin page currently.
But my file has only 5K volume and when I upload 1K text file it works.

I set memory_limit , post_max_size , upload_max_filesize to 1G just in case and also increased suitecrm max size to 1G but still got this

ERROR: uploaded file was too big: max filesize: 1G

There is another web page using php on the same server and it doesn’t have any problem with the size issue.

Could you please advise me?

Thank you

Have you restarted your service (apache2) to allow those changes to take place? Could you please run a repair and rebuild after that?

Thanks for your comment!

Yes. I restarted Apache and also executed Repair and Build.
It seem the change has been reflected on Suitecrm side because I was the value changed on the suitecrm.log.

Current setting is as attached.

php.ini

memory_limit = 128M
post_max_size = 32M
upload_max_filesize = 32M

and I still get this error.

[FATAL] ERROR: uploaded file was too big: max filesize: 32M

Thank you

I know this is an old thread… Check your system settings for Max Upload Size in SuiteCRM.
I had the same issue, and forgot all about this setting at the application level.