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

peter törnstrand’s picture

Assigned: Unassigned » peter törnstrand
Status: Active » Fixed

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

timwood’s picture

Thanks! 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?

peter törnstrand’s picture

Are you subscribing? If not no mails are sent.

timwood’s picture

Wow, 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.

Anonymous’s picture

Hi 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?

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

jippie1948’s picture

Component: Miscellaneous » Code
Status: Closed (fixed) » Active

the same problem in my multilingual site.
What can I do about it?

Thanks,

JP.

peter törnstrand’s picture

Status: Active » Fixed

Just put a file named nodepicker.css in that directory.

jippie1948’s picture

Thanks,

it worked.

JanPieter

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.