Fatal error in 4.2.5

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jamoss
    Member
    • Apr 2002
    • 67
    • 4.2.5

    Fatal error in 4.2.5

    I upgraded from 4.2.4 to 4.2.5 and I received a fatal error during the registration process:

    Fatal error: Class 'vB_Validate' not found in [path-to-vbulletin]/includes/class_dm.php on line 1396

    This is the line:
    return vB_Validate::verify_ipaddress($ipaddress);

    I have commented it out in the interim, and registration works.
  • Mark.B
    vBulletin Support
    • Feb 2004
    • 24287
    • 6.0.X

    #2
    You should not edit the php files.

    What version of php are you running?
    MARK.B
    vBulletin Support
    ------------
    My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
    My Unofficial vBulletin Cloud Demo: https://www.adminammo.com

    Comment

    • jamoss
      Member
      • Apr 2002
      • 67
      • 4.2.5

      #3
      5.6 - and I had to. It was causing a fatal error for registration on our entire website.Like I said it was a temporary fix.

      Comment

      • Mark.B
        vBulletin Support
        • Feb 2004
        • 24287
        • 6.0.X

        #4
        Please try disabling the plugin/hook system completely.

        To do this, edit includes/config.php and add the following code:
        Just below
        Code:
        <?php
        enter
        Code:
        define('DISABLE_HOOKS', true);
        Do you still have the same problem?
        MARK.B
        vBulletin Support
        ------------
        My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
        My Unofficial vBulletin Cloud Demo: https://www.adminammo.com

        Comment

        • jamoss
          Member
          • Apr 2002
          • 67
          • 4.2.5

          #5
          I will try this late at night when we have less traffic and let you know.

          Comment

          • Wayne Luke
            vBulletin Technical Support Lead
            • Aug 2000
            • 74132

            #6
            The function referenced above is a valid vBulletin 4.2.5 function and does exist in the files properly. Please make sure that you are not running any older versions of the files. When upgrading, you must upload the entire vBulletin package as presented to prevent errors such as this.

            Downloads on the Patch page should not be used for upgrading. They are for patching security issues on specific issues that have been found in the software. They are not a complete upgrade package.
            Translations provided by Google.

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

            Comment

            • jamoss
              Member
              • Apr 2002
              • 67
              • 4.2.5

              #7
              Originally posted by Wayne Luke
              The function referenced above is a valid vBulletin 4.2.5 function and does exist in the files properly. Please make sure that you are not running any older versions of the files. When upgrading, you must upload the entire vBulletin package as presented to prevent errors such as this.

              Downloads on the Patch page should not be used for upgrading. They are for patching security issues on specific issues that have been found in the software. They are not a complete upgrade package.
              Thanks Wayne. I thought I had uploaded all of the files, but I will upload again to make sure it took.

              Comment

              • jamoss
                Member
                • Apr 2002
                • 67
                • 4.2.5

                #8
                Reuploaded all the files. Disabled plugins & hooks. Still creates FATAL ERROR.

                Comment

                • Mark.B
                  vBulletin Support
                  • Feb 2004
                  • 24287
                  • 6.0.X

                  #9
                  Please download a fresh copy of the FULL 4.2.5 package (NOT the patch - this is important), and upload these to the server.

                  Then, run the upgrade script again.
                  MARK.B
                  vBulletin Support
                  ------------
                  My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
                  My Unofficial vBulletin Cloud Demo: https://www.adminammo.com

                  Comment

                  • jamoss
                    Member
                    • Apr 2002
                    • 67
                    • 4.2.5

                    #10
                    It was the FULL 4.2.5 package, not the patch.

                    Comment

                    • jamoss
                      Member
                      • Apr 2002
                      • 67
                      • 4.2.5

                      #11

                      Comment

                      • Mark.B
                        vBulletin Support
                        • Feb 2004
                        • 24287
                        • 6.0.X

                        #12
                        Originally posted by jamoss
                        It was the FULL 4.2.5 package, not the patch.
                        Ok, but please download a fresh copy and upload this. Then run the upgrade script.
                        This is to rule out corrupted files in the original download.
                        MARK.B
                        vBulletin Support
                        ------------
                        My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
                        My Unofficial vBulletin Cloud Demo: https://www.adminammo.com

                        Comment

                        • jamoss
                          Member
                          • Apr 2002
                          • 67
                          • 4.2.5

                          #13
                          Like I said, I did that last night. Still throws the same error.
                          I don't think there is any value in doing so a third time.

                          Comment

                          • Wayne Luke
                            vBulletin Technical Support Lead
                            • Aug 2000
                            • 74132

                            #14
                            The function should exist in a new set of files. It is on line 377 of the vb/validate.php file. If you are getting the same error then either something on your server is blocking the function or you're not overwriting the files when uploading. There should be no reason to maintain any older versions of vBulletin files.

                            Please delete all the files distributed by vBulletin and reupload the files to make sure that everything is properly overwritten.
                            Translations provided by Google.

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

                            Comment

                            • jamoss
                              Member
                              • Apr 2002
                              • 67
                              • 4.2.5

                              #15
                              I deleted all VBulletin files and reuploaded 4.2.5. Still happening.

                              Comment

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