warning: pg_query() [function.pg-query]: Query failed: ERROR: value too long for type character varying(16)

stodge - May 21, 2009 - 12:08
Project:Event
Version:6.x-2.x-dev
Component:Code
Category:bug report
Priority:minor
Assigned:Unassigned
Status:closed
Description

Not really sure if the signup module is the culprit, but I'm seeing this warning:

warning: pg_query() [function.pg-query]: Query failed: ERROR: value too long for type character varying(16) in /var/www/html/includes/database.pgsql.inc on line 139.
user warning: query: INSERT INTO watchdog (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (1, 'calendarsignup_forms', 'search_theme_form', 'a:0:{}', 5, '', 'http://mysite/', '', '127.0.0.1', 1242907575) in /var/www/html/modules/dblog/dblog.module on line 144.

#1

dww - May 21, 2009 - 15:15
Project:Signup» Event
Version:6.x-1.0-rc3» 6.x-2.x-dev

This is from the (misnamed) calendarsignup module, which is part of event.module. The first argument to watchdog() can only be a string of 16 chars or less, and it's invoking watchdog() somewhere with the key 'calendarsignup_forms' which is 21.

#2

killes@www.drop.org - June 28, 2009 - 11:59
Status:active» fixed

removed the watchdog call

#3

System Message - July 12, 2009 - 12:00
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.