File Upload

I was uploading files to document and all of a sudden uploads stopped working.

The max file size is set to 100M in SuiteCRM admin panel and in the php.ini, but I am getting this error anyways:

ERROR: There was an error during your upload, please contact an administrator for help.

  • Size of Upload (13589019 bytes) Exceeded Allowed Maximum: 8388608 bytes

To clarify, I have been able to upload documents that are much larger in size without problem.
There is plenty of disk space. The problem appeared suddenly.

Can you help please?

Thanks

That is strange…

If this has anything to do with Worklfows, you might be going in through a different channel (called PHP CLI), and a different php.ini will apply (you can have more than one php.ini in your system).

Other than that, I don’t know. Perhaps start by checking file ownerships and permissions on the upload folder, deleting suspicious files from there (like an interrupted download with the same name, etc.).

Solved:

I downloaded the php info and it showed that the php.ini was sitting in the different directory.

When I initially set it up, it was in a different directory.
Somehow my Apache2 switched folders where it gets the php.ini file.

I have no ideas what I did that caused this. :ohmy:

Anyways, once I changed the settings for max upload size in the new file, everything works.