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

Home » FUDforum Development » Bug Reports » 2.3.7RC1 Default Topic View error
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
2.3.7RC1 Default Topic View error [message #8212] Fri, 17 January 2003 08:02 Go to next message
tufan is currently offline  tufan   Turkey
Messages: 70
Registered: June 2002
Karma: 0
Member
When I choose "Flat thread listing/Tree message listing" or "Tree thread listing/Flat message listing", i'm getting the following error message:


Warning: pg_query() query failed: ERROR: value too long for type character varying(4) in /usr/local/apache_1.3.27/htdocs/forum/index.php on line 131

Warning: pg_result_error() expects parameter 1 to be resource, boolean given in /usr/local/apache_1.3.27/htdocs/forum/index.php on line 132

Fatal error: SQL Error has occurred, please contact the administrator of the forum and have them review the forum's SQL query log in /usr/local/apache_1.3.27/forum/include/theme/default/err.inc on line 102


When I do it with the admin, the error is as follows:

Warning: pg_query() query failed: ERROR: value too long for type character varying(4) in /usr/local/apache_1.3.27/htdocs/forum/index.php on line 131
Warning: pg_result_error() expects parameter 1 to be resource, boolean given in /usr/local/apache_1.3.27/htdocs/forum/index.php on line 132
(t=register) :
Query: UPDATE fud23_users SET name='Administrator', alias='admin', email='forum(at)metu(dot)edu(dot)tr', display_email='Y', notify='Y', notify_method='EMAIL', ignore_admin='N', email_messages='Y', pm_messages='Y', gender='UNSPECIFIED', icq=NULL, aim=NULL, yahoo=NULL, msnm=NULL, jabber=NULL, append_sig='Y', show_sigs='Y', show_avatars='Y', show_im='Y', posts_ppg='0', time_zone='America/Detroit', invisible_mode='N', bday=0000, user_image=NULL, location='', occupation='', interests='', avatar=0, theme=2, avatar_loc=NULL, avatar_approved='NO', sig=NULL, default_view='tree_msg', home_page=NULL, bio=NULL WHERE id=1



When I choose flat listing, everything is ok. When I choose tree thread and message listing, messages are displayed in tree, but threads aren't.

I'm using postgresql 7.3, apache 1.3.27, php 4.2.3.


http://sfx-images.mozilla.org/affiliates/Buttons/firefox2/firefox-spread-btn-1.png

[Updated on: Fri, 17 January 2003 08:08]

Report message to a moderator

Re: 2.3.7RC1 Default Topic View error [message #8219 is a reply to message #8212] Fri, 17 January 2003 14:26 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
This is indeed a bug, you can fix it by changing the defenition of the default_view field from VARCHAR(4) to VARCHAR(10).

FUDforum Core Developer
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: "change user's profile" page
Next Topic: Using image links in forum description
Goto Forum:
  

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

Current Time: Tue Nov 26 20:09:53 GMT 2024

Total time taken to generate the page: 0.02508 seconds