Page 1 of 1

[SOLVED] Images in Admin dissapear

Posted: Sun Jun 05, 2016 1:36 am
by Zarco
Hi!
I have installed Opencart 2.0 version and everything was working fine, but suddenly all the small images of the admin icons dissapear.
Any ideas of what happens ??

Thanks

Re: Images in Admin dissapear

Posted: Sun Jun 05, 2016 3:55 am
by AlexDW
Check for file admin/view/javascript/font-awesome/css/font-awesome.min.css in your opencart folder

Re: Images in Admin dissapear

Posted: Sun Jun 05, 2016 7:08 am
by impairedspook
Hi Zarco,

The font awesome icons generally will display as squares when you go to your site using a different URL that is specified in your config files... example, if your config file has

CODE: SELECT ALL
define('HTTP_SERVER', 'http://www.example.com/admin');


but your visit your site using

CODE: SELECT ALL
http://example.com/admin


You will see the squares instead of the proper icons,

You want to check config.php in your home directory along with admin/config.php. I would recommend deciding on a URL (with or without www), making sure both config files specify what you have decided to use and then setup a 301 redirect to redirect the URL you are not using to the one you have decided on...

Hope this helps :)
impairedspook

Re: Images in Admin dissapear

Posted: Thu Jun 09, 2016 6:06 am
by davidcropley
You need this in your html on a page...

Code: Select all

<link href="https://fortawesome.github.io/Font-Awesome/assets/font-awesome/css/font-awesome.css" rel="stylesheet"><h5></h5>
This will update the asset. :drunk:

Re: Images in Admin dissapear

Posted: Sat Jun 11, 2016 5:35 am
by Zarco
Hi !

Thanks impairedspook you were right!

I just make a redirection 301 in the .htaccess and everything is working right again!

Thank you soo much!!
:)