Skip to content

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

@jpcarpenter

Description

@jpcarpenter

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions