Drupal Macro module gotcha...
I had a problem with a Drupal site I'm working on. Each time I'd submit a form PHP would barf with a "Got a packet bigger than 'max_allowed_packet'" MySQL error.
As the site was under heavy development I'd assumed it was something I'd done during the previous couple of hours so set about looking at what I'd done to break it...
...three hours later and I've found the problem. I'd left the Macro module in record mode. This really useful module records all form submissions and writes them to the database so that you can copy them out to a file, and replay them at a later point in time. Unfortunately the module stores every single macro you have ever recorded in a one single field in the variables table...
...until eventually it breaks.
Hopefully this is of use to someone in the future. When I get that free time in the New Year I'll have a look at fixing the module unless someone beats me to it.




Comments [0]