Announcement

Collapse
No announcement yet.

Database errors

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Database errors

    I upgraded from 3.6.4 to 3.6.8 today and I have tons of database errors now in my board : http://www.gamedev.in/index.php

    I cant view new posts
    I cant search forums
    I cant even view member profiles!

    Would appreciate if someone can throw some light on this?

    Sangam

  • #2
    It seems you didn't upgrade fully. Upload ALL the 3.6.8 files and then run the upgrade script.
    Best Regards
    Colin Frei

    Please don't contact me per PM.

    Comment


    • #3
      What I did was I deleted the 3.6.4....and reinstalled a fresh version with 3.6.8..with database import from phpmyadmin...I remember it giving me same errors in 3.6.4 as well..

      Comment


      • #4
        That's not the way to upgrade. You'll want to follow these instructions: http://www.vbulletin.com/docs/html/upgrade
        Best Regards
        Colin Frei

        Please don't contact me per PM.

        Comment


        • #5
          How can I fix it now?

          Comment


          • #6
            Revert to your 3.6.4 forum and then run an upgrade as per the instructions I linked above.
            Best Regards
            Colin Frei

            Please don't contact me per PM.

            Comment


            • #7
              I did and 3.6.4...gave the same set of errors

              Comment


              • #8
                That's not possible if you follow the upgrade instructions and make surre you upload all the 3.6.8 files.
                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


                • #9
                  After lot of searching and digging..i resolved all the errors..here is the last one which happens when looking a profile :


                  Database error in vBulletin 3.6.8:

                  Invalid SQL:

                  SELECT pf.profilefieldid, pf.profilefieldcategoryid, pf.required, pf.type, pf.data, pf.def, pf.height
                  FROM profilefield AS pf
                  LEFT JOIN profilefieldcategory AS pfc ON(pfc.profilefieldcategoryid = pf.profilefieldcategoryid)
                  WHERE pf.form = 0
                  ORDER BY pfc.displayorder, pf.displayorder;

                  MySQL Error : Unknown column 'pf.profilefieldcategoryid' in 'field list'
                  Error Number : 1054
                  Date : Thursday, December 6th 2007 @ 03:17:21 AM
                  Script : http://www.gamedev.in/member.php?find=lastposter&f=2
                  Referrer : http://www.gamedev.in/index.php
                  IP Address : 202.87.55.158
                  Username : Administrator
                  Classname : vb_database

                  Any help?

                  Comment


                  • #10
                    All this could be fixed by simply upgrading as instructed. If you are still getting errors, revert back to your 3.6.4 forum and upgrade as instructed.

                    Comment


                    • #11
                      To troubleshoot this, first reupload 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 and that none show 'File does not contain expected contents':

                      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.]

                      Next, 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. Do you have the same problem?
                      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

                      Loading...
                      Working...
                      X