Hi guys,
I am using a fresh install of OC, v2.3.0.2 and the default template.
As per the title, I am missing the Font Awesome Icons, as a lot of people are.
I tried directing everyone to www. only but that seemed to mess up the backend (dashboard) so I have directed everyone to non www.
I have updated the font awesome folder with the latest files.
Still no luck.
Any advice please?
Thanks
Will.
I am using a fresh install of OC, v2.3.0.2 and the default template.
As per the title, I am missing the Font Awesome Icons, as a lot of people are.
I tried directing everyone to www. only but that seemed to mess up the backend (dashboard) so I have directed everyone to non www.
I have updated the font awesome folder with the latest files.
Still no luck.
Any advice please?
Thanks
Will.
Hi
What do you have set for the web address in config.php and admin/config.php
Also, what do you have set in your .htaccess file
What do you have set for the web address in config.php and admin/config.php
Also, what do you have set in your .htaccess file
Hi,
I have non www, so http://mysite.co.uk for main config and admin config and htaccess is:
Thanks.
Will.
I have non www, so http://mysite.co.uk for main config and admin config and htaccess is:
Code: Select all
SetEnv PHP_VERSION 54
# Prevent Direct Access to files
<FilesMatch "\.(tpl|ini|log)">
Order deny,allow
Deny from all
</FilesMatch>
# Prevent Directoy listing
Options -Indexes
# SEO URL Settings
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} ^www [NC]
RewriteRule ^(.*)$ http://mysite.co.uk/$1 [L,R=301]
RewriteRule ^sitemap.xml$ index.php?route=feed/google_sitemap [L]
RewriteRule ^googlebase.xml$ index.php?route=feed/google_base [L]
RewriteRule ^download/(.*) /index.php?route=error/not_found [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !.*\.(ico|gif|jpg|jpeg|png|js|css)
RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA]
Will.
Thanks very much.
I have copied it and uploaded it but it is still the same.
Maybe it takes a few minutes/hours?
I will check and let you know later.
Thanks again for looking and helping.
Will.
I have copied it and uploaded it but it is still the same.
Maybe it takes a few minutes/hours?
I will check and let you know later.
Thanks again for looking and helping.
Will.
It should be instant.
You are substituting mysite.co.uk for your own domain I assume.
Also, the very first line may not be needed and may be causing a problem:
SetEnv PHP_VERSION 54
Finally, just double check that you have edited your config.php and admin/config.php to have all URL's without the www. prefix
You are substituting mysite.co.uk for your own domain I assume.
Also, the very first line may not be needed and may be causing a problem:
SetEnv PHP_VERSION 54
Finally, just double check that you have edited your config.php and admin/config.php to have all URL's without the www. prefix
The PHP version was 5.3, I have changed it to 5.6 and removed that code. (SetEnv PHP_VERSION 54).
Still no luck but maybe the php update takes a while?
I have the option to go to php 7 & 7.1, shall I do this?
Double checked the config files, the DIR is still www but the // HTTP & // HTTPS is non.
// DIR
define('DIR_APPLICATION', '/home/www/mysite.co.uk/catalog/');
define('DIR_SYSTEM', '/home/www/mysite.co.uk/system/');
define('DIR_IMAGE', '/home/www/mysite.co.uk/image/');
Thanks again
Will.
Still no luck but maybe the php update takes a while?
I have the option to go to php 7 & 7.1, shall I do this?
Double checked the config files, the DIR is still www but the // HTTP & // HTTPS is non.
// DIR
define('DIR_APPLICATION', '/home/www/mysite.co.uk/catalog/');
define('DIR_SYSTEM', '/home/www/mysite.co.uk/system/');
define('DIR_IMAGE', '/home/www/mysite.co.uk/image/');
Thanks again
Will.
If you would have posted a real Site URL, instead of that mysite.com thing, then, one could have checked,
on the Browser Source, if your link to the FontAwesome Icons really works !
Just to mention this!
Ernie
on the Browser Source, if your link to the FontAwesome Icons really works !

Just to mention this!
Ernie
My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
Hi Earnie,
Yeah, I know, websites not ready yet!
I might have found the problem, I have 2 admin foldes and so 2 header.tpl files?
I have 2 places fontawsome is:
\admin\view\javascript\font-awesome
admin\admin\view\javascript\font-awesome
Is this right?
Thanks
Will.
Yeah, I know, websites not ready yet!

I might have found the problem, I have 2 admin foldes and so 2 header.tpl files?
I have 2 places fontawsome is:
\admin\view\javascript\font-awesome
admin\admin\view\javascript\font-awesome
Is this right?
Thanks
Will.
It depends, some Custom Themes, even some other Extensions, add their own Crab, unaware of, that
it possibly already exists elswhere.
After a while, I had a few of them, beeing around all over the place!
So, if you just remove one set of those font-awesome Subs, some Pages may not longer display
Fontawesome Icons. They would have to be relinked all together, in order to get their stuff from a common
source!
But if you have two Admin Folders, then, you just got mixed up somewhere, when uploading something !
Ernie
it possibly already exists elswhere.

So, if you just remove one set of those font-awesome Subs, some Pages may not longer display
Fontawesome Icons. They would have to be relinked all together, in order to get their stuff from a common
source!
But if you have two Admin Folders, then, you just got mixed up somewhere, when uploading something !
Ernie
My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
Hi guys,
So this is driving me insane.
I remove the admin/admin folder, everything seems fine.
So I now have 1 font awesome folder but it’s still not working.
Anyway - here is my URL:
Font Awesome seems OK.
Thanks guys.
Will.
So this is driving me insane.
I remove the admin/admin folder, everything seems fine.
So I now have 1 font awesome folder but it’s still not working.
Anyway - here is my URL:
Font Awesome seems OK.
Thanks guys.
Will.
Last edited by willopencart on Thu Jan 26, 2017 1:19 am, edited 1 time in total.
well, did you really LINK your config.php settings correctly, by doing it like:
Code: Select all
ROOT:
// HTTP
define('HTTP_SERVER', 'http://buybbguns.co.uk/');
// HTTPS
define('HTTPS_SERVER', 'http://buybbguns.co.uk/');
---
ADMIN:
<?php
// HTTP
define('HTTP_SERVER', 'http://buybbguns.co.uk/admin/');
define('HTTP_CATALOG', 'http://buybbguns.co.uk/');
// HTTPS
define('HTTPS_SERVER', 'http://buybbguns.co.uk/admin/');
define('HTTPS_CATALOG', 'http://buybbguns.co.uk/');
My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
OK, so I need the config file in the admin file to get in the back end.
Done.
I still cannot see my mistake?
Thanks again
Will.
Done.
I still cannot see my mistake?
Thanks again
Will.
Last edited by willopencart on Wed Jan 25, 2017 3:14 am, edited 1 time in total.
Thanks, I have updated the htaccess file as per your suggestion, but still no icons!
This is crazy.
Thanks again.
Will.
This is crazy.
Thanks again.
Will.
what happen, if you temporarely remove this from your .htaccess ?
I believe to recall, to have experienced something similar before...
Ernie
Code: Select all
RewriteCond %{HTTP_HOST} ^www [NC]
RewriteRule ^(.*)$ http://mysite.co.uk/$1 [L,R=301]
Ernie
My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
Who is online
Users browsing this forum: No registered users and 29 guests