Please help us to make AbanteCart Ideal Open Source Ecommerce Solution for everyone.

Support AbanteCart eCommerce

Author Topic: Error Log Message Continues  (Read 9631 times)

Offline SEMBAA

  • Newbie
  • *
  • Posts: 10
  • Karma: +1/-0
    • View Profile
    • Michael Publishing
Error Log Message Continues
« on: August 19, 2016, 12:31:25 PM »
My error log keeps getting filled up with this message (changed my real domain with "mydomain"):

App Error: AbanteCart core v.1.2.7 Error: Cannot get image size of file /home/mydomain/public_html/store/resources/. File not found or it's not an image! in /home/mydomain/public_html/store/core/helper/utils.php on line 1116

I read previous posts about this that said to change the permissions of the files and folders of images.  But no posts stated what the correct permissions were.  Right now, the resources/downloads and resources/images are all set to 755.

What am I missing here?  BTW, I am not well-versed in code.  Thanks for any assistance.

Offline SEMBAA

  • Newbie
  • *
  • Posts: 10
  • Karma: +1/-0
    • View Profile
    • Michael Publishing
Re: Error Log Message Continues
« Reply #1 on: August 19, 2016, 12:38:51 PM »
Also, most of my images are .jpg.  A few are .png.

rvalani

  • Guest
Re: Error Log Message Continues
« Reply #2 on: August 19, 2016, 12:55:40 PM »
Hi Sembaa,
Try giving permission 777 and also go to the path and make sure you have image at the location..

Offline SEMBAA

  • Newbie
  • *
  • Posts: 10
  • Karma: +1/-0
    • View Profile
    • Michael Publishing
Re: Error Log Message Continues
« Reply #3 on: August 21, 2016, 11:51:01 AM »
I changed all image permissions to 777, but the error log message above returns.  I clear the log and about 100 of the same message appears.  It doesn't seem to negatively impact my store performance.  Any other help is appreciated.

Offline eCommerce Core

  • Administrator
  • Hero Member
  • *****
  • Posts: 1602
  • Karma: +93/-1
    • View Profile
Re: Error Log Message Continues
« Reply #4 on: August 21, 2016, 04:01:58 PM »
This issues is not related to file permissions.
You have some resource that accessing images file size with missing image. Most likely it happens in admin.

This is tricky as you might have some resource that have incorrect type or missing image.
“If you’re in the luckiest one per cent of humanity, you owe it to the rest of humanity to think about the other 99 per cent.”
― Warren Buffett

Offline SEMBAA

  • Newbie
  • *
  • Posts: 10
  • Karma: +1/-0
    • View Profile
    • Michael Publishing
Re: Error Log Message Continues
« Reply #5 on: August 22, 2016, 11:01:31 AM »
Thank you for your response ecommerce.  Some of my image folders are empty - could that be the problem?  These were pre-loaded images that were present after my initial install.  They had nothing to do with my products. 

I could see where some of the deleted images are used for blocks or templates that are not being used by my store.  Like I said before, these error messages do not seem to interfere with my store's operation.

When you say "admin", do you mean the admin sub-folder under public_html?  If so, what do I look for there?  I have never changed any file or folder in the admin area.

Offline eCommerce Core

  • Administrator
  • Hero Member
  • *****
  • Posts: 1602
  • Karma: +93/-1
    • View Profile
Re: Error Log Message Continues
« Reply #6 on: August 22, 2016, 05:43:41 PM »
If some folders in images are empty it can be a problem if some files were deleted. This will explain the error with no image file in it.
What I meant by admin is admin control panel interface, not folder.
“If you’re in the luckiest one per cent of humanity, you owe it to the rest of humanity to think about the other 99 per cent.”
― Warren Buffett

Offline SEMBAA

  • Newbie
  • *
  • Posts: 10
  • Karma: +1/-0
    • View Profile
    • Michael Publishing
Re: Error Log Message Continues
« Reply #7 on: August 23, 2016, 11:48:36 AM »
Would the error messages stop if I uploaded my own images in the empty folders?  I really didn't need photos of Armani perfume, but I may need images of my products in the future if I start using those Blocks.

Sorry for this, but when you say "problem" are you referring to the operation of the store, or just the fact that error messages are set?

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 6143
  • Karma: +284/-2
    • View Profile
Re: Error Log Message Continues
« Reply #8 on: August 25, 2016, 04:25:40 AM »
Hello.

I think your problem related to incorrectly deleted image resources when you delete images not from Admin > Catalog > Media Manager  - in this case image is removed physically but still present in your database.
or incorrect image resource  - if image broken or not supported image so when server trying to do anything with it but he can not

 

Powered by SMFPacks Social Login Mod