im using OC 3.0.2.0 and im trying to change the "no_image" or "default product image" by replacing the original PNG files in root/image/no_image.png
and root/image/placeholder.png. after deleting cached images in root/image/cache (like no_image40x40) and when i change the original PNG files, OC generates new resized versions in root/image/cache but the browser shows old images again. ctrl+f5 is not uselful either. the same result after ctrl+f5. i better add the new images are exactly the same size as originals.
should i clear some cache somewhere?
Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces
“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.
,unfortunately the same result again. still showing original OC default product image.
when there is no "no_image.png" in root/image, OC shows missing image icon. after bringing back the PNG file it shows old thumbnails again,
even the new generated thumbs are different!!!
Dashboard => top right => cog ?
I just did this by uploading exactly where you placed yours : placeholder.png to => *siteroot*/image/placeholder.png
Attachments
Screen-Shot-2019-08-07.png (52.06 KiB) Viewed 2861 times
DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.
https://www.youtube.com/watch?v=zXIxDoCRc84
If you have cleared your caching from the dashboard
then you might be on a server that is caching
and you might be that you have cleared your page and not cleared your browser
it could be set in your htaccess ..
but it is caching .. so leave the image you want exactly where it is supposed to be and try to clear your dashboard and your browser - check your server - and I am sure that letxobnav will help you with your headers if that is the issue - he is much better than me with that .. I am in ore and I spent YEARS trying to fix that to perfection !!!
But re-check everything else first ..
Have you got a module installed to speed up your website maybe?
DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.
https://www.youtube.com/watch?v=zXIxDoCRc84
i replaced the palceholder.png and left it in root/image for few hours and then something happened!
now when i check the store on my android phone with UC browser the new default image is in place! but no luck in other situations.
as u said its caching somewhere i dont know.
update 2
i checked the error list in admin panel. there are about 20 lines of these:
2019-08-08 5:10:07 - PHP Warning: unlink(/home2/mystore/storage/cache/cache.catalog.language.1565228400): No such file or directory in /home2/mystore/public_html/system/library/cache/file.php on line 68
does this problem has anything to do with the fact that im using OC with another language?
post your web address & a screen shot of the image it should be and we can check ..
DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.
https://www.youtube.com/watch?v=zXIxDoCRc84
So I think you are not clearing your stored images and files when clearing your browser correctly.
Sending different cache control headers does not help much as you do want the browser to cache images.
You could always force the issue by adding a parameter to the image filename to basically fool the cache that the filename has changed when it really hasn't.
like image.jpg would become image.jpg?v1.5 (anything behind the ? will do actually).
That is basically how you can force a cache update for javascript and css files to a new version without having to change the actual filenames.
Only drawback is that some proxies refuse to cache anything with a parameter but browsers are fine with it.
the first problem is a bug in OC.update 2
i checked the error list in admin panel. there are about 20 lines of these:
2019-08-08 5:10:07 - PHP Warning: unlink(/home2/mystore/storage/cache/cache.catalog.language.1565228400): No such file or directory in /home2/mystore/public_html/system/library/cache/file.php on line 68
does this problem has anything to do with the fact that im using OC with another language?
in catalog/model/localization/language.php
Code: Select all
$language_data = $this->cache->get('language');
Code: Select all
$language_data = $this->cache->get('catalog.language');
And no, using a different language has nothing to do with all of this.
Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces
“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.
i used a fresh installed virtual machine hosting a windows 7(i swear!). then i cleared OC cache form dashboard and also VQ cache. deleted all thumbs from root/image/cache. then i visited my store.
again
showing old thumbs out of nowhere!
when i check my cache from Cpanel and file manager, the new generated thumbs are NEW and CORRECT but when i visit this address
http://myWEIRDstore.confused/image/cach ... 28x228.png
my newly installed OS shows old thumbs!
scratching my head like what.
im using a SEO plugin. any clue? maybe it has a cache that i dont know.
DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.
https://www.youtube.com/watch?v=zXIxDoCRc84
Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces
“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.
Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces
“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.