Closed (won't fix)
Project:
Javascript Tools
Version:
6.x-1.0
Component:
Collapsiblock
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
3 Oct 2009 at 08:04 UTC
Updated:
12 Sep 2011 at 02:18 UTC
I'm getting using jstools and collpsiblock.
I'm getting an error in watchdog:
Type: page not found
Location http://www.domainname.com/sites/all/modules/jstools/jquery.cookie.js?m
Referrer http://www.domainname.com/admin/reports/dblog
Message 406.shtml
Severity warning
It happens on pretty much everypage and only when collapsiblock is turned on (probably because it's the only module that calls jstools and jquery.cookie). When I go to view source in firefox and see the jquery.cookie.js file it doesn't load it (although it's present in the folder). When I enable 'javascript optimization' the problem goes away, but I need to disable it while I'm in development.
Any help would be appreciated.
Comments
Comment #1
nedjoI vaguely remember a similar error report that had to do with server configuration not allowing access to this file.
Comment #2
aspilicious commentedThe problem is that your host blocks the file name "jquery.cookie.js" for some reason. Js aggregation aggreagtes js in a file with a random name. This name is abviously not equal to "jquery.cookie.js" so it passes the checks on your host.
2 possibile solutions:
- ask your host why the f*** he doesn't allow it
- change the file name to jquery_cookie.js
We don't like to rename the jquery file in core because its an external library.
Comment #3
aspilicious commentedComment #4
antojoseThis could be because Apache's mod_security is blocking .cookie.js.
This seems to be an issue on Drupal 7 as well.
misc/jquery.cookie.js giving 406, causing 'draggable' reordering of menuitems to fail, in Drupal 7.
Workaround: Enable JavaScript Aggregation under admin/config/development/performance
Follow this up at http://drupal.org/node/817362