vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   URGENT: SQL Error after backup restore (https://vborg.vbsupport.ru/showthread.php?t=179417)

Arkidas 05-16-2008 10:24 AM

URGENT: SQL Error after backup restore
 
I just deleted my database to restore a backup. After restoring the backup I receive this error when trying to access the site. Note that all vBulletin PHP files are 3.7 files since I was planning on upgrading to 3.7. I'm quite sure that's not the problem though but you tell me.

Code:

Database error in vBulletin 3.6.8:

Invalid SQL:

                              SELECT forum.forumid, lastpost, lastposter, lastthread, lastthreadid, lasticonid, threadcount, replycount, lastpostid, lastprefixid

                              FROM forum AS forum;

MySQL Error  : Unknown column 'lastprefixid' in 'field list'
Error Number  : 1054


Dismounted 05-16-2008 10:45 AM

Quote:

Originally Posted by Arkidas (Post 1521429)
Note that all vBulletin PHP files are 3.7 files since I was planning on upgrading to 3.7.

That's probably your problem, run the upgrade script.

Arkidas 05-16-2008 10:54 AM

Ok, I started upgrading and am now at the original problem. In the 3rd step of the whole upgrade procedure ( Step 3) Misc Table Alterations, I think it's upgrading to 3.7 beta 2 ) I receive the following error:

Code:

Database error in vBulletin 3.6.8:

Invalid SQL:
ALTER  TABLE  userlist ADD friend ENUM('yes', 'no', 'pending', 'denied') NOT NULL DEFAULT 'no';

MySQL Error  : Table 'blizzard_vbulletin.userlist' doesn't exist
Error Number  : 1146
Request Date  : Friday, May 16th 2008 @ 11:51:55 AM
Error Date    : Friday, May 16th 2008 @ 11:52:06 AM
Script        : http://www.blizzard.cd/install/upgrade_370b2.php?step=3
Referrer      : http://www.blizzard.cd/install/upgrade_370b2.php?step=2
IP Address    : 213.190.120.146
Username      :
Classname    : vB_Database
MySQL Version : 5.0.45-community


Marco van Herwaarden 05-16-2008 12:53 PM

Did you make any changes to your config.php? Are you using table prefixes?

If not then this is a strange error, as the userlist already exists in 3.6.8.

I suggest you open a support ticket.

Arkidas 05-16-2008 01:00 PM

Is this table important? I just grabbed a fresh one form a 3.7 install and I could upgrade fine.


All times are GMT. The time now is 03:18 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.01090 seconds
  • Memory Usage 1,720KB
  • 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
  • (2)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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