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

Reply
 
Thread Tools Display Modes
  #1  
Old 05-27-2008, 01:23 AM
richards112 richards112 is offline
 
Join Date: May 2008
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Someone Please help me!, My forum database crashed!

Someone who knows about php MySQL codes please help me!
I have just downloaded and installed a awards mod, can be found here:
https://vborg.vbsupport.ru/showthrea...94#post1532394

and i dont think i installed it right, and when i click on my member profiles this error code comes up

Database error in vBulletin 3.7.0:

Invalid SQL:

SELECT award_user.userawardid AS userawardid, award_user.userid AS userid, award_user.awardid AS awardid, award_user.dateline AS dateline, award_admin.title AS title, award_admin.description AS description, award_admin.image AS pic
FROM award_user AS award_user
LEFT JOIN award_admin AS award_admin ON ( award_user.awardid = award_admin.awardid )
WHERE award_user.userid = 1;

MySQL Error : Table 'ninchat.award_user' doesn't exist
Error Number : 1146


Any idea what to do? Please help! as i cannot use my forum until this is fixed
Reply With Quote
  #2  
Old 05-27-2008, 01:28 AM
veenuisthebest's Avatar
veenuisthebest veenuisthebest is offline
 
Join Date: Mar 2008
Location: India
Posts: 1,416
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

1. First, why did you installed a 3.5 mod directly in your 3.7 main board ??
2. Are you able to login to admincp ?? If yes, uninstall the awards system and delete all files that you just uploaded through FTP !!
3. If no, open your includes/config.php, and enter this right after <?php
PHP Code:
define('DISABLE_HOOKS'true); 
, save and upload/overwrite
Reply With Quote
  #3  
Old 05-27-2008, 09:18 AM
richards112 richards112 is offline
 
Join Date: May 2008
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes i have done that thank you so much!
but do ou please have any idea on how i may get my mods back???
Thanks
Reply With Quote
  #4  
Old 05-27-2008, 09:36 AM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The error states the award_user dont exist, uninstall or re-install the hack that relates to the award system your using, you might have to manually remove any phrases the hack added, also make sure that you remove any xml file you might of uploaded to the /includes directory as well for that hack.

After doing so, remove the line you added to config.php of comment it out by adding // in front of it and re-save.
Reply With Quote
  #5  
Old 05-27-2008, 09:42 AM
richards112 richards112 is offline
 
Join Date: May 2008
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for quick reply.

And also, when you say phrases that the mod added.. do you mean in my database or config.php, because hen i read the installation, it says that it adds tables to the databaseAnd yes, i removed absolutely all xml and php files i uploaded through FTP and removed it from product manager
but i still get database error!
Any ideas please
Reply With Quote
  #6  
Old 05-27-2008, 09:47 AM
WEBDosser's Avatar
WEBDosser WEBDosser is offline
 
Join Date: Oct 2001
Location: @ MyPC
Posts: 824
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

don't you have a backup of your site & database?.. if you do then use that.
Reply With Quote
  #7  
Old 05-27-2008, 09:52 AM
richards112 richards112 is offline
 
Join Date: May 2008
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No i dont, i backed it up, but that was when i was installing the mod
If only i backed it up 5 minutes earlier
Reply With Quote
  #8  
Old 05-27-2008, 09:59 AM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Do as i suggested, that is a fixable issue with your db and there is no need to reload the database from a backup, the issue is related to the hack that you tried to install.
Reply With Quote
  #9  
Old 05-27-2008, 10:02 AM
richards112 richards112 is offline
 
Join Date: May 2008
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, so i dont need to edit none of the tables in my database?
Just my config.php?
Reply With Quote
  #10  
Old 05-27-2008, 10:06 AM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I never posted anything about editing a db table and you shouldnt be doing so anyway.

Follow the instructions in the previous post.
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 01:43 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.04361 seconds
  • Memory Usage 2,251KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • 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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete