Call to undefined function: exif_imagetype

If you recieve an error "Fatal error: Call to undefined function: exif_imagetype() in /my/path/ on line 110", this means your server's install of PHP does not have ExIf compiled in. You would need to ask your host to recomiple PHP for you with this module. You can also disable the use of exif, by editing the file and commenting out this section of code.

if (exif_imagetype($config["listings_upload_path"] . '/' . $save_name) === false) {
unlink($config["listings_upload_path"] . '/' . $save_name);
return false;

Please not that removing this check would allow agents using the CSVLoader to import files that are not really images and is a possible security risk if you do not trust all your agents.
  • 284 Users Found This Useful
Was this answer helpful?

Related Articles

File type doesn't match:

Q: I get the error "File type doesn't match:" when I try and upload my CSV File.A. If...