| NanoCaiordo wrote: |
| did the query affected any rows? |
Don't know - I'm using Webmin, and it doesn't return status messages like that.
| NanoCaiordo wrote: |
| do you still see the exact same warnings as before or after the query some of them disappeared. |
Some of them disappeared, now I just get:
| Code:: |
admin/modules/blocks.php
Notice line 181: Undefined offset: 9 |
repeated 25 times.
EDIT: I found what was causing the "Undefined offset" problem, there were entries in the cms_blocks_custom table for a BID that didn't exist (9), and that's what was causing that warning. Deleting those entries now presents me with a "clean" page (no errors/warnings).
| NanoCaiordo wrote: |
| also if you comment line 76 in admin/modules/blocks.php where the url_redirect is then you should be able to see any possible warning. |
I don't notice any difference with Line 76 commented out (I also cleared the cache).
EDIT2: NanoCaiordo generously helped me debug this directly on the server, and traced the problem to Suhosin's default settings. It places limits on the POST variables that get consumed very quickly by the block arrangement code.
Two settings have to be changed in php.ini from their default size of 200 (example values used here):
suhosin.post.max_vars = "4096"
suhosin.request.max_vars = "4096"
The value needs to be on the order of (blocks * modules * 5) + 6 if all blocks are included in all modules.
Nano's beeing showing a lot of patience helping me with tracing the problems and debugging, so major props to him for the much-appreciated assistance!