Having a hard time getting this module to work on D7:

It was not possible to properly load the XML response from the web server.
Raw response from the server:

What could this be?

Comments

Anonymous’s picture

After some fiddling, I got it to work by adding my sub-folder to $baseUrl.

zockerhausen.de’s picture

Hi there!

I have the same problem and have been trying to solve this for hours... :)

What do you mean by "adding my sub-folder to $baseUrl"? Can you post the exact line and where you entered it?

Thank you so much!

Rich_Weiss’s picture

I'm getting the same error. Anyone care to share their solution?

anou’s picture

Impossible de charger correctement la réponse XML du serveur web.
Erreur d'analyse XML : données incompréhensibles après l'élément de document Emplacement : http://www.MYDOMAIN.fr/sites/all/libraries/ckfinder/ckfinder.html?Type=Images&CKEditor=edit-body-value&CKEditorFuncNum=2&langCode=fr 
Numéro de ligne 2, Colonne 1 :Notice: Use of undefined constant DRUPAL_ROOT - assumed 'DRUPAL_ROOT' in /var/www/MYSUBFOLDER/includes/bootstrap.inc on line 2203
^
Réponse du serveur:
Notice: Use of undefined constant DRUPAL_ROOT - assumed 'DRUPAL_ROOT' in /var/www/MYSUBFOLDER/includes/bootstrap.inc on line 2203
Warning: require_once(DRUPAL_ROOT/includes/errors.inc) [function.require-once]: failed to open stream: No such file or directory in /var/www/MYSUBFOLDER/includes/bootstrap.inc on line 2203
Fatal error: require_once() [function.require]: Failed opening required 'DRUPAL_ROOT/includes/errors.inc' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/MYSUBFOLDER/includes/bootstrap.inc on line 2203

I think I have the same error, but in french...
Also looking for the solution. Try to put my MYSUBFOLDER in config.php but with no success...
hope to get some precision form #1...

Thanks.

anou’s picture

Still nobody with a precise solution for this ?

jrsinclair’s picture

Status: Active » Needs review

I've just pushed a fix for this. Apologies for the delay (I didn't realise I had to explicitly tell d.o to send me issue queue email).

I've changed the authentication function to define "DRUPAL_ROOT" so that bootstrap.inc doesn't die. I've tested successfully on my own system.

I also fixed the permissions to work properly with Drupal 7.

carlhinton’s picture

This has now been fixed with the latest version of the code found in repository 7.x-1.x-dev
Please go to /admin/settings/ckeditor to confirm the locations of your file directories.

carlhinton’s picture

Assigned: Unassigned » carlhinton
Status: Needs review » Closed (fixed)