Announcement

Collapse
No announcement yet.

Suspect File Versions ( File does not contain expected contents)

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

  • Suspect File Versions ( File does not contain expected contents)

    I recently purchased vBulletin and installed it.

    When i run Diagnostics -> Suspect File Versions i get a mismatch on those 2 files:

    LoggerConfigurationAdapterXML.php File does not contain expected contents

    widget.php File does not contain expected contents


    Why is that?

    Thanks.


  • #2
    The first one you can ignore.

    The second one, I would download a fresh copy of the files from the members area, and then upload just that one file to its correct location on the server. Then run the test again.
    MARK.B | vBULLETIN SUPPORT

    TalkNewsUK - My vBulletin 5.5.6 Demo
    AdminAmmo - My Cloud Demo

    Comment


    • #3

      Originally posted by Mark.B View Post
      The first one you can ignore.

      The second one, I would download a fresh copy of the files from the members area, and then upload just that one file to its correct location on the server. Then run the test again.
      Done that. Still fails:



      Click image for larger version

Name:	asdaddas.jpg
Views:	29
Size:	14.5 KB
ID:	4326461


      We are talking about the ./core/vb/api/widget.php file right?

      Not the ones in:
      ./core/vb/xml/export/widget.php
      ./core/vb/xml/import/widget.php

      Thanks for your support.

      Comment


      • #4
        In the screenshot above it is referring to the /core/vb/xml/import/widget.php file.
        Translations provided by Google.

        Wayne Luke
        The Rabid Badger - a vBulletin Cloud demonstration site.
        vBulletin 5 API - Full / Mobile
        Vote for your favorite feature requests and the bugs you want to see fixed.

        Comment


        • #5
          Originally posted by Wayne Luke View Post
          In the screenshot above it is referring to the /core/vb/xml/import/widget.php file.

          I checked the /core/vb/xml/import/widget.php file now and they are indeed different:

          They have different MD5 hashs aswell.

          I've replaced the file however it still says "File does not contain expected contents".
          Last edited by chris76423; Mon 3rd Aug '15, 4:44pm.

          Comment


          • #6
            The system looks at an MD5 hash of the file and compares it to what the build of your download package says it should be in the file /core/includes/md5_sums_vbulletin.php. Even if the files look the same, they aren't necessarily the same and can generate a different MD5 hash. One space looks the same as three spaces on the screen in many places. Each and every download has its own set of MD5 hashes to compare to. Every license download is unique.

            This is one reason why we say you should always replace all files.
            Translations provided by Google.

            Wayne Luke
            The Rabid Badger - a vBulletin Cloud demonstration site.
            vBulletin 5 API - Full / Mobile
            Vote for your favorite feature requests and the bugs you want to see fixed.

            Comment


            • #7
              Originally posted by Mark.B View Post
              then upload just that one file to its correct location on the server. Then run the test again.
              Originally posted by Wayne Luke View Post
              This is one reason why we say you should always replace all files.
              I'm confused now. So i'll just have to stick with that mismatch and not worry about it?
              Last edited by chris76423; Mon 3rd Aug '15, 9:23pm.

              Comment


              • #8
                Safest way is to reupload everything.
                MARK.B | vBULLETIN SUPPORT

                TalkNewsUK - My vBulletin 5.5.6 Demo
                AdminAmmo - My Cloud Demo

                Comment


                • #9
                  The entire reason the Suspect File Version tool was added is to give you a visual indicator that a file has changed. You can then review that file to see if the changes are good or bad. If you are okay with the file as is, then use the file as is. If not, replace it. That is your decision.
                  Translations provided by Google.

                  Wayne Luke
                  The Rabid Badger - a vBulletin Cloud demonstration site.
                  vBulletin 5 API - Full / Mobile
                  Vote for your favorite feature requests and the bugs you want to see fixed.

                  Comment


                  • #10
                    I reploaded everything (setup vBulletin from scratch) and i still get the error. Maybe the calculation is wrong in 5.1.8?

                    Thanks again for your time.

                    Comment


                    • #11
                      Just ran this testing tool against my test installation of vBulletin 5.1.9 Alpha 6 and did not receive an error with that file. It may be an issue in 5.1.8 but it appears to be corrected in 5.1.9.
                      Translations provided by Google.

                      Wayne Luke
                      The Rabid Badger - a vBulletin Cloud demonstration site.
                      vBulletin 5 API - Full / Mobile
                      Vote for your favorite feature requests and the bugs you want to see fixed.

                      Comment


                      • #12
                        Sounds promising! Can't wait for 5.1.9!

                        Thanks for the nice support, guys!

                        Comment


                        • #13
                          I updated from 5.1.7 to 5.1.9 a couple days ago and have the same problem as the OP. I'll ignore the LoggerConfigurationAdapterXML.php like suggested, but widget.php says that no matter what I do. I just downloaded another fresh master, uploaded it, same thing.

                          Suggestions?

                          Comment


                          • #14
                            Originally posted by anguilla1980 View Post
                            I updated from 5.1.7 to 5.1.9 a couple days ago and have the same problem as the OP. I'll ignore the LoggerConfigurationAdapterXML.php like suggested, but widget.php says that no matter what I do. I just downloaded another fresh master, uploaded it, same thing.

                            Suggestions?

                            I am not able to recreate this but which directory is "widget.php" in?
                            Translations provided by Google.

                            Wayne Luke
                            The Rabid Badger - a vBulletin Cloud demonstration site.
                            vBulletin 5 API - Full / Mobile
                            Vote for your favorite feature requests and the bugs you want to see fixed.

                            Comment


                            • #15
                              ./vb/xml/import

                              Do you think it's important, or can it just be ignored?

                              Comment

                              Related Topics

                              Collapse

                              Working...
                              X