Drupal Answers is a question and answer site for Drupal developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using WYSiWYG with CK editor. I am getting this error whenever i am trying to access a form with ckeditor.


[function.file-get-contents]: failed to open stream: HTTP request failed!

HTTP/1.1 404 Not Found in drupal_build_js_cache() (line 4846 of /var/www/html/dev3/wifh/includes/common.inc).

This file "wysiwyg_ckeditor_lMF9rzHK588_LcHaW11FHc_RkSCpdKrS7MgWsyqXXEM.js" exist with content

window.CKEDITOR_BASEPATH = '/MYSITE/sites/all/libraries/ckeditor/';
share|improve this question

This bug should be fixed in the latest dev snapshot of wysiwyg:

See also http://drupal.org/node/1802394 (which essentially provides a patch for the previous response above).

share|improve this answer
  1. Edit wysiwyg.module file

  2. Find this drupal_add_js(file_create_url($uri), $default_library_options);`

  3. Replace with this drupal_add_js($uri, $default_library_options);

share|improve this answer
Definitely the solution but more explanations are welcome. – wassimans May 17 '14 at 9:58

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.