database error but...

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • JES
    New Member
    • Jan 2006
    • 12
    • 3.6.x

    database error but...

    hello.. i dont make any change in my forum.. when i press to see it is ok.. when i login.. i saw database error and i dont make anywhere any change.. what is the problem.. i must fix it..

    i it upgrade to 3.6.8...

    My site:
    www.secfreaks.gr
  • Wayne Luke
    vBulletin Technical Support Lead
    • Aug 2000
    • 74167

    #2
    This is most likely due to one of your addons. First, re-upload all the original vB non-image files (except install.php). Make sure you upload these in ASCII format and overwrite the ones on the server. Also be sure to upload the admincp files to whichever directory you have set in your config.php file. Then run 'Suspect File Versions' in Diagnostics to make sure you have all the original files for your version:

    Admin CP -> Maintenance -> Diagnostics -> Suspect File Versions

    [Note: In some cases you may also need to remove any of the listed .xml files in the includes/xml directory.]

    If that didn't solve the problem, disable all plugins.

    Note: To temporarily disable the plugin system, edit config.php and add this line right under <?php

    define('DISABLE_HOOKS', true);

    Then if you still have this problem, create a new style and choose no parent style. This will force it to use the default templates. Finally empty your browser cache, close all browser windows then try again. Make sure you change to the new style and view your forums with it. Now check again.

    Do you still have the same problem?
    Translations provided by Google.

    Wayne Luke
    The Rabid Badger - a vBulletin Cloud demonstration site.
    vBulletin 5 API

    Comment

    • JES
      New Member
      • Jan 2006
      • 12
      • 3.6.x

      #3
      ok i am doing now.. and i tell you again

      Comment

      • JES
        New Member
        • Jan 2006
        • 12
        • 3.6.x

        #4
        i reupload all files again.. i overwrite the old files.. then i try to go on admincp .. when i login i see database error.. then i put the code define('DISABLE_HOOKS', true); on config.php and the problem still exist.. what i can do now? i must fix it :/

        Comment

        • Steve Machol
          Former Customer Support Manager
          • Jul 2000
          • 154488

          #5
          We need to see the real error message. Right-click on the error page and go to View/Source. Then copy-n-paste the error message here.
          Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
          Change CKEditor Colors to Match Style (for 4.1.4 and above)

          Steve Machol Photography


          Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


          Comment

          • JES
            New Member
            • Jan 2006
            • 12
            • 3.6.x

            #6
            this is the source

            Code:
            <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
            <html>
            <head>
            	<title>Secfreaks.gr Database Error</title>
            	<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
            	<style type="text/css">
            	<!--	
            	body { background-color: white; color: black; }
            	#container { width: 400px; }
            	#message   { width: 400px; color: black; background-color: #FFFFCC; }
            	#bodytitle { font: 13pt/15pt verdana, arial, sans-serif; height: 35px; vertical-align: top; }
            	.bodytext  { font: 8pt/11pt verdana, arial, sans-serif; }
            	a:link     { font: 8pt/11pt verdana, arial, sans-serif; color: red; }
            	a:visited  { font: 8pt/11pt verdana, arial, sans-serif; color: #4e4e4e; }
            	-->
            	</style>
            </head>
            <body>
            <table cellpadding="3" cellspacing="5" id="container">
            <tr>
            	<td><img src="http://secfreaks.gr/image.php?type=dberror" alt="Database Error" width="48" height="48" /></td>
            	<td id="bodytitle" width="100%">Database error</td>
            </tr>
            <tr>
            	<td class="bodytext" colspan="2">The Secfreaks.gr database has encountered a problem.</td>
            </tr>
            <tr>
            	<td colspan="2"><hr /></td>
            </tr>
            <tr>
            	<td class="bodytext" colspan="2">
            		Please try the following:
            		<ul>
            			<li>Load the page again by clicking the <a href="#" onclick="window.location = window.location;">Refresh</a> button in your web browser.</li>
            			<li>Open the <a href="/">secfreaks.gr</a> home page, then try to open another page.</li>
            			<li>Click the <a href="javascript:history.back(1)">Back</a> button to try another link.</li>
            		</ul>
            	</td>
            </tr>
            <tr>
            	<td class="bodytext" colspan="2">The secfreaks.gr forum technical staff have been notified of the error, though you may <a href="mailto:[email protected]">contact them</a> if the problem persists.</td>
            </tr>
            <tr>
            	<td class="bodytext" colspan="2">&nbsp;<br />We apologise for any inconvenience.</td>
            </tr>
            </table>
            
            
            <!--
            Database error in vBulletin 3.6.8:
            
            Invalid SQL:
            
            		SELECT 
            			userfield.*, 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
            		LEFT JOIN userfield AS userfield ON (user.userid = userfield.userid)
            		LEFT JOIN usertextfield AS usertextfield ON (usertextfield.userid = user.userid) LEFT JOIN language AS language ON (language.languageid = IF(user.languageid = 0, 8, user.languageid)) 
            		
            		WHERE user.userid = 1;
            
            MySQL Error  : Table 'gwgrirc_firewall.userfield' doesn't exist
            Error Number : 1146
            Date         : Thursday, August 2nd 2007 @ 06:02:10 AM
            Script       : http://secfreaks.gr/
            Referrer     : http://secfreaks.gr/login.php?do=login
            IP Address   : 85.73.236.39
            Username     : 
            Classname    : vb_database
            -->
            
            
            </body>
            </html>

            Comment

            • JES
              New Member
              • Jan 2006
              • 12
              • 3.6.x

              #7
              i fix it thnks for help

              Comment

              widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
              Working...