Hi,
Were you trying to upload an image file or php file?
I got in contact with my host and this was their reply:
First reply:
We have disabled modsecurity for the domain as this appeared to be causing an issue on the firewall.
However this does not appear to have fixed the issue. This may be a configuration issue in joomla, if you can let us know your Joomla logins, we can take a look. Please bear in mind that we are not joomla experts and any support we give give would be on a best effort basis.
Second reply after I gave them access:
Joomla has a file allow list that prevents you uploading files that are not pre-approved. You can view the List under Media and then clicking options on the right. The current allow list is below:
bmp,csv,doc,gif,ico,jpg,jpeg,odg,odp,ods,odt,pdf,png,ppt,swf,txt,xcf,xls,BMP,CSV,DOC,GIF,ICO,JPG,JPEG,ODG,ODP,ODS,ODT,PDF,PNG,PPT,SWF,TXT,XCF,XLS
According to the error message, the file type you tried to upload was of .php format and thus was rejected. If this was not the case, please attach the file that you were trying and the exact steps to recreate the issue and I will investigate further for you.
I tried uploading an image again but still not showing up in the comments section. I'm waiting for their response again.