trsteel88 / TrsteelCkeditorBundle

Symfony2 bundle for easy integration of the CKEditor WYSIWYG
97 stars 59 forks source link

Could not load type "ckeditor" #107

Closed Organicdareal closed 7 years ago

Organicdareal commented 7 years ago

I integrated the bundle on my project, and it's working fine on dev server, but as soon as I try to upload to my production server, i get the following error :

Could not load type "ckeditor"

Here is my AppKernel :

new Trsteel\CkeditorBundle\TrsteelCkeditorBundle(),

The line in the form type :

->add('content', 'ckeditor')

And my config.yml :

trsteel_ckeditor: class: Trsteel\CkeditorBundle\Form\Type\CkeditorType transformers: ['html_purifier'] toolbar: ['document', 'clipboard', 'editing', '/', 'basicstyles', 'paragraph', 'links', '/', 'insert', 'styles', 'tools'] toolbar_groups: document: ['Source','-','Templates'] clipboard: ['Cut','Copy','Paste','PasteText','PasteFromWord','-','Undo','Redo'] editing: ['Find','Replace','-','SelectAll'] basicstyles: ['Bold','Italic','Underline','Strike','Subscript','Superscript','-','RemoveFormat'] paragraph: ['NumberedList','BulletedList','-','Outdent','Indent','-','JustifyLeft', 'JustifyCenter','JustifyRight','JustifyBlock'] links: ['Link','Unlink','Anchor'] insert: ['Image','Flash','Table','HorizontalRule'] styles: ['Styles','Format'] tools: ['Maximize', 'ShowBlocks'] startup_outline_blocks: false filebrowser_image_browse_url: route: elfinder route_parameters: instance: default

i tried to run a composer update on production, dumped assets and assetics, dumped reference again, but still the same error.

Any idea ?

thanks

Organicdareal commented 7 years ago

I had to delete my project directory on production, and rebuild the deploy environment to get it to work