Hi there,
I use this great admin toolbar in every single project and have never had this issue before so am completely dumbfounded as to the cause. Firebug reports the following error and the toolbar will not un-collapse from the spanner icon.

$.cookie is not a function

Line 214 of admin.toolbar.js
var cookie = $.cookie('DrupalAdminToolbar');

This happened after uploading the site to the remote server. Everything works perfectly on localhost... As mentioned this has never happened to me before with any sites.

Anyone able to shed any light on this?

Comments

bensey’s picture

What's more, now it actually doesn't work on any sites which it did previously, a client just reported that it no longer worked for them, and I've gone and checked some others to find the same javascript error and a disabled toolbar.

Bizarrely this is consistent across Safari, Firefox and Chrome and IE, and across different computers, being two of my own and that of the client above. So it's not a individual browser or computer issue, this has just happened across the board overnight.

Is that even possible!!?!?

Still works on localhost though, is it somehow possible for a server to affect javascript? I wouldn't have thought so...

bensey’s picture

Ok, seems it is this issue: #817362: Uncompressed javascript fails with admin module enabled
An issue with some web hosts running mod_security...

bensey’s picture

Status: Active » Closed (duplicate)