CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Drupal Modules (Moderator: Donald Lobo) »
  • MySQL Error when writing to watchdog
Pages: [1]

Author Topic: MySQL Error when writing to watchdog  (Read 1853 times)

Martin Fuggle

  • I post frequently
  • ***
  • Posts: 172
  • Karma: 3
    • Travel and Photography
  • CiviCRM version: 4.2.x, 4.3.x, 4.4.x, 4.5.x
  • CMS version: Drupal 6.x and 7.x
  • MySQL version: 5.1.36-cll
  • PHP version: 5.3.6
MySQL Error when writing to watchdog
February 27, 2009, 01:42:15 pm
I am getting the following error message when performing a number of tasks in CiviCRM and Drupal.  The message is clear but when I asked my Hosting provider to increase the max_allowed_packet size they declined to do so.  This issue has only arisen in the past week or so and I have had Drupal and CivCRM working harmoniously for a number of months prior to seeing this error.

This leads me to think that the passage of time has caused a volume issue but I just don't know where to look.  If anyone has a suggestion I would really appreciate it.

Cheers
Martin Fuggle

Here's the error...


Warning: Got a packet bigger than 'max_allowed_packet' bytes query: INSERT INTO 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:1551729:\"Got a packet bigger than 'max_allowed_packet' bytes\nquery: UPDATE cache_menu SET data = 'a:949:{i:0;a:26:{s:6:\\"module\\";s:19:\\"civicrm_group_roles\\";s:14:\\"load_functions\\";s:0:\\"\\";s:16:\\"to_arg_functions\\";s:0:\\"\\";s:5:\\"title\\";s:0:\\"\\";s:6:\\"weight\\";i:0;s:4:\\"type\\";i:6;s:13:\\"_number_parts\\";i:1;s:6:\\"_parts\\";a:1:{i:0;s:1:\\"0\\";}s:4:\\"_fit\ in /home/pobfsjv/public_html/harlequins/includes/database.mysql.inc on line 128

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Drupal Modules (Moderator: Donald Lobo) »
  • MySQL Error when writing to watchdog

This forum was archived on 2017-11-26.