Closed (fixed)
Project:
Event
Version:
6.x-2.x-dev
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 May 2009 at 12:08 UTC
Updated:
21 Feb 2011 at 16:46 UTC
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.
Comments
Comment #1
dwwThis 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.
Comment #2
killes@www.drop.org commentedremoved the watchdog call
Comment #4
diego123cr commentedHi, I need some help because I the same problem people talk here but I dont understand how to resolve. If the "event" modules is active (but not the Calendar Signup becasuse I dont need it) and I try to activate an user account in the user admin page, the user can not active and drupal show the same error above.
A user post "removed the watchdog call", but how I do that?
Comment #5
diego123cr commentedI already have the solution. The problem is clearly that "timezone" in users table is just 8 characters lenght. You must in your database UI or in terminal execute the sentence:
alter table users alter column timezone type character varying(32);