"value too long" in serendipity_suppress
Posted: Sun Mar 28, 2010 10:01 pm
I found the following error in my logfile:
I modified this column to "TEXT" in my database:
What is the reason for having the "query" column limited to 255 characters? In PostgreSQL (my database) there is no such limit. In MySQL this should be a column type with more than 255 chars.2010-03-28 21:53:58 CEST ERROR: value too long for type character varying(255)
2010-03-28 21:53:58 CEST STATEMENT: INSERT INTO serendipity_suppress
(ip, last, scheme, host, port, path, query)
VALUES (
'xxx.xxx.xxx.xxx',
NOW(),
'http',
'suche.t-online.de',
'',
'/fast-cgi/tsc',
'portallanguage=de&dia=portal&suchraum=1&userlanguage=de&more=variante0x&moreold=variante0x&y=0&x=0&q=tischschmuck&device=html&classification=internet-tab_internet_std&mandant=toi&wo=&context=internet-tab&tpc=internet&ptl=std&adpage=3&www_start=20&www_num=10'
)
I modified this column to "TEXT" in my database:
Code: Select all
ALTER TABLE serendipity_suppress ALTER COLUMN query TYPE TEXT;