仪表板和登录页面完成空白的奏鸣曲管理包

时间:2014-08-19 22:11:51

标签: php symfony doctrine-orm sonata-admin sonata-user-bundle

大约3天前我更新了我的作曲家以安装另一个包。

从那以后我的/ admin / login和/ admin / dashboard路由完全空白(空白页面html)

没有错误,没有警告,没有。

如果我删除角色,我可以直接访问entites管理页面(例如/ admin / product / edit ...)。但是登录和仪表板仍然是空白的。

我随时重新安装捆绑包,我真的不知道我现在能做什么。

这是我的档案:


#app/config/config.yml

imports:
    - { resource: parameters.yml }
    - { resource: security.yml }
    - { resource: @VisaoAdminBundle/Resources/config/admin.yml }

framework:
    #esi:             ~
    translator:      { fallback: pt_BR }
    secret:          %secret%
    router:
        resource: "%kernel.root_dir%/config/routing.yml"
        strict_requirements: %kernel.debug%
    form:            ~
    csrf_protection: ~
    validation:      { enable_annotations: true }
    templating:
        engines: ['twig']
        #assets_version: SomeVersionScheme
    default_locale:  pt_BR
    trusted_proxies: ~
    session:         ~
    fragments:       ~

# fos-user
fos_user:
    db_driver: orm
    firewall_name: main
    user_class: Application\Sonata\UserBundle\Entity\User
    group:
        group_class: Application\Sonata\UserBundle\Entity\Group
        group_manager: sonata.user.orm.group_manager
    service:
        user_manager: sonata.user.orm.user_manager

sonata_user:
    manager_type: orm # can be orm or mongodb

# sonata-admin
sonata_admin:
    title:  Visão Brindes e Impressos
    title_logo: bundles/visaomain/images/logo_visao_brindes_admin.png

# sonata-block    
sonata_block:
    default_contexts: [cms]
    blocks:
        # Enable the SonataAdminBundle block
        sonata.admin.block.admin_list:
            contexts:   [admin]
        sonata.block.service.text:
        sonata.block.service.action:
        sonata.block.service.rss:
        # Your other blocks

# Twig Configuration
twig:
    debug:            %kernel.debug%
    strict_variables: %kernel.debug%

# Assetic Configuration
assetic:
    debug:          %kernel.debug%
    use_controller: false
    bundles:        [ ]
    #java: /usr/bin/java
    filters:
        cssrewrite: ~
        #closure:
        #    jar: %kernel.root_dir%/Resources/java/compiler.jar
        #yui_css:
        #    jar: %kernel.root_dir%/Resources/java/yuicompressor-2.4.7.jar

# Doctrine Configuration
doctrine:
    dbal:
        driver:   %database_driver%
        host:     %database_host%
        port:     %database_port%
        dbname:   %database_name%
        user:     %database_user%
        password: %database_password%
        charset:  UTF8
        types:
            json: Sonata\Doctrine\Types\JsonType
        # if using pdo_sqlite as your database driver, add the path in parameters.yml
        # e.g. database_path: %kernel.root_dir%/data/data.db3
        # path:     %database_path%
    orm:
       auto_mapping: true

# Swiftmailer Configuration
swiftmailer:
    transport: %mailer_transport%
    host:      %mailer_host%
    username:  %mailer_user%
    password:  %mailer_password%
    spool:     { type: memory }

谢谢!

0 个答案:

没有答案