When using a Image field to upload an image when you click upload you get the error;

warning: exec() has been disabled for security reasons in #######sites/all/modules/mimedetect/mimedetect.module on line 160.

however it uploads the image fine

i am assuming this is because i have php on safe mode.

as it works fine is there some way to remove this error message?

Comments

drewish’s picture

Category: bug » support
Status: Active » Fixed

if you can't use exec then you'll need to make sure php's fileinfo extension is enabled otherwise mimedetect isn't doing anything. you can ask your isp to enable exec though.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.