0
votes

So I have been working with the sonata admin bundle the last two days. I have followed the instructions exactly @ http://sonata-project.org/bundles/admin/2-0/doc/reference/installation.html

This is the error I am getting:

[Symfony\Component\DependencyInjection\Exception\ParameterNotFoundException] You have requested a non-existent parameter "doctrine.connections".

I have yet found one bundle for symfony 2 that works with following there documentation. Its frustrating but i have no choice but to use symfony2.

1
You are probably trying to use the doctrine.connections variable in some config file, while you don't have it. Please show us your config files and the parameters.ini file.Samy Dindane
Can you show the stacktrace also?Samy Dindane
No backtrace. I get a 404 if i goto the website or if i work from CLI i get [Symfony\Component\DependencyInjection\Exception\ParameterNotFoundException] You have requested a non-existent parameter "doctrine.connections".user1444891
pastebin.com/VMfLkreq <- a grep of the codeuser1444891
Sorry no 404 error internal server error.user1444891

1 Answers

0
votes

I had the same issue and removing "version=origin/2.0" from my deps file for all the Sonata bundles fixed the issue after running the update vendors script.