vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Database Error when I try to add new thread? (https://vborg.vbsupport.ru/showthread.php?t=228270)

ChEckM@tE 11-18-2009 05:12 AM

Database Error when I try to add new thread?
 
Hi


I face this error message when I try to add new thread


Database error in vBulletin 3.7.6:

Invalid SQL:
INSERT INTO post
(showsignature, allowsmilie, username, userid, title, pagetext, iconid, visible, dateline, ipaddress, attach, threadid)
VALUES
(1, 1, 'XXXXX', 1, 'XXXXX', 'XXXXX', 0, 1, 1258503483, '87.84.140.68', 0, 64838);

MySQL Error : Duplicate entry '765099' for key 1
Error Number : 1062
Request Date : Wednesday, November 18th 2009 @ 03:18:03 AM
Error Date : Wednesday, November 18th 2009 @ 03:18:04 AM
Script : http://www.XXXXXX/vb/newthread.php?do=postthread&f=20
Referrer : http://www.XXXXXX/vb/newthread.php?do=newthread&f=20
IP Address :
Username :
Classname : vB_Database
MySQL Version : 5.0.81-community






How can I solve it?
Is it servers problem ?



thanks

Lynne 11-18-2009 02:04 PM

Have you tried running repair/optimize on the post table? Also, try a search because I've seen this come up before, I just don't recall the exact fix.

Marco van Herwaarden 11-23-2009 06:47 AM

Try running rebuild uniwue indexes from Maintenance in the AdminCP.


All times are GMT. The time now is 01:16 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00950 seconds
  • Memory Usage 1,711KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete