Font error message

Joomla template for easily build sports magazine website with advanced content display features and clean, unique design.
GK User
Sat Apr 06, 2013 6:01 pm
In my error log I can constantly find following error message:

[Sat Apr 06 18:51:29 2013] [error] [client 178.223.40.72] File does not exist: /usr/www/users/redstarb/templates/gk_sporter/fonts/BebasNeue/BebasNeue-webfont.eot) format("eot"), url(BebasNeue-webfont.woff) format("woff"), url(BebasNeue-webfont.ttf) format("truetype"), url(BebasNeue-webfont.svg, referer: http://www.redstarbelgrade.info/
User avatar
Fresh Boarder

GK User
Sun Apr 07, 2013 11:49 am
Hi, hmm that's strange because you have this file on your sever: templates/gk_sporter/fonts/BebasNeue/BebasNeue-webfont.eot, BebasNeue-webfont.ttf also BebasNeue-webfont.woff - I've checked.

It looks like server is searching a long string not a code with fonts.

You can try to modify a little templates/gk_sporter/fonts/BebasNeue/stylesheet.css


FROM
Code: Select all
@font-face {
    font-family: 'BebasNeue';
    src: url('BebasNeue-webfont.eot') format('eot'),
         url('BebasNeue-webfont.woff') format('woff'),
         url('BebasNeue-webfont.ttf') format('truetype'),
         url('BebasNeue-webfont.svg#webfontfvFLBU0N') format('svg');
    font-weight: normal;
    font-style: normal;
}


TO
Code: Select all
@font-face {
    font-family: 'BebasNeue';
    src: url('http://www.redstarbelgrade.info/templates/gk_sporter/fonts/BebasNeue/BebasNeue-webfont.eot') format('eot'),
         url('http://www.redstarbelgrade.info/templates/gk_sporter/fonts/BebasNeue/BebasNeue-webfont.woff') format('woff'),
         url('http://www.redstarbelgrade.info/templates/gk_sporter/fonts/BebasNeue/BebasNeue-webfont.ttf') format('truetype'),
         url('http://www.redstarbelgrade.info/templates/gk_sporter/fonts/BebasNeue/BebasNeue-webfont.svg#webfontfvFLBU0N') format('svg');
    font-weight: normal;
    font-style: normal;
}


Maybe it will help. Check.
User avatar
Platinum Boarder

GK User
Sun Apr 07, 2013 12:26 pm
Thanks1

It looks that it is sorted now. :D
User avatar
Fresh Boarder

GK User
Sun Apr 07, 2013 12:58 pm
Hmmm, actualy problem stil exists :unsure:
User avatar
Fresh Boarder

GK User
Sun Apr 07, 2013 3:43 pm
I don't have more ideas, try to ask hosting support.
All links looks good, files exist.
User avatar
Platinum Boarder

GK User
Tue Feb 04, 2014 12:14 pm
Aloha.
It can be related with you live site URL.
Please check this behavior with and without www in your url.
If live site from configuration,php didn't work please consider using .htaccess .

You can place there:

RewriteCond %{HTTP_HOST} ^mydomain.com [NC]
RewriteRule ^(.*)$ http://www.mydomain.com/$1 [L,R=301]

In my case it was the reason of such error.
Ciao. Pawka
User avatar
Junior Boarder


cron