我正在尝试在symfony项目中使用bootstrap。但是当我通过这个错误配置json文件时。然而,我已经包含了
new Braincrafted\Bundle\BootstrapBundle\BraincraftedBootstrapBundle()我已经从here上看过了
错误:
Script Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::clearCache handling the post-update-cmd event terminated with an exception
[RuntimeException]
An error occurred when executing the "'cache:clear --no-warmup'" command:
PHP Fatal error: Class 'Braincrafted\Bundle\BootstrapBundle\BraincraftedBo
otstrapBundle' not found in /home/kanat/Public/bootstrap/app/AppKernel.php我已经从here上看过了
发布于 2015-12-27 15:08:16
就像错误所说的,需要清除缓存,这可能是目录权限问题,将文件夹权限设置为读、写和执行,然后再次尝试清除缓存(在linux中应该是sudo chmod -R 777 *)
https://stackoverflow.com/questions/34473721
复制相似问题