Post by ozstar » Thu Jun 23, 2022 7:43 am

Hi,

What does this mean ?

Notice: getimagesize(): Read error! in /home/starreco/public_html/admin/model/tool/image.php on line 14

Shows on top of Product Page in Admin.

Thanks

oz
Last edited by ozstar on Fri Jun 24, 2022 3:21 pm, edited 1 time in total.

Active Member

Posts

Joined
Fri Mar 09, 2012 7:47 am
Location - Sydney OZ

Post by ADD Creative » Thu Jun 23, 2022 5:44 pm

It means one of your image files has something wrong with it.

It also looks like you have display errors on. If your site is a live site you need to switch off displaying of errors.

You need make sure display errors in set to off in all 3 places. Your PHP settings, in system/config/default.php and in the settings. Not only can this cause minor notices and warnings to cause bigger errors, it can also be a security risk.

1. In your PHP settings make sure display_errors is set to Off. Use phpinfo() to check. It should be off by default, but there are lots of rubbish hosts out there.

2. In system/config/default.php set error_display to false.

3. In your OpenCart Setting on the server tab set Display Errors to No.

www.add-creative.co.uk


Expert Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by halfhope » Thu Jun 23, 2022 5:48 pm

ozstar wrote:
Thu Jun 23, 2022 7:43 am
Notice: getimagesize(): Read error! in /home/starreco/public_html/admin/model/tool/image.php on line 14
Hi!

1. Some of your images has size 0 bytes
2. Image has incompatible type

My extensions in marketplace. [ security | flexibility | speedup ]


User avatar
Active Member

Posts

Joined
Tue Dec 10, 2013 9:44 pm
Location - San Diego

Post by paulfeakins » Thu Jun 23, 2022 5:53 pm

halfhope wrote:
Thu Jun 23, 2022 5:48 pm
1. Some of your images has size 0 bytes
2. Image has incompatible type
3. File Permissions, files should be 644.

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Guru Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by thekrotek » Thu Jun 23, 2022 6:15 pm

Short version: image bad, fix nows.

Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com


User avatar
Expert Member

Posts

Joined
Sun Jul 03, 2016 12:24 am


Post by ozstar » Fri Jun 24, 2022 8:24 am

Many thanks guys.

Now to find to fix !

Active Member

Posts

Joined
Fri Mar 09, 2012 7:47 am
Location - Sydney OZ

Post by phpscript7 » Fri Jun 24, 2022 3:06 pm

If it is solved now you write [Solved] in the title - Thank you

New member

Posts

Joined
Wed Jan 04, 2017 3:55 pm

Post by ozstar » Sat Jun 25, 2022 12:20 pm

Solved a to where the problem could/would be by helpful folk, but not solved as to where I have found the problem and fixed it. That is another story :-)

Active Member

Posts

Joined
Fri Mar 09, 2012 7:47 am
Location - Sydney OZ
Who is online

Users browsing this forum: Google [Bot], jagall, moreduff and 263 guests