Path errors from relocated CSS files
Closed this issue · 4 comments
irandamay commented
After fixing the startup problem in #21, the font resources cannot be found by the CSS files now that the CSS files are nested an extra layer deeper. Updating all the paths that start with ../fonts
to start with ../../fonts
fixes it.
Error |
2014-05-27 14:01:47,257 [pool-3-thread-1] ERROR resource.ResourceMeta - While processing /bundle-bundle_fontawesome_head.css, /plugins/font-awesome-resources-4.0.3.1/css/font-awesome/font-awesome.css, a resource was required but not found: /plugins/font-awesome-resources-4.0.3.1/css/fonts/fontawesome-webfont.eot
Error |
2014-05-27 14:01:47,598 [pool-3-thread-1] ERROR resource.ResourceMeta - While processing /bundle-bundle_fontawesome_head.css, /plugins/font-awesome-resources-4.0.3.1/css/font-awesome/font-awesome.css, a resource was required but not found: /plugins/font-awesome-resources-4.0.3.1/css/fonts/fontawesome-webfont.eot
Error |
2014-05-27 14:01:47,884 [pool-3-thread-1] ERROR resource.ResourceMeta - While processing /bundle-bundle_fontawesome_head.css, /plugins/font-awesome-resources-4.0.3.1/css/font-awesome/font-awesome.css, a resource was required but not found: /plugins/font-awesome-resources-4.0.3.1/css/fonts/fontawesome-webfont.woff
Error |
2014-05-27 14:01:48,164 [pool-3-thread-1] ERROR resource.ResourceMeta - While processing /bundle-bundle_fontawesome_head.css, /plugins/font-awesome-resources-4.0.3.1/css/font-awesome/font-awesome.css, a resource was required but not found: /plugins/font-awesome-resources-4.0.3.1/css/fonts/fontawesome-webfont.ttf
Error |
2014-05-27 14:01:48,421 [pool-3-thread-1] ERROR resource.ResourceMeta - While processing /bundle-bundle_fontawesome_head.css, /plugins/font-awesome-resources-4.0.3.1/css/font-awesome/font-awesome.css, a resource was required but not found: /plugins/font-awesome-resources-4.0.3.1/css/fonts/fontawesome-webfont.svg
YueZhaoDreams commented
I encounter the same issue. Thank you so much to fix the #21 bug. If this bug is fixed, it would be really awesome!
I use asset-pipeline to access the resources.
In my application.css
/*
*= require font-awesome
*/
The font-awesome.css has been successfully imported. However, the files in fonts folder can't be found.
GET http://localhost:8080/fonts/fontawesome-webfont.woff?v=4.1.0 404 (Not Found) jquery-1.11.0.min.js:2
GET http://localhost:8080/fonts/fontawesome-webfont.ttf?v=4.1.0 404 (Not Found) :8080/fonts/fontawesome-webfont.ttf?v=4.1.0:1
GET http://localhost:8080/fonts/fontawesome-webfont.svg?v=4.1.0 404 (Not Found) :8080/fonts/fontawesome-webfont.svg?v=4.1.0#fontawesomeregular:1
halfbaked commented
4.1.0.1 is now published. Can someone confirm it fixes the issue?
YueZhaoDreams commented
Hi halfbaked. I confirmed. The plugin goes well on my project now. Thank you!
halfbaked commented
Great, thanks for letting me know.