I get the following Java console error:
Error: $.cookie is not a function
Source File: http://site/modules/toolbar/toolbar.js?m0hyw4
Line: 29
I first noticed this after my upgrade from 7.10 -> 7.12 (it was breaking gmaps for logged in users with a toolbar). I'm happy to provide more information, if needed - just let me know.
Comments
Comment #1
vm commented-dev should be tested to see if the issue hasn't already been corrected, or are you confirming this issue is also present in -dev? If it is present in -dev this issue needs to be bumped to the -dev version.
Comment #2
canuckdev commentedI also am having the same problem. I think it is the same problem as this: Uncompressed javascript fails with admin module enabled. The jqcookie fix does not work in 7.12.
Comment #3
canuckdev commentedComment #4
nod_This is not major.
Can you please try the dev version of drupal7? which modules are used to display something on the page you're getting the error?
What are the scripts (and their order) included in the page? you can copy/paste the HTML source, that'll do.
Comment #5
tommcadam commentedThe problem is that misc/jquery.cookie.js is not being included for some reason, despite being in $scripts with the correct path.
I can't seem to correct the issue though.
Comment #6
nod_This does not look like a bug, if you have the script in $scripts and not in the html it means you have a module removing it at some point. You can start by disabling all front-end related modules and see what happens, with some luck you'll be able to narrow down the possibilities.
Comment #7
tommcadam commentedThe script is in the html, but though the path to the file is correct clicking on the filename in the source code gives a 404, page not found.
Comment #8
nod_oh, ok, have you clean urls enabled? is the jquery.cookie.js file in /misc/ folder of you drupal install?
Comment #9
tommcadam commentedYeah, clean urls is enabled and jquery.cookie.js is in /misc/ folder.
Comment #10
nod_Well, I don't know then. Have you tried updating your drupal install (we're at 7.14 now)?
I can't say much more at this point.
Comment #11
tommcadam commentedYeah I have 7.14 installed and all modules are up to date. I don't know if this helps, but the problem does not occur on the local development version of the site.
Thanks for your help anyway.
Comment #12
preethivv commented@tommcadam Same issue to me. But it will fixed when enabled the JS cache in performance page.
Thank you
Comment #13
preethivv commented@tommcadam Same issue to me. But it will fixed when enabled the JS cache in performance page.
Thank you
Comment #14
droplet commentedtry disable overlay module. (there is an issue about it)