Jump to content

Product Image upload function not working


Recommended Posts

All of a sudden, the ability to upload the image for a product has ceased to function.

After uploading an image, the screen shows nothing, with just the Backoffice-> Catalogue at the top (see attached screenshot).

When going back into the product, a red cross where the image should be shows the image did not upload.

Has anyone else come across this issue or is there an alternative more robust way of uploading images for products?

I've cross checked that the img folder has the correct attributes.

Anyone else come across this problem please?

27905_6R50X2xJhptngOVYpjFJ_t

27906_6nxxZgTNujtr2vxzi13E_t

Link to comment
Share on other sites

Okay thanks for the tip on displaying error messages - much appreciated.!

The resulting error, after uploading a JPG file of around 100KB is this:-

Warning: exec() has been disabled for security reasons in /home/dartdire/public_html/images.inc.php on line 80

This is line 80:-


$mime_type = trim(exec('file -b --mime-type '.escapeshellarg($file['tmp_name'])));


Paul

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...