Craft plugin that provides a new field type that offers end users an easy way to pick an icon from a .woff or .ttf font file. You can easily use ionicons or font awesome icons or any other compatible font file.
MIT License
16
stars
11
forks
source link
PHP Warning with resources-shared/css/fonts.css failed to open stream: Permission denied #17
I used the icon field on a page and everything works well, but as soon as I push everything to the AWS live server I get issues where the icons dont display on the front end page, and if I try to go the page in the admin backend, I get this error.
PHP Warning – yii\base\ErrorException
file_put_contents(/opt/bitnami/apps/craft/www/vendor/dolphiq/iconpicker/src/resources-shared/css/fonts.css): failed to open stream: Permission denied
I'm guessing its server permissions, but I cannot change the permissions. Is there any fix for this?! I want to use this plugin, but don't think I'll be able because of this. Also, it would be cool if I could store the font files in my /web/assets/fonts/ folder rather than the vendor folder.
I used the icon field on a page and everything works well, but as soon as I push everything to the AWS live server I get issues where the icons dont display on the front end page, and if I try to go the page in the admin backend, I get this error.
PHP Warning – yii\base\ErrorException file_put_contents(/opt/bitnami/apps/craft/www/vendor/dolphiq/iconpicker/src/resources-shared/css/fonts.css): failed to open stream: Permission denied
I'm guessing its server permissions, but I cannot change the permissions. Is there any fix for this?! I want to use this plugin, but don't think I'll be able because of this. Also, it would be cool if I could store the font files in my /web/assets/fonts/ folder rather than the vendor folder.
Thanks