tastyigniter / TastyIgniter

:fire: Powerful, yet easy to use, open-source online ordering, table reservation and management system for restaurants
https://tastyigniter.com
MIT License
2.98k stars 966 forks source link

[Bug]: FontAwesome not working #1042

Closed mvdcreativestudio closed 11 months ago

mvdcreativestudio commented 1 year ago

What happened?

Installed the system but fontawesome is not working

image

What did you expect to happen?

fix it

Version

3.x

What browser are you seeing the problem on?

Chrome

Relevant log output

fa-solid-900.woff2:1     Failed to load resource: the server responded with a status of 404 (Not Found)
fa-solid-900.ttf:1     Failed to load resource: the server responded with a status of 404 (Not Found)
fa-brands-400.svg:1     Failed to load resource: the server responded with a status of 404 (Not Found)
sampoyigi commented 11 months ago

This issue will be closed and archived in 3 days, as there has been no activity in the last 60 days. If this issue is still relevant or you would like to see it actioned, please respond and we will re-open this issue. If this issue is critical to your business, consider the Dedicated Support Service where a Service Level Agreement is offered.

zainvegeta commented 10 months ago

Got the same issue after fresh installation.

guamsites commented 3 months ago

I am having the same issue.

I don't think it's a permanent solution, but adding <link rel="stylesheet" href="//use.fontawesome.com/releases/v5.0.7/css/all.css"> to the head seems to help for now.

Update:

I changed the version from 5.0.7 to 6.0.0 and it works for me for now. <link rel="stylesheet" href="//use.fontawesome.com/releases/v6.1.1/css/all.css">

### Warning I would not recommend implementing this fix in a production environment.

How to add this

Open \app\admin\views\_layouts\default.blade.php

Find {!! get_style_tags() !!} Was line 12 for me

Add <link rel="stylesheet" href="//use.fontawesome.com/releases/v6.1.1/css/all.css"> BELOW

Save, and refresh page. (If fonts still don't show up, try ctrl+shift+r OR try in incognito)


_Environment Windows 11 Xampp Subdirectory modrewrite enabled htaccess updated according to documentation for subdirectories