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
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
I havent updated customizer release in a while. Try using the master, it might solve your problem. It's many updates beyond the latest release.
What do you mean by master? And I need the 1.14.2 - which is a patched release of your 1.14.2 release, see https://kanboard.discourse.group/t/solved-impossible-to-logout/3348/6, because of the logout issue that is decribed there.