vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Database Problem (https://vborg.vbsupport.ru/showthread.php?t=182309)

captainron19 06-12-2008 07:57 PM

Database Problem
 
Today my VPS Server went down. Ever since it has gotten back up and running I am receiving database errors when someone tries to create a post.

I contacted the server company and they stated they restarted the VPS but they can do nothing about the database since it is MYSQL and it is above their control.

Can anyone offer any suggestions? The error I receive is as follows: ....

Database error in vBulletin 3.7.1:

Invalid SQL:
MySQL Error : Duplicate entry '67198' for key 1
Error Number : 1062
Request Date : Thursday, June 12th 2008 @ 04:45:42 PM
Error Date : Thursday, June 12th 2008 @ 04:45:44 PM

Opserty 06-12-2008 09:47 PM

Is that the complete error? (Copy and Paste it from the error page, View the HTML source if the full message isn't displayed)

(Be sure to censor your IP address. )

captainron19 06-12-2008 10:37 PM

Here is the full error

Database error in vBulletin 3.7.1:

Invalid SQL:
INSERT INTO post
(showsignature, allowsmilie, username, userid, title, pagetext, iconid, visible, parentid, threadid, dateline, ipaddress, attach)
VALUES
(0, 1, 'DisneyFan101', 409, '', '\"And talk to me for hours\".', 0, 1, 67130, 75, 1213312640, '* removed *', 0);

MySQL Error : Duplicate entry '67198' for key 1
Error Number : 1062
Request Date : Thursday, June 12th 2008 @ 07:17:20 PM
Error Date : Thursday, June 12th 2008 @ 07:17:20 PM
Script : http://disney-forums.com/forums/newr...postreply&t=75
Referrer : http://disney-forums.com/forums/newr...uote=1&p=67130
IP Address : xxxxx
Username : DisneyFan101
Classname : vB_Database
MySQL Version :

Marco van Herwaarden 06-13-2008 09:23 AM

AdminCP -> Maintenance -> Repair / Optimize Tables -> Fix Unique Indexes


All times are GMT. The time now is 09:24 PM.

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.00947 seconds
  • Memory Usage 1,713KB
  • 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
  • (4)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