I recently upgraded from Drupal 5.12 to 6.6 and now I'm unable to rearrange block order. I click and drag blocks to where I want them, and as soon as I save it reverts back to the way it was. I tried a new site within drupal 6, and that works fine so I'm pretty sure it has something to do with the upgrade.
Any ideas what may be wrong?
- jody
Jody and gang,
I'd recommend going into the db itself (via phpMyAdmin or the command line or another tool, whatever) and check on the weight field in the blocks table.
From what I understand, the sort order of blocks on the back end hasn't
really changed with 6; it's only the front end that has changed.
You might want to truncate (delete) all the data in that table and start over. Since that is a required field that doesn't except "NULL" and has a default of "0," it will reset all the weights for all blocks to 0. If you've got a gazillion blocks and maybe different settings for different themes, you might not want to do that.
In that case, I'd try just changing the weights of just the blocks you want to re-order directly in the db and see if you get the results you want.
Of course, you should back up your db before fussing like this.
Report back,
Shai
On Sun, Dec 7, 2008 at 9:12 AM, Jody Cleveland georgedamonkey@gmail.comwrote:
I recently upgraded from Drupal 5.12 to 6.6 and now I'm unable to rearrange block order. I click and drag blocks to where I want them, and as soon as I save it reverts back to the way it was. I tried a new site within drupal 6, and that works fine so I'm pretty sure it has something to do with the upgrade.
Any ideas what may be wrong?
- jody
-- [ Drupal support list | http://lists.drupal.org/ ]
Thanks! That worked perfectly. Far from ideal, but doable. I had cleared all caches after the upgrade, made sure my theme was enabled, and most blocks were behaving. But, a few weren't. When looking in the database, I noticed that a bunch were at '10' which I'm guessing the ones I was having problems with were reverting to alphabetical since they were all ten. So, I manually put in numbers that were higher and that took.
- jody
On Dec 7, 2008, at 8:50 AM, Shai Gluskin wrote:
Jody and gang,
I'd recommend going into the db itself (via phpMyAdmin or the command line or another tool, whatever) and check on the weight field in the blocks table.
From what I understand, the sort order of blocks on the back end hasn't really changed with 6; it's only the front end that has changed.
You might want to truncate (delete) all the data in that table and start over. Since that is a required field that doesn't except "NULL" and has a default of "0," it will reset all the weights for all blocks to 0. If you've got a gazillion blocks and maybe different settings for different themes, you might not want to do that.
In that case, I'd try just changing the weights of just the blocks you want to re-order directly in the db and see if you get the results you want.
Of course, you should back up your db before fussing like this.
Report back,
Shai
On Sun, Dec 7, 2008 at 9:12 AM, Jody Cleveland <georgedamonkey@gmail.com
wrote:
I recently upgraded from Drupal 5.12 to 6.6 and now I'm unable to rearrange block order. I click and drag blocks to where I want them, and as soon as I save it reverts back to the way it was. I tried a new site within drupal 6, and that works fine so I'm pretty sure it has something to do with the upgrade.
Any ideas what may be wrong?
- jody
-- [ Drupal support list | http://lists.drupal.org/ ]
-- [ Drupal support list | http://lists.drupal.org/ ]
Quoting Jody Cleveland georgedamonkey@gmail.com:
I recently upgraded from Drupal 5.12 to 6.6 and now I'm unable to rearrange block order. I click and drag blocks to where I want them, and as soon as I save it reverts back to the way it was. I tried a new site within drupal 6, and that works fine so I'm pretty sure it has something to do with the upgrade.
Any ideas what may be wrong?
Data caches? Try truncating the cache and session tables. Try looking at the result in a different browser.
-- Earnie http://r-feed.com Make a Drupal difference and review core patches.
Hi,
I recently upgraded from Drupal 5.12 to 6.6 and now I'm unable to rearrange block order. I click and drag blocks to where I want them, and as soon as I save it reverts back to the way it was.
We've had some problems with the themes not being explicitly enabled on (among others) D5->D6 sites: when you go into themes, the radio button for the current one is selected, but none of the checkboxes are! However, this gives us a weird perms error on the Blocks page, rather than simply failing silently. But check the theme you want to use is definitely enabled.
Cheers, J-P