Skip to content

PHP Warning: copy(plugins/Customizer/Assets/css/userthemes/FGvW.css): Failed to open stream: Permission denied in C:\inetpub\wwwroot\kanboard\plugins\Customizer\Plugin.php on line 36 #158

@TineUser

Description

@TineUser

Hi all,

I'm using Kanboard for a long time. Now we migrated from an old system to a new one and from XAMPP (Windows) to IIS.

Here are some system information:

Kanboard Version: 1.2.43
Customizer Version: 1.14.2
PHP Version: 8.4.4
PHP SAPI: cgi-fcgi
HTTP-Client: cURL
OS Version: Windows NT 10.0 (Windows Server 2022)
Datenbanktreiber: sqlite
Datenbank Version: 3.46.0

When accessing Kanboard I always get this error in the PHP log file:

PHP Warning: copy(plugins/Customizer/Assets/css/userthemes/FGvW.css): Failed to open stream: Permission denied in C:\inetpub\wwwroot\kanboard\plugins\Customizer\Plugin.php on line 36

So I checked the permissions on the server. The data directory has write permissions to the users. If not, you won't be able to create tasks etc. Then I checked the folder permissions of plugins/Customizer/Assets/css/userthemes/ and here I had to add the write permission to the users. But the errors are still logged and the FGvW.css file won't be copied to plugins/Customizer/Assets/css/userthemes/.

But when going to the customizer plugin to see the theme settings the FGvW.css is copied to plugins/Customizer/Assets/css/userthemes/. So the permissions seem to be right now. But why isn't the copy working when accessing Kanboard? And why is the system trying to copy the file when accessing Kanboard without going to the customizer plugin?

Kind Regards

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