You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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?