Failed 4.0 upgrade

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • BillDB
    New Member
    • Jul 2007
    • 26
    • 3.6.x

    Failed 4.0 upgrade

    Hi to all
    I've tried to upgrade (LIVE) forum from 3.8.4 to 4.0 got me into all sorts of database errors;
    basically my forum is dead!
    I restored an older dbase backup copy then reinstalled/uploaded back all 3.8.4 files;
    when I run the upgrade I get this error
    Fatal error: Call to undefined method vBulletinHook::init() in /home/public_html/vb/install/init.php on line 21
    Can someone help ?

    regards
  • Trevor Hannant
    vBulletin Support
    • Aug 2002
    • 24326
    • 5.7.X

    #2
    Sorry, can I clarify here - after you've restored your database and reuploaded all your 3.8.4 files, you're running an upgrade script?
    Vote for:

    - Admin Settable Paid Subscription Reminder Timeframe (vB6)
    - Add Admin ability to auto-subscribe users to specific channel(s) (vB6)

    Comment

    • BillDB
      New Member
      • Jul 2007
      • 26
      • 3.6.x

      #3
      Yes
      http://www.????.com/vb/install/upgrade.php

      Comment

      • Trevor Hannant
        vBulletin Support
        • Aug 2002
        • 24326
        • 5.7.X

        #4
        Are you trying your upgrade to vb4 again or just trying to run the site on the older software meantime?

        If the latter - that's not necessary.
        Vote for:

        - Admin Settable Paid Subscription Reminder Timeframe (vB6)
        - Add Admin ability to auto-subscribe users to specific channel(s) (vB6)

        Comment

        • BillDB
          New Member
          • Jul 2007
          • 26
          • 3.6.x

          #5
          Many Thanks for your help indeed;
          I am trying to get the forum up and running on the older 3.8.4
          however when the forum page opens I am getting these errors
          Warning: fetch_template() calls should be replaced by the vB_Template class in [path]/includes/functions.php on line 3780

          Warning: fetch_template() calls should be replaced by the vB_Template class in [path]/includes/functions.php on line 3780

          Warning: fetch_template() calls should be replaced by the vB_Template class in [path]/includes/functions.php on line 3780

          Warning: fetch_template() calls should be replaced by the vB_Template class in [path]/includes/functions.php on line 3780

          Warning: fetch_template() calls should be replaced by the vB_Template class in [path]/includes/functions.php on line 3780

          Warning: fetch_template() calls should be replaced by the vB_Template class in [path]/includes/functions.php on line 3780

          Warning: fetch_template() calls should be replaced by the vB_Template class in [path]/includes/functions.php on line 3780

          Warning: fetch_template() calls should be replaced by the vB_Template class in [path]/includes/functions.php on line 3780

          Warning: fetch_template() calls should be replaced by the vB_Template class in [path]/includes/functions.php on line 3780

          Warning: fetch_template() calls should be replaced by the vB_Template class in [path]/includes/functions.php on line 3780

          Warning: fetch_template() calls should be replaced by the vB_Template class in [path]/includes/functions.php on line 3780

          Warning: fetch_template() calls should be replaced by the vB_Template class in [path]/includes/functions.php on line 3780

          Thanks AGAIN Trevster (:


          NOTE:
          Admincp is NOT accessible since it gives me similar errors !
          .
          Last edited by BillDB; Tue 17 Nov '09, 5:27am.

          Comment

          • Trevor Hannant
            vBulletin Support
            • Aug 2002
            • 24326
            • 5.7.X

            #6
            Right, start again (read through before starting!):

            - download the latest 3.8.4 files from the member area
            - dump the database you currently have in there
            - restore your pre-upgrade backup database
            - delete the 'install/install.php' file
            - rename 'includes/config.php.new' to config.php and update the information
            - upload the 3.8.4 files
            - reinstall any modifications you had on your site

            Do you still get the errors?
            Vote for:

            - Admin Settable Paid Subscription Reminder Timeframe (vB6)
            - Add Admin ability to auto-subscribe users to specific channel(s) (vB6)

            Comment

            • Trevor Hannant
              vBulletin Support
              • Aug 2002
              • 24326
              • 5.7.X

              #7
              Actually, have you re-enabled any plugins/mods that you disabled prior to attempting to upgrade?
              Vote for:

              - Admin Settable Paid Subscription Reminder Timeframe (vB6)
              - Add Admin ability to auto-subscribe users to specific channel(s) (vB6)

              Comment

              • BillDB
                New Member
                • Jul 2007
                • 26
                • 3.6.x

                #8
                I will follow your directions in post #6 and will post back.
                and yes I made the mistake and re-enabled mods;
                BTW line 3780 in function.php file =
                trigger_error('fetch_template() calls should be replaced by the vB_Template class', E_USER_WARNING);
                is there away around it ? rewrite?
                Is it possible to use the current database instead of the backed up copy?
                The latter is about 2 months old, which means losing many posts/many members/topics worth 2 months !
                If NOT I guess it is better than nothing.
                Best regards
                Trevstor you been very helpful

                Comment

                • Trevor Hannant
                  vBulletin Support
                  • Aug 2002
                  • 24326
                  • 5.7.X

                  #9
                  When you upgraded, or attempted to upgrade, from 3.8.4 to 4.0, the database had changes made to it. It now can't be used for an older version of the software. There's no way to roll these changes back I'm afraid.

                  Should have backed it up as per the instructions before you did the upgrade, moreso before upgrading to unstable software.
                  Vote for:

                  - Admin Settable Paid Subscription Reminder Timeframe (vB6)
                  - Add Admin ability to auto-subscribe users to specific channel(s) (vB6)

                  Comment

                  • BillDB
                    New Member
                    • Jul 2007
                    • 26
                    • 3.6.x

                    #10
                    Hi Trevstor:
                    The host admin indicated he can restore the VPS from a complete back which he took 3 days ago;
                    doesn't that mean the entire database would be rolled back to its original state; say 3 days before the 4.0 upgrade ?

                    Regards

                    Comment

                    • Trevor Hannant
                      vBulletin Support
                      • Aug 2002
                      • 24326
                      • 5.7.X

                      #11
                      I assume so, you'd best get clarification from them
                      Vote for:

                      - Admin Settable Paid Subscription Reminder Timeframe (vB6)
                      - Add Admin ability to auto-subscribe users to specific channel(s) (vB6)

                      Comment

                      • BillDB
                        New Member
                        • Jul 2007
                        • 26
                        • 3.6.x

                        #12
                        Again many thanks for your help Trevster;
                        I did clarify it with them and as well as with Steve from VB
                        here is the solution for other members who may face similar problem:
                        Restored from an older DB backup.
                        uploaded fresh VB files - must be the same old version when the backup was taken;
                        Don't why but in any case it was 3.7.0 again that it was when the (backup was taken)
                        Did the upgrade to 3.8.4
                        Still working on but so far it looks great (:

                        Accept my best regards
                        Bill

                        Comment

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