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/';

2 Answers 2


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).

  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);

  • Definitely the solution but more explanations are welcome.
    – wassimans
    May 17, 2014 at 9:58
  • please do not hack core or contrib modules.. Mar 28, 2017 at 9:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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