News:

AbanteCart v1.4.2 is released.

Main Menu

Do you like AbanteCart? Please rate AbanteCart or share your experience with other eCommerce entrepreneurs. Go to Softaculous rating page to add your rating or write a review

Error Log Message Continues

Started by SEMBAA, August 19, 2016, 12:31:25 PM

Previous topic - Next topic

SEMBAA

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.

SEMBAA

Also, most of my images are .jpg.  A few are .png.

rvalani

Hi Sembaa,
Try giving permission 777 and also go to the path and make sure you have image at the location..

SEMBAA

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.

eCommerce Core

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

SEMBAA

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.

eCommerce Core

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

SEMBAA

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?

Basara

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

Forum Rules Code of conduct
AbanteCart.com 2010 -