Rancor125 Very bored

Joined: 14 Mar 2006 Posts: 249 Location: In hostile territories
|
Posted: Sun Dec 23, 2007 12:04 pm Post subject: Comment error |
|
|
Whenever I try to post a comment on a profile, pic or story, this shows up:
Warning: pg_query() [function.pg-query]: Query failed: ERROR: attribute 67 has wrong type DETAIL: Table has type integer, but query expects smallint. CONTEXT: SQL statement "update users set profile_comment_count = profile_comment_count + 1 where user_id = $1 " PL/pgSQL function "update_profile_comment_count" line 3 at SQL statement in /usr/home/.sites/28/site1/web/profile.php on line 73
Database Error: ERROR: attribute 67 has wrong type DETAIL: Table has type integer, but query expects smallint. CONTEXT: SQL statement "update users set profile_comment_count = profile_comment_count + 1 where user_id = $1 " PL/pgSQL function "update_profile_comment_count" line 3 at SQL statement
#0 dbError() called at [/usr/home/.sites/28/site1/web/profile.php:73]
#1 comment_processing(Array ([uid] => 47752,[username] => Rancor125,[reply_to] => 0,[fnt_size] => ,[fnt_color] => ,[fnt_face] => ,[comment_text] => hello all this is a test,[submit] => Submit))
#2 call_user_func(comment_processing, Array ([uid] => 47752,[username] => Rancor125,[reply_to] => 0,[fnt_size] => ,[fnt_color] => ,[fnt_face] => ,[comment_text] => hello all this is a test,[submit] => Submit)) called at [/usr/local/share/pear/HTML/QuickForm.php:1620]
#3 HTML_QuickForm->process(comment_processing, ) called at [/usr/home/.sites/28/site1/web/profile.php:172]
[b]yes, I know, long...[/b]
Can someone fix this, or is someone already working on it? _________________ [size=10] www.redwall.org www.raiders.com[/size]
[img]http://images.google.com/imgres?imgurl=http://www.outabounds.com/images/nfl_raiders2.gif&imgrefurl=http://www.outabounds.com/NFL-Golf/nfl-golf-raiders.htm&h=125&w=450&sz=7&hl=en&start=69&tbnid=YPhilyF8T4ttmM:&tbnh=35&tbnw=127&prev=/images%3Fq%3Draiders%2Blogo%26start%3D54%26gbv%3D2%26ndsp%3D18%26hl%3Den%26sa%3DN[\img] |
|