Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 08-30-2004, 01:04 PM
Davez's Avatar
Davez Davez is offline
 
Join Date: Nov 2001
Location: Italy
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Big DB Problem Error 1146

Hello all.

I got a big problem. I uninstalled a Hack , and after it i got this problem , i can?t enter in my board, and i can?t enter in the admincp.
Everywhere i got a Database problem.

PHP Code:
Database error in vBulletin 3.0.1: 

Invalid SQL: 
        SELECT 
        userfield.*, useraward.*, usertextfield.*, user.*, UNIX_TIMESTAMP(passworddate) AS passworddate, 
        IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid, 
            language.phrasegroup_holiday AS phrasegroup_holiday, 
            language.phrasegroup_global AS phrasegroup_global, 
            language.options AS lang_options, 
            language.languagecode AS lang_code, 
            language.charset AS lang_charset, 
            language.locale AS lang_locale, 
            language.imagesoverride AS lang_imagesoverride, 
            language.dateoverride AS lang_dateoverride, 
            language.timeoverride AS lang_timeoverride, 
            language.registereddateoverride AS lang_registereddateoverride, 
            language.calformat1override AS lang_calformat1override, 
            language.calformat2override AS lang_calformat2override, 
            language.logdateoverride AS lang_logdateoverride, 
            language.decimalsep AS lang_decimalsep, 
            language.thousandsep AS lang_thousandsep 
        FROM user AS user 
        INNER JOIN userfield AS userfield ON (user.userid = userfield.userid) 
        INNER JOIN usertextfield AS usertextfield ON (usertextfield.userid = user.userid) 
        LEFT JOIN useraward AS useraward ON (useraward.userid = user.userid) INNER JOIN language AS language ON (language.languageid = IF(user.languageid = 0, 1, user.languageid)) 
        WHERE user.userid = 1 
     
mysql error: Table 'dffcars_vBulletin.useraward' doesn't exist 

mysql error number: 1146 
Please can someone help me ? I have no idea what i can do.

Many thanks for help.
Reply With Quote
  #2  
Old 08-30-2004, 01:07 PM
rake's Avatar
rake rake is offline
 
Join Date: Nov 2002
Posts: 311
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You didn't uninstall the hack properly, and now vbulletin is trying to query a table in the database that doesn't exist. Retrace your steps and do the uninstall again. Basically, you need to remove anything that has to do with the useraward table from the above query, but there might be other references in other files.
Reply With Quote
  #3  
Old 08-30-2004, 03:08 PM
Davez's Avatar
Davez Davez is offline
 
Join Date: Nov 2001
Location: Italy
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry, but i can´t follow you.
Where i have to remove this ? I checked my phpmyadmin, and seems that all looks for the table useraward .. and the table don´t exist anymore .. now i wanted to know where i have to change the useraward request.

I am not good with sql , and it would be fine, if someone can help me to fix this error, because i want my board back ;(

Many thanks
Reply With Quote
  #4  
Old 08-30-2004, 03:17 PM
Reeve of shinra's Avatar
Reeve of shinra Reeve of shinra is offline
 
Join Date: Oct 2001
Location: NYC
Posts: 1,896
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You undid the database part of the hack, but you need to delete the edits you made to the php files and templates.
Reply With Quote
  #5  
Old 08-30-2004, 03:31 PM
Davez's Avatar
Davez Davez is offline
 
Join Date: Nov 2001
Location: Italy
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Many thanks !
I changed the files , now works .. i hope all works fine without any errors
/;
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:18 PM.


Powered by vBulletin® Version 3.9.0
Copyright ©2000 - 2017, vBulletin Solutions Inc.