Page 1 of 1
Icons not showing! Journal Caching Problem! :(
Posted: Wed Jul 08, 2015 8:15 pm
by duranto2009
Hey guyz,
I have a store with OpenCart 1.5.6.4 with Journal 2.2.5 Theme installed.
After fully developing the site when I migrated the site from Beta Subdomain to my root domain sometimes I face a problem with the icons on the page. Everything looks perfect except the icons. Which I used via the Journal Theme option. Every piece of Journal Icons are causing problem to load. It shows a rectangular instead.
However browsing the site with some computer looks just the same it should.
I think I'm having some problem with Caching. Someone told me Journal 2.2.5 has some issue with caching system.
Any help?
Thanks in advance.
Re: Icons not showing! Journal Caching Problem! :(
Posted: Thu Jul 09, 2015 8:53 am
by IP_CAM
Scrap this Theme, the Top Menu category selection is weary crap, the 'untouched' Menu hides even some information, by default. You have a bag full strange sqares all over the place, in the
Page-Source, it looks, as if someone would have edited source Files with Windows Words, or something crazy like that. So, without CHECKING your Theme Source Files for the reason of such strange behaviour, it make no sense to guess around...
just my 2 cents.
Ernie
hitline.info/shop/
PS: Just found something here, to possibly give you an idea, at least:
http://www.opencart.com/index.php?route ... on_id=3262
Re: Icons not showing! Journal Caching Problem! :(
Posted: Mon Nov 02, 2015 8:26 pm
by costin19777
The problem : config.php
replace
http://domain.com with
http://www.domain.com
====================================================
define('HTTP_SERVER', '
http://www.domain.com/');
Re: Icons not showing! Journal Caching Problem! :(
Posted: Tue Dec 15, 2015 12:23 am
by LordMav
Put this text snippet in your .htaccess file.
# Fix Icons
<FilesMatch ".(ttf|otf|eot|woff)$">
<IfModule mod_headers.c>
Header set Access-Control-Allow-Origin "*"
</IfModule>
</FilesMatch>
Re: Icons not showing! Journal Caching Problem! :(
Posted: Thu Sep 01, 2016 8:30 pm
by mattslack
Thanks LordMav helped me out

Re: Icons not showing! Journal Caching Problem! :(
Posted: Thu Nov 03, 2016 4:59 pm
by rhorne
I've got this same issue but putting in that text snippet in my .htaccess doesn't work.
My icons display just fine on the http:// version of the site but not on the https://
My .htaccess file is setup to redirect not https:// users to the SSL version of the site. Any suggestions?
Re: Icons not showing! Journal Caching Problem! :(
Posted: Wed Nov 16, 2016 4:53 am
by xseon
I had the same issue as I had forced https loading for http.
define('HTTP_SERVER', '
https://example.com/');
I changed it the way it is below and now the icons and scripts are woring fine.
// HTTP
define('HTTP_SERVER', '
http://example.com/');
// HTTPS
define('HTTPS_SERVER', '
https://example.com/');
Re: Icons not showing! Journal Caching Problem! :(
Posted: Fri Sep 29, 2017 4:16 am
by Tajx
Thanks costin19777
Works like a charm OC v 2.0.1.0
Re: Icons not showing! Journal Caching Problem! :(
Posted: Tue Jul 17, 2018 2:44 pm
by mabanoz
Hello, my issue has been resolved. I am using Journaling 3 theme. You can see examples below.
Thank you for your help.
Print Screen:
http://prntscr.com/k7czsl
Nuts have established to make sales.
efindik.com www.efindik.com
# Fix Icons
<FilesMatch ".(ttf|otf|eot|woff)$">
<IfModule mod_headers.c>
Header set Access-Control-Allow-Origin "*"
</IfModule>
</FilesMatch>