November 2007
3 posts
SUBMIT HOOK isn't called for my FORM!
This is possibly one of the more frustrating situations in Drupal. There’s a couple reasons this could happen:
1. You’re using a $_GET form. Sorry — drupal only looks at the $_POST. (I actually need to test to confirm this).
2. You themed the form and forgot to do a drupal_render($form) at the end of your theme function (i just did this… ARRRRRRRGHHHHHH!) This prevents...
APC, PHP 5.1.6, Centos and the dreaded seg fault....
We’re running SugarCRM on our box, and it seemed to be the source of quite a few crashes (white page of death seg faults) after adding APC (which is invaluable, by the way — free performance! Who could turn down a deal like that?).
After searching and searching and searching I found some random advice in an unrelated PHP bug that seemed to fix my problem: set auto_globals_jit=off....
Programmers, don't use CCK or Views.
UPDATE: So it looks like Views/CCK is moving into core. This is good and bad. Good because everything in core is extremely solid — core code gets that special love from a large body of Drupal contributers that third-party modules don’t typically see. Bad because I think it could result in more jerry-rigged nodes and resulting messy queries for many users. Still, the argument can be...