Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions

Reply
 
Thread Tools Display Modes
  #1  
Old 03-26-2009, 06:49 PM
MalluParadise MalluParadise is offline
 
Join Date: Oct 2008
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default vBulletin Options showing error

Hello guys

When i try to log in acp then VB option it's showing data base error

PHP Code:
Database error in vBulletin 3.7.2:

Invalid SQL:

        
SELECT setting.*, settinggroup.grouptitle
        FROM settinggroup 
AS settinggroup
        LEFT JOIN setting 
AS setting USING(grouptitle)
        
WHERE settinggroup.displayorder <> 0
        ORDER BY settinggroup
.displayordersetting.displayorder;

MySQL Error   Unknown column 'grouptitle' in 'from clause'
Error Number  1054
Request Date  
ThursdayMarch 26th 2009 01:35:18 PM
Error Date    
ThursdayMarch 26th 2009 01:35:18 PM
Script        
http://XXXXXXXXXX.com/forums/admincp/options.php?null=0
Referrer      
IP Address    
Username      :
Classname     vB_Database
MySQL Version 
5.0.75-community-log 
Reply With Quote
  #2  
Old 03-26-2009, 06:50 PM
Brandon Sheley's Avatar
Brandon Sheley Brandon Sheley is offline
 
Join Date: Mar 2005
Location: Google Kansas
Posts: 4,678
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Do you still see the error if you disable the plugins?
Reply With Quote
  #3  
Old 03-26-2009, 06:55 PM
MalluParadise MalluParadise is offline
 
Join Date: Oct 2008
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Code:
Do you still see the error if you disable the plugins?
i did't disable any plugins so which i have to disable
Reply With Quote
  #4  
Old 03-26-2009, 06:57 PM
puertoblack2003's Avatar
puertoblack2003 puertoblack2003 is offline
 
Join Date: Aug 2005
Location: Philadelphia
Posts: 1,073
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hope you have a db backup you missing the "grouptitle" column
Reply With Quote
  #5  
Old 03-26-2009, 06:59 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MalluParadise View Post
Code:
Do you still see the error if you disable the plugins?
i did't disable any plugins so which i have to disable
Since you can't get into the admin cp, you need to disable them globally:
Note: To temporarily disable the plugin system, edit config.php and add this line right under <?php

PHP Code:
define('DISABLE_HOOKS'true); 
Reply With Quote
  #6  
Old 03-26-2009, 09:27 PM
MalluParadise MalluParadise is offline
 
Join Date: Oct 2008
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

edit config.php but can't find
PHP Code:
define('DISABLE_HOOKS'true); 
this line Not only my vb Option
Reply With Quote
  #7  
Old 03-26-2009, 09:33 PM
mcrider mcrider is offline
 
Join Date: Feb 2009
Location: Racine, Wisconsin
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You have to add that line to your config file just as Lynne stated.....


Quote:
Originally Posted by Lynne View Post
edit config.php and add this line right under <?php

PHP Code:
define('DISABLE_HOOKS'true); 
Reply With Quote
  #8  
Old 03-27-2009, 12:37 AM
MalluParadise MalluParadise is offline
 
Join Date: Oct 2008
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I did this Bit still it's showing error
Reply With Quote
  #9  
Old 03-27-2009, 12:57 AM
puertoblack2003's Avatar
puertoblack2003 puertoblack2003 is offline
 
Join Date: Aug 2005
Location: Philadelphia
Posts: 1,073
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MalluParadise View Post
I did this Bit still it's showing error
like i stated on post #4 you missing that grouptitle column. two things can happen either insert it or if you have any good backup then do it that way.If you decide to insert you have to be careful and actually know where to put it.
Reply With Quote
  #10  
Old 03-27-2009, 09:12 PM
MalluParadise MalluParadise is offline
 
Join Date: Oct 2008
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Code:
like i stated on post #4 you missing that grouptitle column. two things can happen either insert it or if you have any good backup then do it that way.If you decide to insert you have to be careful and actually know where to put it.
I don't How to use insert option
Reply With Quote
Reply

Thread Tools
Display Modes

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:11 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07718 seconds
  • Memory Usage 2,264KB
  • Queries Executed 13 (?)
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
  • (3)bbcode_code
  • (4)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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_postinfo_query
  • fetch_postinfo
  • 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