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

(/cron/system.xml): failed to open stream: Permission denied #3

Open
jpcarpenter opened this issue Dec 11, 2018 · 0 comments
Open

(/cron/system.xml): failed to open stream: Permission denied #3

jpcarpenter opened this issue Dec 11, 2018 · 0 comments

Comments

@jpcarpenter
Copy link

When Going to save the Notification Settings within the plugin, the following PHP error gets thrown:

DOMDocument::save(/Users/jacobcarpenter/Documents/Sites/my-site/vendor/fatfish/notification/cron/system.xml): failed to open stream: No such file or directory

I've checked to see if the system.xml file is actually there, and it is. I explicitly set src in the path within the NotificationSettingService $storescript variable, then I got the following error:

DOMDocument::save(/Users/jacobcarpenter/Documents/Sites/my-site/vendor/fatfish/notification/src/cron/system.xml): failed to open stream: Permission denied

It seems like there are some funky permissions set on Notification plugin as well as the dependencies it requires. I attempted to remove the plugin completely with composer, but it kept saying it could not delete the /vendor/yii2tech/crontab directory. After having to manually go in and remove it via terminal, the same thing happened with files within the fatfish directory.

This happens on both a local build as well as on a dev server. Upon each error thrown, I am actually getting an email each time that has the error from above as the body - so the plugin is indeed working to some degree.

Craft Version: 3.0.17.1
OS: macOS Mojave 10.14.1
PHP: 7.0.32
MySql: 5.7.23

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

No branches or pull requests

1 participant