kanboard-theme-spectre
kanboard-theme-spectre copied to clipboard
Not compatible with version 1.2.10 in Docker
I'm running Kanboard 1.2.10 in docker. I've installed Spectre in plugins/Spectre by git clone from github. Kanboard finds the plugin bu declares it incompatible despite the fact ispactre says >= 1.2.10
Not clear whether this is a bug in Kanboard or Spectre...
Here's the error log
2019/08/27 16:28:22 [error] 14#14: *4 FastCGI sent in stderr: "PHP message: PHP Warning: filemtime(): stat failed for plugins/Spectre/skin.min.css in /var/www/app/app/Helper/AssetHelper.php on line 37" while reading response header from upstream, client: 172.18.0.3, server: localhost, request: "GET /extensions HTTP/1.1", upstream: "fastcgi://unix:/var/run/php-fpm.sock:", host: "kanboard.hps.perlucida.uk"
So the missing minified css file is the problem?
Just change plugin.php from$this->hook->on('template:layout:css', ['template' => 'plugins/Spectre/skin.min.css']);
to $this->hook->on('template:layout:css', ['template' => 'plugins/Spectre/skin.scss']);