Console log errors when using the Bootstrap styling
Console log errors when using the Bootstrap styling
Alex1
Posts: 18Questions: 8Answers: 0
GET https://example.com/fonts/glyphicons-halflings-regular.woff2
GET https://example.com/fonts/glyphicons-halflings-regular.woff
GET https://example.com/fonts/glyphicons-halflings-regular.ttf 404 (Not Found)
I already have Bootstrap CSS loaded, a customised Bootstrap theme CSS loaded, and the DataTables Bootstrap styling CDN CSS loaded but I still get these error messages?
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<link rel="stylesheet" type="text/css" href="//maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css"/>
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/1.10.15/css/dataTables.bootstrap.min.css"/>
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/responsive/2.1.1/css/responsive.bootstrap.min.css"/>
<link rel="stylesheet" href="/css/theme.css">
<link rel="stylesheet" href="/css/style.css">
This discussion has been closed.
Answers
what is your setup? At work, we found that woff2, woff and ttf files were blocked in our IIS servers web.config files. Once we fixed that, the 404s went away.
If your code is not a log, you can copy it over to jsbin.com and see if you still get the errors to confirm it is the server.