I'm getting page not found (404) errors for file "sites/all/modules/tinymce_node_picker/plugins/nodepicker.css." This error occurs when an edit page with the WYSIWYG is loaded. I've been getting these messages since before the recent 2.1 update. When viewing source on one of these pages, nodepicker.css is referenced in the JavaScript CDATA area. This .css file does not exist anywhere in the tinymce_node_picker folder.
Not sure if it matters but, we are using the "Optimize CSS files" feature in admin/settings/performance on this site.
<script type="text/javascript">
<!--//--><![CDATA[//><!--
jQuery.extend(Drupal.settings,...
{ "nodepicker": { "title": "Node picker", "icon": "/sites/all/modules/tinymce_node_picker/plugins/nodepicker/images/nodepicker.png", "iconTitle": "Insert link to internal content", "css": "/sites/all/modules/tinymce_node_picker/plugins/nodepicker/nodepicker.css" },...
//--><!]]>
</script>
Thanks,
-Tim Wood
Comments
Comment #1
peter törnstrand commentedIt seems that a CSS-file is references by default when creating WYSIWYG plugins. I have added an empty nodepicker.css file to resolve this problem. Fixed in HEAD.
Comment #2
timwoodThanks! I will test by doing the same as I'm not using HEAD. Question, why didn't I get notified about your reply via email?
Comment #3
peter törnstrand commentedAre you subscribing? If not no mails are sent.
Comment #4
timwoodWow, I really thought subscribing was done by simply adding a comment to an issue. I guess that is just to get it into your list of "My issues". I see now where to subscribe, took a bit to find it though. Wish there was just a way to subscribe to all issues in "My issues", instead of having to go to each project's issue queue.
Comment #5
Anonymous (not verified) commentedHi there,
I get the 404 error for nodepicker.css using the latest version. It seems like language prefixes aren't being taken into account. The file is being loaded twice:
1) http://my.site.com/sites/all/modules/tinymce_node_picker/plugins/nodepic... => 301 Permantenly Moved
2) http://my.site.com/de/sites/all/modules/tinymce_node_picker/plugins/nodepicker/nodepicker.css?C => 404 File Not Found
I'm using i18n and language prefixes. Is this a i18n or a nodepicker problem? Or Global Redirect even?
Comment #7
jippie1948 commentedthe same problem in my multilingual site.
What can I do about it?
Thanks,
JP.
Comment #8
peter törnstrand commentedJust put a file named nodepicker.css in that directory.
Comment #9
jippie1948 commentedThanks,
it worked.
JanPieter