vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   database problem (https://vborg.vbsupport.ru/showthread.php?t=171835)

talkingfootball 03-01-2008 07:38 PM

database problem
 
Hi All

I'm having a problem with missing database files.

My old webhost moved the sites on their server ... then the problems begun.

We then moved webhosts and they have told me to post here for advice.

site is www.talkingfootball.net/forums

Regards

Looking forward to your reply

Lynne 03-01-2008 08:45 PM

Perhaps restore the site from a backup? Without you posting more specifics (like the actual errors), then we really aren't going to be able to help you much.

talkingfootball 03-02-2008 12:03 AM

Hi Lynne

Here is the exact error I'm getting. Thanks for your help so far.


Invalid SQL:
INSERT INTO post
(showsignature, allowsmilie, username, userid, title, pagetext, iconid, visible, dateline, ipaddress, attach, threadid)
VALUES
(1, 1, 'TalkingFootball', 1, 'Test', 'Testing small problem', 0, 1, 1204423248, '58.168.210.49', 0, 1958);

MySQL Error : Duplicate entry '20982' for key 1
Error Number : 1062
Date : Saturday, March 1st 2008 @ 09:00:48 PM
Script : http://www.talkingfootball.net/forum...ostthread&f=33
Referrer : http://www.talkingfootball.net/forum...newthread&f=33
IP Address : 58.168.210.49
Username : TalkingFootball
Classname : vB_Database

Marco van Herwaarden 03-02-2008 07:14 AM

See: Duplicate entry 'XXX'

talkingfootball 03-02-2008 07:43 PM

Thanks Marco

However as a newbie what does it mean by .....

"Please run these queries to create the proper indexes in vBulletin"

Phaedrus 03-02-2008 09:13 PM

How do you access your database in your IP Control Panel?

It will make a difference in how to run queries.

If you are using phpMyAdmin... after logging into phpMyAdmin

1. Select the database from the left.
2. Click on the SQL tab at the top.
3. Run the queries in the box provided...

Blazin Trav 03-02-2008 09:48 PM

I don't see any errors @ OP. Are you still having issues?

talkingfootball 03-03-2008 01:59 AM

Quote:

Originally Posted by Blazin Trav (Post 1455484)
I don't see any errors @ OP. Are you still having issues?

Hi Trav

Yip people cant post on the forum!!!

Opserty 03-03-2008 02:40 PM

<a href="http://www.vbulletin.com/docs/html/maintenance_query" target="_blank">How to run queries</a>


All times are GMT. The time now is 05:25 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.01149 seconds
  • Memory Usage 1,725KB
  • 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)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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