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 |
Jump to:
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
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
removed the watchdog call
#3
Automatically closed -- issue fixed for 2 weeks with no activity.