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

Home » FUDforum Development » Bug Reports » Error while creating a new forum
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Error while creating a new forum [message #9531] Mon, 07 April 2003 09:00 Go to next message
sergico is currently offline  sergico   Italy
Messages: 12
Registered: December 2002
Karma: 0
Junior Member
Hello,

I'm using with great satisfaction your forum from a couple of months, but yesterday while tring to create a new forum I received the following error:

Warning: pg_query() query failed: ERROR: Cannot insert a duplicate key into unique index fud23_forum_pkey in /var/www/html/fud/forum/include/theme/default/db.inc on line 127

Warning: pg_result_error() expects parameter 1 to be resource, boolean given in /var/www/html/fud/forum/include/theme/default/db.inc on line 128
() :
Query: INSERT INTO fud23_forum ( cat_id, name, descr, passwd_posting, post_passwd, anon_forum, date_created, view_order, forum_icon, tag_style, moderated, max_attach_size, max_file_attachments, message_threshold ) VALUES( 6, 'Buovo test', 'test db error', 'N', NULL, 'N', 1049709854, 2, NULL, 'ML', 'N', 1024, 1, 0 )
Server Version:

Someone could help me understand how to solve that problem?

Thanks a lot...

Sergio

[Updated on: Mon, 07 April 2003 09:01]

Report message to a moderator

Re: Error while creating a new forum [message #9637 is a reply to message #9531] Sun, 13 April 2003 15:21 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
It would appear that the auto-incremented ID field is messed for some reason. You need to reset it to the maximum forum id value, and that will fix the problem.

FUDforum Core Developer
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: I can't edit itims in a votes.
Next Topic: Error creating thread in fud 2.3.8
Goto Forum:
  

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

Current Time: Thu Oct 10 08:12:33 GMT 2024

Total time taken to generate the page: 0.02733 seconds