Closed (won't fix)
Project:
Chaos Tool Suite (ctools)
Version:
6.x-1.0-beta1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 May 2009 at 20:56 UTC
Updated:
6 Aug 2009 at 05:09 UTC
After enabling the delegator sub-module, I get this error:
"Got a packet bigger than 'max_allowed_packet' bytes query"
It's trying to insert a message into watchdog and failing. Using MAMP on Mac Leopard for development.
Comments
Comment #1
merlinofchaos commentedUnfortunately, this does not contain enough information to debug this issue. At the very least I need a cut & paste of the full error that it generated, and exactly what you were doing at the time.
Comment #2
merlinofchaos commentedThe message that it's trying to insert into watchdog woudl probably be helpful too.
Comment #3
hubarbeit commentedI got the same error when I tried to install version 6.x-1.0-beta2:
Warning: Got a packet bigger than 'max_allowed_packet' bytes query: INSERT INTO kraxln_watchdog (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (1, 'php', '%message in %file on line %line.', 'a:4:{s:6:\"%error\";s:12:\"user warning\";s:8:\"%message\";s:1729733:\"Got a packet bigger than 'max_allowed_packet' bytes\nquery: UPDATE kraxln_cache_menu SET data = 'a:1030:{s:4:\\"node\\";a:26:{s:5:\\"title\\";s:7:\\"Content\\";s:13:\\"page callback\\";s:17:\\"node_page_default\\";s:16:\\"access arguments\\";a:1:{i:0;s:14:\\"access content\\";}s:4:\\"type\\";i:4;s:6:\\"module\\";s:4:\\"node\\";s:14:\\"load_functions\\";s:0:\\"\\";s:16:\\"to_arg_function in /home/kraxlnat
/public_html/includes/database.mysql.inc on line 128
After disabling the module, the error disappears. Unfortunately I cannot increase the max_allowed_packet variable here, as we're on a shared environment.
I hope that helps!
Comment #4
merlinofchaos commentedhubarbeit: That isn't a problem in particular with this module, but with Drupal itself. It caches the menu data, and enough modules can make the menu cache rather large. There's nothing I can do about that.
Comment #5
francewhoaThe following worked for me on Ubuntu 8.04.x LTS desktop edition http://drupal.org/node/541396
Comment #6
sdboyer commentedThis is a fairly common issue with mysql - you need to increase the max_allowed_packet from its default (which is usually 1M). The 'perfect' number depends on your system's configuration, but I personally jack it up pretty high, to 16M.