When I go to administrate blocks and rearrange them -- after I hit the save button and the page refreshes -- the blocks (and their position in the table) is back to it was before -- their repositioning won't stick. My site is www.awaytoteach.net Thanks.

Comments

AntiNSA’s picture

Me too Im looking for answers now... makes me sooo angry....

inalto’s picture

Same problem for me, I solved reducing the number of available blocks. In my case the problem seems happens when i have a high quantity of blocks in the admin page.
Tagadelic or CCK Blocks can raise the number of blocks.
With a huge number of blocks, when i hit save, drupal just does not save, and also i dont get the "blocks saved" alert.
Reducing the number of blocks, the blocks admin will work again.
This problem is not easily reproducible. Enabling CCKBlocks or Tagadelic, does not means that the problem happens, it depends on how many ccb cblocks you have, and tagadelic blocks you have.
And is not Tagadelic or CCBlocks related, seems that on a high numbers of blocks, drupal just does not save blocks. (and i cannot find any evidence of the problem on the logs).
I also checked with firebug, to see if was a javascript problem.

I also tried to raise the php max_post size with no success, the only way is to have a smaller quantity of blocks.

jacine’s picture

Status: Active » Postponed (maintainer needs more info)

I'm not having this issue... It's working just fine on my end.

If inalto is correct about it being the number of blocks, then it obviously is not an issue with the theme.

inalto’s picture

Yes, i just discovered that is a problem related to an extension I have that is called Suhosin (http://www.hardened-php.net/suhosin/).
I disabled and after that everything started to work.
I also had problem in saving settings with a huge pathauto form (multiple content types in multiple languages)

That was not easy to find, i discovered that problem just by trial and error.

Suhosin, is an extension of php that add some limitations on max number of posts to raise the security level of php.

The problem could be solved disabling suhosin, but the best solution is to change the suhosin settings to avoid problem with large drupal sites.

I have to notice that this problem could happen on cpanel servers, if the sysadmin install suhosin (i am a sysadmin), the problem could appear with complex drupal sites because of default suhosin limitations. (so if you are an user, pay particular attention if you are on a cpanel server :-)

The main problem for me was that i was not able to have any evidence of the problem in the logfiles.

This solved the problem in my case, first of all check out if you have suhosin extension installed in your phpinfo()
if yes,
open your php.ini (you can find the path in the phpinfo() output)

and after the line: (but this can be different, it depends on how you have configured php)

extension="suhosin.so"

add

suhosin.request.max_vars = 0
suhosin.cookie.max_vars = 0
suhosin.get.max_vars = 0
suhosin.post.max_vars = 0

this removes post limitations.

Hope this could help.

jacine’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

Thanks for the details inalto. I'm closing this ticket, since it's not related to the theme. :)