Error while creating a new forum [message #9531] |
Mon, 07 April 2003 09:00 |
sergico
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 |
Ilia
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
|
|
|