Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

symfony2:You have requested a non-existent parameter "secret"

After installing and configured sonata admin. I have got following error in my framework. Please help..

You have requested a non-existent parameter "secret".

like image 517
Utkarsh Parekh Avatar asked Sep 10 '13 06:09

Utkarsh Parekh


2 Answers

Be sure to import your parameters.yml file at the top of you config.yml file

imports:
    - { resource: parameters.yml }
like image 154
Thomas K Avatar answered Sep 21 '22 16:09

Thomas K


In your parameters.yml, you must have an attribute "secret", because in your config.yml you have a reference to "secret" with this line : secret: %secret%

like image 25
Peekmo Avatar answered Sep 19 '22 16:09

Peekmo