ckfinder/ckfinder-symfony-bundle

integration problem with fosckeditor

jmperruchini opened this issue · 2 comments

Hello,
I try to integrate ckfinder with fosckeditor for my symfony 4 project, it does not work !

in my form i try this :

class SfGeckoCourrierType extends AbstractType
{
public function buildForm(FormBuilderInterface $builder, array $options)
{
$builder
->add('header',CKEditorType::class,array(
'config'=>array(
'toolbar'=>'default',
'filebrowserBrowseUrl' => '/bundles/cksourceckfinder/ckfinder/ckfinder.html',
'filebrowserBrowseRoute'=> 'ckfinder_connector',
)
))
// ...
}
}

when i want to explore server, i have in url => https://mysite/ckfinder/connector?CKEditor=sf_geco_courrier_spec_contenuCourrier_header&CKEditorFuncNum=1&langCode=fr and a error json response => {"error":{"number":10,"message":"Commande invalide."}}
I tried to set all your process, it works if i don't use fosckeditor and only javascript ckeditor generate. Have you try to integrate your bundle with fosckeditor ?

Sincerely Yours,

JMarc