AbanteCart Community

Shopping Cart Operations => Support => General Support => Topic started by: MLCS on July 23, 2012, 10:47:17 AM

Title: new upgrade removed no_image.jpg link
Post by: MLCS on July 23, 2012, 10:47:17 AM
I recently upgraded from 1.0.2 to 1.0.4 and it now seems that all my products that do not have an image linked to them do not show the "no_image.jpg" anymore
Anybody know how to fix this?
Title: Re: new upgrade removed no_image.jpg link
Post by: Mayank on July 23, 2012, 11:42:16 AM
all of your images not viewable?
Title: Re: new upgrade removed no_image.jpg link
Post by: MLCS on July 23, 2012, 11:43:50 AM
Only the ones that I have uploaded an image myself
Title: Re: new upgrade removed no_image.jpg link
Post by: abolabo on July 23, 2012, 02:31:50 PM
you can't upgrade by jump through  version from 1.0.2 to 1.0.4.
Changes of 1.0.3 are lost.
Title: Re: new upgrade removed no_image.jpg link
Post by: MLCS on July 23, 2012, 03:36:49 PM
I did 1.0.2 -> 1.0.3 -> 1.0.4
The reason I was at 1.0.2 whilst 1.0.3 was around was because of some "DIR" error...

However...theres still this problem...

Can you help please...
Title: Re: new upgrade removed no_image.jpg link
Post by: abantecart on July 24, 2012, 12:03:04 PM
Do you see images in resource library?
Try to clear cache for images in System -> Cache
Title: Re: new upgrade removed no_image.jpg link
Post by: abolabo on July 24, 2012, 01:33:22 PM
or try to delete all files from system/cache directory manually
Title: Re: new upgrade removed no_image.jpg link
Post by: James on July 25, 2012, 04:33:54 AM
I upgraded from 1.0.3 to 1.0.4 (using the upgrade files)

However, All images for category (The ones that image hasnt been uploded for) is not showing up. (not found)

Checked the image source this is how it shows

http://domain.com/home/domain/public_html/shop/resources/image/::::


Is this the same issue as posted by MLCS?
Title: Re: new upgrade removed no_image.jpg link
Post by: abolabo on July 25, 2012, 07:22:33 AM
Is this the same issue as posted by MLCS?

i don't know yet. did you tried to clear cache directory?
Title: Re: new upgrade removed no_image.jpg link
Post by: MLCS on July 29, 2012, 09:53:49 AM
I upgraded from 1.0.3 to 1.0.4 (using the upgrade files)

However, All images for category (The ones that image hasnt been uploded for) is not showing up. (not found)

Checked the image source this is how it shows

domain.com/home/domain/public_html/shop/resources/image/::::


Is this the same issue as posted by MLCS?

This is exactly the same
Title: Re: new upgrade removed no_image.jpg link
Post by: abolabo on July 30, 2012, 12:13:01 PM
so, guys, what about cache?
Title: Re: new upgrade removed no_image.jpg link
Post by: MLCS on July 30, 2012, 12:33:52 PM
Cleared the cache and nothing changed
Title: Re: new upgrade removed no_image.jpg link
Post by: abolabo on July 31, 2012, 08:43:27 AM
how you cleared, via UI or deleting files from system/cache directory? i need to know.
Title: Re: new upgrade removed no_image.jpg link
Post by: James on July 31, 2012, 10:05:50 AM
how you cleared, via UI or deleting files from system/cache directory? i need to know.

Cleared cache via UI / no luck..
Title: Re: new upgrade removed no_image.jpg link
Post by: abolabo on July 31, 2012, 11:05:31 AM
Cleared cache via UI / no luck..

what about manual deleting? :)
Title: Re: new upgrade removed no_image.jpg link
Post by: MLCS on July 31, 2012, 01:30:23 PM
Before I delete items from the system/cache I just want to make sure that it all comes back....

EDIT: I deleted the whole cache manually...and still the images dont show...this is getting stupid now

If you want to see what im on about please just go here: http://mylittlecrystalshop.com/ab/index.php?rt=product/category&path=4_24


EDIT2: I have just checked the directory for where the image is meant to be grabbed from and it says resources/image/::::
There are no images in that folder, apart from going into resources/image/18/6a(6b/6c/6d/6e etc.)
I think its just the grabbing of the image thats gone wrong somewhere...
Title: Re: new upgrade removed no_image.jpg link
Post by: abolabo on July 31, 2012, 04:46:35 PM
Before I delete items from the system/cache I just want to make sure that it all comes back....

EDIT: I deleted the whole cache manually...and still the images dont show...this is getting stupid now

If you want to see what im on about please just go here: http://mylittlecrystalshop.com/ab/index.php?rt=product/category&path=4_24


EDIT2: I have just checked the directory for where the image is meant to be grabbed from and it says resources/image/::::
There are no images in that folder, apart from going into resources/image/18/6a(6b/6c/6d/6e etc.)
I think its just the grabbing of the image thats gone wrong somewhere...

your "resource" folder or images are not symlinks?
 i found code where is it..
core/engine/resources.php line 282

please put something there like this var_dump($resource); before "return"

i still can't to replicate your trouble on my localhost :(
Title: Re: new upgrade removed no_image.jpg link
Post by: MLCS on August 05, 2012, 09:24:39 AM
Ok. Let me explain it better.

If you do "Inspect Element" over a picture that is "non-existent" then it has directory "resources/image/::::"
If you do "Inspect Element" over a picture that is "existent" then it has directory "image/thumbnails/18/70/PUMICE002JPG-100108-120x120.JPG"

Your coding somewhere for locating the "no_image.jpg" has gone wrong
Title: Re: new upgrade removed no_image.jpg link
Post by: abolabo on August 06, 2012, 05:20:29 AM
Hello.
Try to replace file /core/engine/resources.php
by attached file  and let me know.
Title: Re: new upgrade removed no_image.jpg link
Post by: MLCS on August 12, 2012, 08:48:55 AM
This solved it! Thankyou! <3

Ive locked this for you :)