Skip to content
This repository has been archived by the owner on Aug 22, 2024. It is now read-only.

PHP Warning with resources-shared/css/fonts.css failed to open stream: Permission denied #17

Open
mateostabio opened this issue Jan 11, 2019 · 1 comment

Comments

@mateostabio
Copy link

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

@medoingthings
Copy link

This (imho) has to do with step 4 in https://github.com/Dolphiq/craft3-iconpicker#installation.
The generated file is not there after deployment, I guess. So you need to make sure it is.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants