sonata-project / sandbox

[Abandoned] Sonata Project's sandbox
https://sonata-project.org
MIT License
268 stars 198 forks source link

Can't edit block anymore in front-end #84

Closed Nicovery closed 11 years ago

Nicovery commented 11 years ago

I wanted to install FMElfinderBundle. I followed the step at https://github.com/egeloen/IvoryCKEditorBundle/blob/master/Resources/doc/file_browse_upload.md It updated my symfony config.

After that, I can't edit block in front-end anymore. Furthermore, before I had some div with the block id and now I have comments instead :

[html stuff...]

I thought it was the FMElfinderBundle that some ways broke something so I removed it. But the problem still the same.

Here the composer's update log :

EDIT : the last release of PageBundle the inline editing it's not enable by default. You need to activate it in the config (sonata_page.yml) sonata_page: is_inline_edition_on: true

But now I have another error : Notice: Undefined variable: page in /var/www/samr/vendor/sonata-project/page-bundle/Sonata/PageBundle/Admin/BlockAdmin.php line 119

EDIT : I tried with a fresh new install of sonata sandbox and still the same error.

rande commented 11 years ago

This is not an issue with the sanbox but with page bundle. Can you provide the block information which generated the error. I fix this here: https://github.com/sonata-project/SonataPageBundle/commit/3b88093cd25da609f8203112367413fa67d8c64f