Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Upload Product Image's


MrMayberry

Recommended Posts

I was processing pictures with ease until this last update? Maybe?

It will allow me to drop pictures into the add product/images page but will not save and complete the new product addition.

I go to my demo/old version and it appears to still be working with the same photo's?

Any help would be great as we have moved to live status...

Link to comment
Share on other sites

This appears to be in my log files:

2023-03-07 20:25:54 [50.43.166.121][-][b057d165e6ee217b431e35c0238c38f1][error][yii\base\ErrorException:2] yii\base\ErrorException: exif_read_data(3d56aaa65e6b97364382fa03b5fc9078): File not supported in /home/************/lib/common/classes/Images.php:848
Link to comment
Share on other sites

11 hours ago, MrMayberry said:

I was processing pictures with ease until this last update? Maybe?

It will allow me to drop pictures into the add product/images page but will not save and complete the new product addition.

I go to my demo/old version and it appears to still be working with the same photo's?

Any help would be great as we have moved to live status...

Could you send one of those images for testing?

Link to comment
Share on other sites

4 hours ago, MrMayberry said:

Sending now thru PM.

Thanks for the sample image.

This error may occur with PNG file with non standard EXIF under PHP >= 8.0

To fix that: open lib/common/classes/Images.php file, go to the line 848 and add @ before exif_read_data like this:

$exif = @exif_read_data($image);

It will be fixed in the next update (4.12) of osCommerce.

Link to comment
Share on other sites

3 hours ago, pandrei said:

Thanks for the sample image.

This error may occur with PNG file with non standard EXIF under PHP >= 8.0

To fix that: open lib/common/classes/Images.php file, go to the line 848 and add @ before exif_read_data like this:

$exif = @exif_read_data($image);

It will be fixed in the next update (4.12) of osCommerce.

Great job, fixed it like you said! Back up and running, thanks for the help.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...