SonataAdminBundle: Sonata admin missing css file
Environment
Sonata packages
sonata-project/admin-bundle 3.30.0 3.30.1 The missing Symfony Admin Generator
sonata-project/block-bundle 3.9.0 3.9.0 Symfony SonataBlockBundle
sonata-project/cache 1.0.7 1.0.7 Cache library
sonata-project/cache-bundle 2.4.0 2.4.0 This bundle provides caching services
sonata-project/core-bundle 3.8.0 3.8.0 Symfony SonataCoreBundle
sonata-project/datagrid-bundle 2.2.1 2.x-dev 826bb09 Symfony SonataDatagridBundle
sonata-project/doctrine-extensions 1.0.2 1.0.2 Doctrine2 behavioral extensions
sonata-project/doctrine-orm-admin-bundle 3.3.0 3.3.0 Symfony Sonata / Integrate Doctrine ...
sonata-project/easy-extends-bundle 2.3.0 2.3.0 Symfony SonataEasyExtendsBundle
sonata-project/exporter 1.8.0 1.8.0 Lightweight Exporter library
sonata-project/notification-bundle 3.2.0 3.3.0 Symfony SonataNotificationBundle
sonata-project/page-bundle 3.7.0 3.7.0 This bundle provides a Site and Page...
sonata-project/seo-bundle 2.4.0 2.4.0 Symfony SonataSeoBundle
Symfony packages
symfony/assetic-bundle v2.8.2 v2.8.2 Integrates Assetic into Symfony2
symfony/monolog-bundle v3.1.2 v3.1.2 Symfony MonologBundle
symfony/phpunit-bridge v3.4.2 v4.0.2 Symfony PHPUnit Bridge
symfony/polyfill-apcu v1.6.0 v1.6.0 Symfony polyfill backporting apcu_* functions to lower PHP...
symfony/polyfill-intl-icu v1.6.0 v1.6.0 Symfony polyfill for intl's ICU-related data and classes
symfony/polyfill-mbstring v1.6.0 v1.6.0 Symfony polyfill for the Mbstring extension
symfony/polyfill-php56 v1.6.0 v1.6.0 Symfony polyfill backporting some PHP 5.6+ features to low...
symfony/polyfill-php70 v1.6.0 v1.6.0 Symfony polyfill backporting some PHP 7.0+ features to low...
symfony/polyfill-util v1.6.0 v1.6.0 Symfony utilities for portability of PHP codes
symfony/security-acl v3.0.0 v3.0.0 Symfony Security Component - ACL (Access Control List)
symfony/swiftmailer-bundle v2.6.7 v3.0.3 Symfony SwiftmailerBundle
symfony/symfony v3.3.14 v3.4.2 The Symfony PHP framework
PHP version
PHP 5.6.31-pl0-gentoo
Subject
Css for admin page does not load
I have installed sonata and ran
php app/console assets:install
All resources seems to install correctly but when I go to:
domain/app_dev.php/admin/dashboard
I am presented with this:

As you can see from the image all requests load except the one for font-awesome.min.css but the file does not exist anywhere in Sonata.
I also ran
bower install ./vendor/sonata-project/admin-bundle/bower.json
but that didn’t fix anything.
What am I missing???
NOTE: In the AdminLTE github project there is no font-awesome.min.css file. You can view the project here: https://github.com/almasaeed2010/AdminLTE/tree/master/dist/css
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 26 (14 by maintainers)
Right 👍
We should probably use there the new feature from admin bundle where you can add custom js css without overriding all files