Topic: Why do I have "GET ... FILE NOT FOUND" errors on page loading?

rjwadley free asked 6 years ago


I always have the same errors. My project is under the folder: /home/Experiments/computer_stuff/project/index.html   And on every page load I get the following errors: mdb.min.js:1 GET file:///home/Experiments/computer_stuff/font/roboto/Roboto-Light.woff2 net::ERR_FILE_NOT_FOUND (anonymous) @ mdb.min.js:1 mdb.min.js:1 GET file:///home/Experiments/computer_stuff/font/roboto/Roboto-Regular.woff2 net::ERR_FILE_NOT_FOUND index.html:1 GET file:///home/Experiments/computer_stuff/font/roboto/Roboto-Light.woff net::ERR_FILE_NOT_FOUND index.html:1 GET file:///home/Experiments/computer_stuff/font/roboto/Roboto-Regular.woff net::ERR_FILE_NOT_FOUND index.html:1 GET file:///home/Experiments/computer_stuff/font/roboto/Roboto-Light.ttf net::ERR_FILE_NOT_FOUND index.html:1 GET file:///home/Experiments/computer_stuff/font/roboto/Roboto-Regular.ttf net::ERR_FILE_NOT_FOUND   Is there something I'm doing wrong? Does this just not work? What can I do to fix it?

Jakub Strebeyko staff answered 6 years ago


Hi there rjwadley,

The error you're getting is caused by default file structure mdb.min.js is assuming regarding font location. According to it, fonts should be located in a font folder once "up" your project's html file's location, which would be in the computer stuff directory. The easiest way to resolve the issue would be in to organize files accordingly, that is having a main directory with folders such as css (where mdb.min.css would be stored), fonts (where fonts would be stored), html (where your project.html would be stored and developed), img, js and so on.

With Best Regards,
Kuba



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Resolved

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: General Bootstrap questions
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No
Tags