Using drupal 7.15 here. I am having trouble saving my block regions(admin/structure/blocks).

Problem: I am doing my thing on block admin page, saving blocks, moving them around and what not. but the changes i make are not being saved.

What i found: after some debugging efforts, i figure out that the function *block_admin_display_form_submit* is not called when the block form submits.

the site i am having problem is on a lamp server somewhere. i have another copy of this site on my local machine, which has no problem saving block regions.

any idea on how to fix this? thank you.

Comments

bcobin’s picture

Did you ever manage to solve this? I'm running into the same issue on a site with many blocks using Domain Access. I now have to use the "configure" link to make region changes and edit the db directly to change weights. Ick.

This first appeared in 7.15 and persists in 7.16 - it's like the process times out when there are too many blocks. Running on a dedicated server that's pretty snappy.

Any ideas? Thanks!

debrajn’s picture

Hi,
Dexxa ye and Billy Cobin,

I also faced same issue. But, Luckily I managed to solve the same after a long research. Just change the variable max_input_vars value more than 1000. 1000 is the default value of the variable, but I change it to 2500. Now my sites is running well. The POST array is not able to manage lots of data due to this restriction.

Cheers
Debraj

bcobin’s picture

@debrajn,

Bingo! Thanks SO much for this - this was, indeed the problem. I had the host up the variable to 5000 (it's a multi-site with a lot of blocks) and things seem to be working again!

You are a rockstar! Will leave this active for others to confirm, but I think you nailed it... thank you!

Version: 7.15 » 7.x-dev

Core issues are now filed against the dev versions where changes will be made. Document the specific release you are using in your issue comment. More information about choosing a version.

Status: Active » Closed (outdated)

Automatically closed because Drupal 7 security and bugfix support has ended as of 5 January 2025. If the issue verifiably applies to later versions, please reopen with details and update the version.