I've done this twice and gotten the same error both times after a fresh install of Drupal 7: all drag and drop reordering is broken. It doesn't work under blocks or under the menus. (They just stick as a yellow highlight) I've had no problems with Drupal 7 on a dedicated server or in MAMP test server. Could this be related to the host: Hostpapa?

I did get an error with the TMP directory on my install when it ran cron. To fix it I had to set drupal's /tmp directory to ~/tmp. But after posting in another thread it was suggested that this was unrelated to the re-ordering problem. (http://drupal.org/node/1008328)

I even tried jquery update to see if that would fix anything to no avail.

CommentFileSizeAuthor
#14 2015-06-17 at 2.01 PM.png61.69 KBglass.dimly

Comments

droplet’s picture

Status: Active » Postponed (maintainer needs more info)

tried Dev version ? and what browser are you using

Podcast’s picture

I have the same issue I have tested this on google chrome 11.0.696.60 and Explorer 9.0.8112.16421
It highlights the bar in yellow and if I click a new bar it will also highlight that bar.

If more information is needed please let me know.

Podcast’s picture

It seems the server blocks me from access any sites on that server for a few minutes. I have asked my hosting company to check and they have white listed my IP on there firewall but the issue is still occurring

Podcast’s picture

Figured it out mod_sec needs to be disabled and this will fix the issue!

jimbaer’s picture

I'm having identical problem, drag and drop broken when in overlay. All that happens is that the selected item goes yellow and stays yellow. Nothing drags. Firefox and IE8. D 7.4, just updated. Didn''t know enough to realise this was a javascript issue. No errors are logged in Drupal reports.

mod_sec is outside my comfort zone . . .

droplet’s picture

so you can select the items but can't draging ??
do you have firebug ? or chrome console log ? can you check if there any JS error

jimbaer’s picture

Thanks droplet. High speed learning curve on firebug, and yes; firebug comes up with:
"$.cookie is not a function" for two instances:

tabledrag.js, line 167;
toolbar.js, line 29;

Example for tabledrag:

// Now hide cells and reduce colspans unless cookie indicates previous choice.
// Set a cookie if it is not already present.
if ($.cookie('Drupal.tableDrag.showWeight') === null) {
$.cookie('Drupal.tableDrag.showWeight', 0, {
path: Drupal.settings.basePath,
// The cookie expires in one year.
expires: 365

toolbar.js arises when handling menus, but I can't see the effect yet, except that setting menus up seems very cumbersome!

I'm profoundly ignorant of js. How and where do all these functions get defined? and why isn't a cookie function defined? Is this a corrupted file? Or a bug? or an occasional bug due to some coincidence of installation? Looks like some others have hit the same problem.

Meanwhile, many thanks for introducing me to firebug!

JimB

damien tournoud’s picture

Category: bug » support
Status: Postponed (maintainer needs more info) » Closed (duplicate)

See #522646: jquery.cookie.js incompatible with Apache mod_security by default. Some old versions of mod security are broken and incorrectly block a Javascript file of Drupal 7. Either enable Javascript aggregation or ask your host to update (or preferably disable) mod security.

simg’s picture

I've also had this same problem but found the cause to the Lightbox2 module

http://drupal.org/node/1283694

Toddv’s picture

Version: 7.0 » 7.12

I had this happening with a major upgrade from D6.24 - D7.12 and FOUND THE SOLUTION TO BE a problem with the permissions on my files directory. In admin/config/development/performance, with css and js aggregation on, the aggregated css and js files are written to css and js directories within the files directory (in my case). Disabling caching of js and css fixed the problem and pointed to the real solution which was to correct the permissions of the directories where the aggregated files are written. Hope that helps someone.

raffon’s picture

Thanks guys for this topic, it really helped me !
once you're used to this helpfull drag n drop... ;-)

TravisJohnston’s picture

Hey just a quick solution even though this is old. I was using the drag feature for ordering and then it was gone suddenly and I couldn't figure out why.... That is until I clicked "Hide Row Weights".... And then my drags were back!

Anonymous’s picture

Issue summary: View changes

@ #12 thanks TravisJohnston that saved my day.

glass.dimly’s picture

StatusFileSize
new61.69 KB

Must have clicked it by accident. Anyways, here's the screenshot of the master hide/show weights that appears on every table.

To clarify: on every table that should be draggable, like at /admin/structure/block, there is this toggle.

Only local images are allowed.

nicktr’s picture

Thank you so much for this!!! Was going mad over not being able to figure this one out. One click and fixed!