Foros del Web » Programando para Internet » PHP » Symfony »

Problemas con SonataAdminBundle->SonataCoreBundle

Estas en el tema de Problemas con SonataAdminBundle->SonataCoreBundle en el foro de Symfony en Foros del Web. hola, es instalado Symfony 2.4.0, y estoy tratando de instalar SonataAdminBundle he siguido todos los pasos de la pagina oficial: http://http://sonata-project.org/bundles/admin/master/doc/reference/installation.html http://sonata-project.org/bundles/doctrine-orm-admin/master/doc/reference/installation.html http://sonata-project.org/bundles/admin/master/doc/reference/getting_started.html Pero me ...
  #1 (permalink)  
Antiguo 20/12/2013, 12:41
Avatar de raul_lazaro_frias  
Fecha de Ingreso: diciembre-2013
Mensajes: 1
Antigüedad: 10 años, 4 meses
Puntos: 0
Problemas con SonataAdminBundle->SonataCoreBundle

hola, es instalado Symfony 2.4.0, y estoy tratando de instalar SonataAdminBundle he siguido todos los pasos de la pagina oficial:
  1. http://http://sonata-project.org/bundles/admin/master/doc/reference/installation.html
  2. http://sonata-project.org/bundles/doctrine-orm-admin/master/doc/reference/installation.html
  3. http://sonata-project.org/bundles/admin/master/doc/reference/getting_started.html

Pero me salen los siguentes Exeption:

Unable to find template "SonataCoreBundle:FlashMessage:render.html.twi g" in SonataAdminBundle::standard_layout.html.twig at line 184.
500 Internal Server Error - Twig_Error_Loader
2 linked Exceptions: InvalidArgumentException » InvalidArgumentException »


[3/3] Twig_Error_Loader: Unable to find template "SonataCoreBundle:FlashMessage:render.html.twi g" in SonataAdminBundle::standard_layout.html.twig at line 184.

[2/3] InvalidArgumentException: Unable to find template "SonataCoreBundle:FlashMessage:render.html.twi g" : "Unable to find file "@SonataCoreBundle/Resources/views/FlashMessage/render.html.twig"

[1/3] InvalidArgumentException: Unable to find file "@SonataCoreBundle/Resources/views/FlashMessage/render.html.twig"

A alguien le paso lo mismo?
Se los agradecería mucho si me dan una mano

Saludos
  #2 (permalink)  
Antiguo 21/12/2013, 09:20
 
Fecha de Ingreso: diciembre-2013
Mensajes: 1
Antigüedad: 10 años, 4 meses
Puntos: 0
Respuesta: Problemas con SonataAdminBundle->SonataCoreBundle

Sorry I'm a french native speaker, so i'll answer in english.

For some reason, sonata admin dependencies are bound to:

sonata-project/core-bundle (2.2.2)

Which does not upload the Resources/view directory.

Just do that:

Cita:
C:\WORKSPACE\projects\site_maman>php composer.phar require sonata-project/core-bundle
Warning: This development build of composer is over 30 days old. It is recommended to update it by running "composer.phar self-update" to get the latest version.
Please provide a version constraint for the sonata-project/core-bundle requirement: dev-master
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
- Removing sonata-project/core-bundle (2.2.2)
- Installing sonata-project/core-bundle (dev-master 6c5da36)
Cloning 6c5da368355a0012462cda3c3595dac4e34635c5

Writing lock file
Generating autoload files
Updating the "app/config/parameters.yml" file
Clearing the cache for the dev environment with debug true
Installing assets using the hard copy option
Installing assets for Symfony\Bundle\FrameworkBundle into web/bundles/framework
Installing assets for Sonata\jQueryBundle into web/bundles/sonatajquery
Installing assets for Sonata\AdminBundle into web/bundles/sonataadmin
Installing assets for User\SiteBundle into web/bundles/usersite
Installing assets for Sensio\Bundle\DistributionBundle into web/bundles/sensiodistribution
If it does not work go to the git website and download manualy

hope i helped you

Etiquetas: Ninguno
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 15:09.