Post by duranto2009 » Wed Jul 08, 2015 8:15 pm

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.
Last edited by duranto2009 on Wed Sep 02, 2015 4:22 pm, edited 1 time in total.

Regards,
duranto2009
http://www.marketplacebd.com


Newbie

Posts

Joined
Sun Feb 08, 2015 10:46 pm
Location - Dhaka, Bangladesh

Post by IP_CAM » Thu Jul 09, 2015 8:53 am

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

My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by costin19777 » Mon Nov 02, 2015 8:26 pm

The problem : config.php

replace http://domain.com with http://www.domain.com
====================================================
define('HTTP_SERVER', 'http://www.domain.com/');

Newbie

Posts

Joined
Fri Oct 04, 2013 8:25 pm

Post by LordMav » Tue Dec 15, 2015 12:23 am

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>

Newbie

Posts

Joined
Tue Dec 15, 2015 12:22 am

Post by mattslack » Thu Sep 01, 2016 8:30 pm

Thanks LordMav helped me out 8)

Newbie

Posts

Joined
Sun Jun 12, 2016 10:01 pm

Post by rhorne » Thu Nov 03, 2016 4:59 pm

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?

Active Member

Posts

Joined
Wed Jan 18, 2012 3:07 am

Post by xseon » Wed Nov 16, 2016 4:53 am

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/');

Deeper and Better Category Module
Mass Product Price Change


User avatar
New member

Posts

Joined
Thu Dec 01, 2011 3:04 pm
Location - Bulgaria

Post by Tajx » Fri Sep 29, 2017 4:16 am

Thanks costin19777
Works like a charm OC v 2.0.1.0

New member

Posts

Joined
Wed Aug 15, 2012 4:18 pm

Post by mabanoz » Tue Jul 17, 2018 2:44 pm

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>

Newbie

Posts

Joined
Tue Jul 17, 2018 2:35 pm
Who is online

Users browsing this forum: No registered users and 44 guests