Closed rifats closed 10 years ago
would be good if you post your composer.json configuration
"require": {
"php": ">=5.3.3",
"symfony/symfony": "~2.4",
"doctrine/orm": "~2.2,>=2.2.3",
"doctrine/doctrine-bundle": "~1.2",
"twig/extensions": "~1.0",
"symfony/assetic-bundle": "~2.3",
"symfony/swiftmailer-bundle": "~2.3",
"symfony/monolog-bundle": "~2.4",
"sensio/distribution-bundle": "~2.3",
"sensio/framework-extra-bundle": "~3.0",
"sensio/generator-bundle": "~2.3",
"incenteev/composer-parameter-handler": "~2.0",
"twig/twig": "1.*",
"sonata-project/block-bundle" : "dev-master",
"sonata-project/exporter" : "1.3.3",
"sonata-project/jquery-bundle" : "1.8.*",
"sonata-project/cache-bundle" : "dev-master",
"sonata-project/intl-bundle" : "dev-master",
"sonata-project/admin-bundle" : "dev-master",
"sonata-project/doctrine-orm-admin-bundle" : "dev-master",
"sonata-project/media-bundle" : "dev-master",
"sonata-project/core-bundle": "~2.2@dev",
"sonata-project/cache": "dev-master",
"sonata-project/user-bundle" : "dev-master",
"sonata-project/news-bundle": "dev-master",
"sonata-project/easy-extends-bundle": "dev-master",
"sonata-project/classification-bundle": "~2.2@dev",
"friendsofsymfony/comment-bundle": "dev-master",
"friendsofsymfony/user-bundle": "1.3.*",
"knplabs/knp-menu": "dev-master as 1.1",
"knplabs/knp-menu-bundle": "dev-master as 1.1",
"knplabs/knp-paginator-bundle": "~2.4",
"iphp/filestore-bundle": "dev-protected-files",
"avalanche123/imagine-bundle": "v2.1",
"genemu/form-bundle": "2.2.*@dev",
"pcdummy/ajaxcomplete-bundle": "dev-master",
"happyr/slugify-bundle": "dev-master",
"mopa/bootstrap-bundle": "dev-master",
"twbs/bootstrap": "v3.0.0"
},
look at the issue https://github.com/sonata-project/SonataAdminBundle/pull/2067, it could be a possible solution :)
Thank you. This solution for the first error. And what about the second:
CRITICAL - Uncaught PHP Exception Ivory\CKEditorBundle\Exception\ConfigManagerException: "The CKEditor config "blog" does not exist." at ...\vendor\egeloen\ckeditor-bundle\Ivory\CKEditorBundle\Exception\ConfigManagerException.php line 30.
Seems that you have an issue with your configuration for the second error. Could you paste it there?
Found here https://github.com/egeloen/IvoryCKEditorBundle/blob/master/Resources/doc/configuration.md I added it to the configuration:
ivory_ck_editor: configs: blog: toolbar: [ [ "Source", "-", "Save" ], "/", [ "Anchor" ], "/", [ "Maximize" ] ] uiColor: "#000000" filebrowserUploadRoute: "my_route" extraPlugins: "wordcount"
Thank you.
Thanks for the updates. But there are some problems.
List of blogs (.../app_dev.php/admin/sonata/news/post/list) causes the error:
CRITICAL - Uncaught PHP Exception Twig_Error_Runtime: "Variable "label_render" does not exist in "SonataAdminBundle:Form:filter_admin_fields.html.twig" at line 69".
Adding new blog (.../app_dev.php/admin/sonata/news/post/create) causes the error:
CRITICAL - Uncaught PHP Exception Ivory\CKEditorBundle\Exception\ConfigManagerException: "The CKEditor config "blog" does not exist." at ...\vendor\egeloen\ckeditor-bundle\Ivory\CKEditorBundle\Exception\ConfigManagerException.php line 30.
What to do?