Thread: Database Error
View Single Post
  #7  
Old 03-10-2007, 07:02 AM
Xplorer4x4 Xplorer4x4 is offline
 
Join Date: Apr 2005
Posts: 938
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well as i said in the first post.. I have deleted all my hacks. All files are in tact.

The screen shot says I executed both queries.

Regardless I did a quick fresh install on a db. Droped the last activity table from my live database. Imported the tabel from my fresh install.

Now I have a new database error:
Database error in vBulletin 3.6.5:

PHP Code:
Invalid SQL:

        
SELECT FROM guest FORCE INDEX (lastactiveWHERE lastactive 1173430515;

MySQL Error  Table 'config_vb.guest' doesn't exist
Error Number : 1146
Date         : Saturday, March 10th 2007 @ 08:55:15 AM
Script       : /index.php
Referrer     : /online.php
IP Address   : 
Username     : 
Classname    : vb_database 
The weird thing is guest is not a default table in the database. :S

Ok checked an old database back up an imported a guest table from it. Now I am back to the first error.

SQL query: DESCRIBE user;
PHP Code:
Field     Type     Null     Key     Default     Extra
userid     int
(10unsigned           PRI     NULL     auto_increment
usergroupid     smallint
(5unsigned           MUL     0      
membergroupids     varchar
(250)                        
displaygroupid     smallint(5unsigned                 0      
username     varchar
(100)           MUL            
password     varchar
(32)                        
passworddate     date                 0000-00-00      
email     varchar
(100)                        
styleid     smallint(5unsigned                 0      
parentemail     varchar
(50)                        
homepage     varchar(100)                        
icq     varchar(20)                        
aim     varchar(20)                        
yahoo     varchar(32)                        
msn     varchar(100)                        
skype     varchar(32)                        
showvbcode     smallint(5unsigned                 0      
showbirthday     smallint
(5unsigned                 2      
usertitle     varchar
(250)                        
customtitle     smallint(6)                 0      
joindate     int
(10unsigned                 0      
daysprune     smallint
(6)                 0      
lastvisit     int
(10unsigned                 0      
lastpost     int
(10unsigned           MUL     0      
lastpostid     int
(10unsigned                 0      
posts     int
(10unsigned                 0      
reputation     int
(11)                 10      
reputationlevelid     int
(10unsigned                 1      
timezoneoffset     varchar
(4)                        
pmpopup     smallint(6)                 0      
avatarid     smallint
(6)                 0      
avatarrevision     int
(10unsigned                 0      
profilepicrevision     int
(10unsigned                 0      
sigpicrevision     int
(10unsigned                 0      
options     int
(10unsigned                 15      
birthday     varchar
(10)           MUL            
birthday_search     date           MUL     0000
-00-00      
maxposts     smallint
(6)                 -1      
startofweek     smallint
(6)                 1      
ipaddress     varchar
(15)                        
referrerid     int(10unsigned                 0      
languageid     smallint
(5unsigned                 0      
emailstamp     int
(10unsigned                 0      
threadedmode     smallint
(5unsigned                 0      
autosubscribe     smallint
(6)                 -1      
pmtotal     smallint
(5unsigned                 0      
pmunread     smallint
(5unsigned                 0      
salt     char
(3)                        
ipoints     int(10unsigned                 0      
infractions     int
(10unsigned                 0      
warnings     int
(10unsigned                 0      
infractiongroupids     varchar
(255)                        
infractiongroupid     smallint(5unsigned                 0      
adminoptions     int
(10unsigned                 0      
vbp_vbplazaoptions     int
(10unsigned                 0 
http://img237.imageshack.us/img237/46/tablevv9.gif
Here si the results of the two seperate queries.
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01303 seconds
  • Memory Usage 1,832KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete