I get an error 500 when trying to upload an image to server in CKEditor (for example when using print/merge document action), when the KCFinder new window opens. The URL called is :
I thought about a https related problem, but this URL :
https://subdomain.mysite.com/sites/all/modules/civicrm/packages/kcfinder/
...is working fine and opens the KCFinder file browser.
Does anyone encountered this problem ? I can't reproduce it on demo site, I am running CiviCRM 4.7.10 with Drupal 7.50. I don't have anything in Apache logs.
I suspect a file / folder permissions issue too, does anyone have an idea on what is going on ?
Thank you
EDIT
I was able to open the file browser using this URL :
https://subdomain.mysite.com/sites/all/modules/civicrm/packages/kcfinder/browse.php??cms=civicrm&type=images&CKEditor=html_message&CKEditorFuncNum=95&langCode=fr (note the "??" just after "browse.php")
...but
https://subdomain.mysite.com/sites/all/modules/civicrm/packages/kcfinder/browse.php?cms=civicrm&type=images&CKEditor=html_message&CKEditorFuncNum=95&langCode=fr (only one "?" after "browse.php") still gives me an error 500.
very confusing...