php - Not able to install Sonata Project -


i came across sanota project , wanted give try. trying install bundles of sanota project following quick installation steps mentioned here

and when run website php app/console server:run see white screen. dont see error in app_dev.log

i cross checked if bundles enabled in appkernel.php , seem be.

public function registerbundles()     {         $bundles = array(             // symfony standard edition             new symfony\bundle\frameworkbundle\frameworkbundle(),             new symfony\bundle\securitybundle\securitybundle(),             new symfony\bundle\twigbundle\twigbundle(),             new symfony\bundle\monologbundle\monologbundle(),             new symfony\bundle\swiftmailerbundle\swiftmailerbundle(),             new sensio\bundle\frameworkextrabundle\sensioframeworkextrabundle(),             new jms\aopbundle\jmsaopbundle(),             new jms\securityextrabundle\jmssecurityextrabundle(),             new symfony\bundle\asseticbundle\asseticbundle(),              // doctrine             new doctrine\bundle\doctrinebundle\doctrinebundle(),             new doctrine\bundle\migrationsbundle\doctrinemigrationsbundle(),              // knp helper bundles             new knp\bundle\menubundle\knpmenubundle(),             new knp\bundle\markdownbundle\knpmarkdownbundle(),             new knp\bundle\paginatorbundle\knppaginatorbundle(),              // user             new fos\userbundle\fosuserbundle(),             new sonata\userbundle\sonatauserbundle('fosuserbundle'),             new application\sonata\userbundle\applicationsonatauserbundle(),              // page             new sonata\pagebundle\sonatapagebundle(),             new application\sonata\pagebundle\applicationsonatapagebundle(),              // news             new sonata\newsbundle\sonatanewsbundle(),             new application\sonata\newsbundle\applicationsonatanewsbundle(),              // media             new sonata\mediabundle\sonatamediabundle(),             new application\sonata\mediabundle\applicationsonatamediabundle(),             // new liip\imaginebundle\liipimaginebundle(),              new ivory\ckeditorbundle\ivoryckeditorbundle(),              new sonata\adminbundle\sonataadminbundle(),             new sonata\doctrineormadminbundle\sonatadoctrineormadminbundle(),              // disable if don't want audit on entities             new simplethings\entityaudit\simplethingsentityauditbundle(),              // api             new fos\restbundle\fosrestbundle(),             new nelmio\apidocbundle\nelmioapidocbundle(),              // e-commerce             new sonata\basketbundle\sonatabasketbundle(),             new application\sonata\basketbundle\applicationsonatabasketbundle(),             new sonata\customerbundle\sonatacustomerbundle(),             new application\sonata\customerbundle\applicationsonatacustomerbundle(),             new sonata\deliverybundle\sonatadeliverybundle(),             new application\sonata\deliverybundle\applicationsonatadeliverybundle(),             new sonata\invoicebundle\sonatainvoicebundle(),             new application\sonata\invoicebundle\applicationsonatainvoicebundle(),             new sonata\orderbundle\sonataorderbundle(),             new application\sonata\orderbundle\applicationsonataorderbundle(),             new sonata\paymentbundle\sonatapaymentbundle(),             new application\sonata\paymentbundle\applicationsonatapaymentbundle(),             new sonata\productbundle\sonataproductbundle(),             new application\sonata\productbundle\applicationsonataproductbundle(),             new sonata\pricebundle\sonatapricebundle(),             new jms\serializerbundle\jmsserializerbundle($this),             new fos\commentbundle\foscommentbundle(),             new sonata\commentbundle\sonatacommentbundle(),             new application\sonata\commentbundle\applicationsonatacommentbundle(),              // sonata core & helper bundles             new sonata\easyextendsbundle\sonataeasyextendsbundle(),             new sonata\corebundle\sonatacorebundle(),             new sonata\intlbundle\sonataintlbundle(),             new sonata\formatterbundle\sonataformatterbundle(),             new sonata\cachebundle\sonatacachebundle(),             new sonata\blockbundle\sonatablockbundle(),             new sonata\seobundle\sonataseobundle(),             new sonata\classificationbundle\sonataclassificationbundle(),             new application\sonata\classificationbundle\applicationsonataclassificationbundle(),             new sonata\notificationbundle\sonatanotificationbundle(),             new application\sonata\notificationbundle\applicationsonatanotificationbundle(),             new application\sonata\seobundle\applicationsonataseobundle(),             new sonata\datagridbundle\sonatadatagridbundle(),              // search integration             //new fos\elasticabundle\foselasticabundle(),              // cmf integration             new symfony\cmf\bundle\routingbundle\cmfroutingbundle(),              // demo , qa - can deleted             new sonata\bundle\demobundle\sonatademobundle(),             new sonata\bundle\qabundle\sonataqabundle(),              // disable if don't want timeline in admin             new spy\timelinebundle\spytimelinebundle(),             new sonata\timelinebundle\sonatatimelinebundle(),             new application\sonata\timelinebundle\applicationsonatatimelinebundle(), // easy extends integration              new mopa\bundle\bootstrapbundle\mopabootstrapbundle()         ); 

no matter route access

/blog /page /media /admin 

all see white screen , no error in app_dev.log.

i using ubuntu xampp, other symfony projects working fine, except sonata project. xampp logs not mention error causing this. in fact cleared log files sonata related errors logged if , @ moments log files empty too.

while trying install using composer

composer create-project sonata-project/sandbox:dev-2.4-develop

or

composer create-project sonata-project/sandbox:dev-2.3-develop

or

composer create-project sonata-project/sandbox:2.3.x-dev

i following error

your requirements not resolved installable set of packages.    problem 1     - installation request doctrine/doctrine-migrations-bundle ~2.0@dev -> satisfiable doctrine/doctrine-migrations-bundle[2.0.x-dev].     - doctrine/doctrine-migrations-bundle 2.0.x-dev requires symfony/symfony >=2.0,<2.1 -> no matching package found.  potential causes:  - typo in package name  - package not available in stable-enough version according minimum-stability setting    see  more details.  read  further common problems. 

i followed these instructions no luck.

since first time sonata might doing wrong. appreciate on this.

you have change in file composer.json, line 34 to:

"doctrine/doctrine-migrations-bundle": "1.0.*",

after enter command in sandbox folder:

composer update

Comments

Popular posts from this blog

yii2 - Yii 2 Running a Cron in the basic template -

asp.net - 'System.Web.HttpContext' does not contain a definition for 'GetOwinContext' Mystery -

mercurial graft feature, can it copy? -