Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: 404 for 2 Specific Woff2 Files #159

Open
WillStrohl opened this issue Jul 10, 2024 · 0 comments
Open

BUG: 404 for 2 Specific Woff2 Files #159

WillStrohl opened this issue Jul 10, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@WillStrohl
Copy link
Member

I'm seeing the following error a lot in the Admin Log:

HTTP Error Code 404 Page Not Found
[ ... ]
OriginalUrl: /Portals/_default/skins/dnn-community-2024/vendors/fontawesome/webfonts/fa-solid-900.woff2
Referer: https://dnncommunity.org/Portals/_default/skins/dnn-community-2024//vendors/fontawesome/css/all.css?cdv=949
Url: https://dnncommunity.org/Portals/_default/skins/dnn-community-2024/vendors/fontawesome/webfonts/fa-solid-900.woff2

And also the same error for the following file:
/Portals/_default/skins/dnn-community-2024/vendors/fontawesome/webfonts/fa-regular-400.woff2

I took a look at the web.config, and we appear to have the correct entry to support this.

      <remove fileExtension=".woff2" />
      <mimeMap fileExtension=".woff2" mimeType="font/woff2" />

Reference Used:

I also updated the mime type in IIS to match the newer spec that replaced application/font-woff2 (deprecated) and restarted IIS.

Before any of that, I inspected the all.css file to verify the lines where the woff2 references were. I was able to verify that the referenced path appears to be correct and that the file is there.

Despite the files all not being read-only and seeming to have the correct permissions, I re-applied permissions anyway.

After those troubleshooting steps, we're still seeing these errors in the event log over and over. 🤔

@WillStrohl WillStrohl added the bug Something isn't working label Jul 10, 2024
@Timo-Breumelhof Timo-Breumelhof self-assigned this Jul 18, 2024
@Timo-Breumelhof Timo-Breumelhof changed the title 404 for 2 Specific Woff2 Files BUG: 404 for 2 Specific Woff2 Files Jul 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants