vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Database Critical Error (https://vborg.vbsupport.ru/showthread.php?t=241020)

ITDarasgah 04-22-2010 04:08 PM

Database Critical Error
 
My Forum is down since last 2 days, with this database error niter plug-in or upgrading, every thing is normal since last 1 month I disable All modification in Config.php with efine('DISABLE_HOOKS', true); But Same kindly advice further

PHP Code:

Database error in vBulletin 3.8.5:

Invalid SQL:

        
SELECT post.postidpost.pagetextIFNULLuser.username post.username ) AS usernamedateline
        FROM post 
AS post
        LEFT JOIN user 
AS user ON (user.userid post.userid)
        
WHERE threadid 8868
            
AND visible 1
            
        ORDER BY dateline ASC
        LIMIT 0
,250;

MySQL Error   Unknown column 'user.username' in 'field list'
Error Number  1054
Request Date  
TuesdayApril 20th 2010 11:28:58 PM
Error Date    
TuesdayApril 20th 2010 11:28:58 PM
Script        
http://www.itdarasgah.com/archive/index.php/t-8868.html
Referrer      
IP Address    66.249.65.66
Username      

Classname     vB_Database
MySQL Version 


and this
PHP Code:

Database error in vBulletin 3.8.5:

Invalid SQL:

        
SELECT
            post
.*, post.username AS postusernamepost.ipaddress AS ip, IF(post.visible 210) AS isdeleted,
            
user.*, userfield.*, usertextfield.*,
            
icon.title as icontitleicon.iconpath,
            
avatar.avatarpathNOT ISNULL(customavatar.userid) AS hascustomavatarcustomavatar.dateline AS avatardateline,customavatar.width AS avwidth,customavatar.height AS avheight,
            
            
            
editlog.userid AS edit_userideditlog.username AS edit_usernameeditlog.dateline AS edit_dateline,
            
editlog.reason AS edit_reasoneditlog.hashistory,
            
postparsed.pagetext_htmlpostparsed.hasimages,
            
sigparsed.signatureparsedsigparsed.hasimages AS sighasimages,
            
sigpic.userid AS sigpicsigpic.dateline AS sigpicdatelinesigpic.width AS sigpicwidthsigpic.height AS sigpicheight,
            IF(
displaygroupid=0user.usergroupiddisplaygroupid) AS displaygroupidinfractiongroupid
            
'' AS field5
            
        FROM post 
AS post
        LEFT JOIN user 
AS user ON(user.userid post.userid)
        
LEFT JOIN userfield AS userfield ON(userfield.userid user.userid)
        
LEFT JOIN usertextfield AS usertextfield ON(usertextfield.userid user.userid)
        
LEFT JOIN icon AS icon ON(icon.iconid post.iconid)
        
LEFT JOIN avatar AS avatar ON(avatar.avatarid user.avataridLEFT JOIN customavatar AS customavatar ON(customavatar.userid user.userid)
        
            
        
LEFT JOIN editlog AS editlog ON(editlog.postid post.postid)
        
LEFT JOIN postparsed AS postparsed ON(postparsed.postid post.postid AND postparsed.styleid AND postparsed.languageid 1)
        
LEFT JOIN sigparsed AS sigparsed ON(sigparsed.userid user.userid AND sigparsed.styleid AND sigparsed.languageid 1)
        
LEFT JOIN sigpic AS sigpic ON(sigpic.userid post.userid)
            
        
WHERE post.postid IN (0,388835,389101,389219,396352)
        
ORDER BY post.dateline;

MySQL Error   Unknown column 'displaygroupid' in 'field list'
Error Number  1054
Request Date  
TuesdayApril 20th 2010 11:28:51 PM
Error Date    
TuesdayApril 20th 2010 11:28:51 PM
Script        
http://www.itdarasgah.com/showthread.php?t=33029
Referrer      
IP Address    204.236.235.245
Username      
Unregistered
Classname     
vB_Database
MySQL Version 


--------------- Added [DATE]1272005139[/DATE] at [TIME]1272005139[/TIME] ---------------

any info about this ?

James T Brock 04-23-2010 11:09 AM

Are you able to log-in to your admincp fine by typing the URL in directly?

ITDarasgah 04-23-2010 01:48 PM

Quote:

Originally Posted by James T Brock (Post 2025877)
Are you able to log-in to your admincp fine by typing the URL in directly?

No not it all.........:mad:

Lynne 04-23-2010 02:06 PM

Disabling this via the config.php file isn't working? The error looks like it is from a modification since I can't find it in default vb. Have you modified your files at all? You may want to reupload all default files, as well as keep your mods off via the config.php file, and see if that fixes it.

ITDarasgah 04-23-2010 02:21 PM

Quote:

Originally Posted by Lynne (Post 2025981)
Disabling this via the config.php file isn't working? The error looks like it is from a modification since I can't find it in default vb. Have you modified your files at all? You may want to reupload all default files, as well as keep your mods off via the config.php file, and see if that fixes it.

I already temporarily disable the plugin system, edit config.php
with this under the?php
PHP Code:

define('DISABLE_HOOKS'true); 

but the problem is same and I can't update any file or not install any hack since last one month
what is the default files name that need to re upload

Lynne 04-23-2010 02:24 PM

I don't know which file it would be. Redownload the package from vb.com and then reupload all the default files to your site. (You may want to first save a copy of all your files.)

ITDarasgah 04-23-2010 02:28 PM

Quote:

Originally Posted by Lynne (Post 2025991)
I don't know which file it would be. Redownload the package from vb.com and then reupload all the default files to your site. (You may want to first save a copy of all your files.)

Thanks for your help I want to try that,
I will get back to you shortly

--------------- Added [DATE]1272039374[/DATE] at [TIME]1272039374[/TIME] ---------------

Quote:

Originally Posted by Lynne (Post 2025991)
I don't know which file it would be. Redownload the package from vb.com and then reupload all the default files to your site. (You may want to first save a copy of all your files.)

after re uploaded all default files the problem is same......:mad:

Lynne 04-23-2010 09:08 PM

You should put in a support ticket and give support the information to take a look at your site and files.

legacy123 04-23-2010 09:14 PM

I would recommend restoring database after deleting all files and uploading a new installation of vb and running the update script and then this should turn ur vb back to normal if u do not have a db backup delete all of the non-vb standard tables. Also make sure u delete all of your files as they may be edited and stay there or an extra file etc.

ITDarasgah 04-24-2010 05:04 AM

Thanks all of you I get this issue fixed by my self.
In cPanal under the Remote My SQL some one add the IP address for Database Access Host delete that and now the Board is working fine:)


All times are GMT. The time now is 03:54 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.01184 seconds
  • Memory Usage 1,784KB
  • 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
  • (3)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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