Value too long [message #24383] |
Tue, 26 April 2005 17:20 |
petej74
Messages: 5 Registered: January 2005
Karma: 0
|
Junior Member |
|
|
When deleting a post, I came across this error. The post in question has a particularly long title, and seems to exceed the length allowed in the logaction field of fud26_action_log. This seems egregious.
This is a 2.6.12 installation using postgres (obviously) on FreeBSD 4.11.
Warning: pg_query() [function.pg-query]: Query failed: ERROR: value too long for type character varying(100) in /usr/local/www/data-dist/developer.danger.com/forum/index.php on line 149
(/usr/local/www/data-dist/developer.danger.com/forum/index.php:149
/usr/local/www/data-dist/developer.danger.com/forum/theme/default/mmod.php:824
/usr/local/www/data-dist/developer.danger.com/forum/theme/default/mmod.php:2166
/usr/local/www/data-dist/developer.danger.com/forum/index.php:1213
) : ERROR: value too long for type character varying(100)
Query: INSERT INTO fud26_action_log (logtime, logaction, user_id, a_res, a_res_id) VALUES(1114535401, '"ok I\'m like young and curious and really anxious to do everysingle thing u can do on the sidekick2" w/2 replies', 2, 'DELTHR', 0)
_GET: t=mmod&
_POST: del=1502&confirm=1&S=a3ac50cef962259ce51f7bd9a2d2ef77&SQ=10eea517e371f2b70a7339eeb6cb4438&del_reason=&YES=Yes&
Server Version:
[Referring Page] http://developer.danger.com/forum/index.php?t=mmod&rid=2&S=a3ac50cef962259ce51f7bd9a2d2ef77&th=346&del=1502
|
|
|
Re: Value too long [message #24398 is a reply to message #24383] |
Wed, 27 April 2005 03:05 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Fixed in CVS, storage place holder changed to TEXT column type.
FUDforum Core Developer
|
|
|