在几个月没有从事 Symfony 项目之后,我回到了它并做了一个composer update
更新我所有的依赖项。
一个过时的依赖项是 Sonata Admin,自那次更新以来我发现我查看的所有路径/admin/dashboard/
都已损坏 - 所以我的管理员很无聊。
这就是 Firefox 错误控制台所说的:
NetworkError: 500 Internal Server Error -
http://www.ayrshireminis.com/bundles/sonatacore/vendor/bootstrap/dist/css/bootstrap.min.css
NetworkError: 500 Internal Server Error -
http://www.ayrshireminis.com/bundles/sonatacore/vendor/components-font-awesome/css/font-awesome.min.css
NetworkError: 500 Internal Server Error -
http://www.ayrshireminis.com/bundles/sonatacore/vendor/ionicons/css/ionicons.min.css
NetworkError: 500 Internal Server Error -
http://www.ayrshireminis.com/bundles/sonatacore/vendor/select2/select2-bootstrap.css
NetworkError: 500 Internal Server Error -
http://www.ayrshireminis.com/bundles/sonatacore/vendor/bootstrap/dist/js/bootstrap.min.js
NetworkError: 500 Internal Server Error -
http://www.ayrshireminis.com/bundles/sonatacore/vendor/select2/select2.min.js
NetworkError: 500 Internal Server Error -
http://www.ayrshireminis.com/bundles/sonatacore/vendor/jquery/dist/jquery.min.js
NetworkError: 500 Internal Server Error -
http://www.ayrshireminis.com/bundles/sonatacore/vendor/select2/select2.css
这是在我的composer.json
:
"sonata-project/admin-bundle": "dev-master",
"sonata-project/doctrine-orm-admin-bundle": "2.2.7",
是否需要进行任何配置才能使其再次正常工作?我在它正在寻找的路径中没有这些脚本。