FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » Value too long
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Value too long [message #24383] Tue, 26 April 2005 17:20 Go to next message
petej74 is currently offline  petej74   United States
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. Smile

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 Go to previous message
Ilia is currently offline  Ilia   Canada
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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: envelop-From of the mail transmitted is not good.
Next Topic: categories display problems
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 23 23:23:42 GMT 2024

Total time taken to generate the page: 0.02104 seconds