MG 2.0 Cannot upload a file I should be able to

Mr Lucky

Well-known member
I am testing Media gallery, and I am unable to upload a file of 9.5MB, even though I have permissions up to 40MB and loads of storage quota available. Can anyone explain why this might be, thanks.

upload.webp
 
This error is because the file is too large for PHP to actually accept the file (thus the max file size won't actually matter).

You need to increase upload_max_filesize (and possible post_max_size) in your php.ini file. This has to be done there as by the time PHP starts up (and XF starts), it's too late to change it.
 
Thanks Matt

Mike, would it be possible that the error message made it this obvious as I was scratching my head and testing and checking permissions for quite a while.
 
Top Bottom