Issues Upgrading to vBulletin 4.2.0

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Amaury
    Senior Member
    • Mar 2012
    • 1807
    • 4.2.X

    Issues Upgrading to vBulletin 4.2.0

    After our owner got done with the server work, he said the following to me on MSN:

    Originally posted by Owner
    okay I've hit a little blockage, it keeps saying unexpected text and when ever I hit okay it aborts the upgrage status so tomorrow I will try to figure out what happed because I'm too tired tonight to do it is that okay with you
    After that, I went to the Admin CP so I could update the forum off message, but I was presented with this error:

    Click image for larger version

Name:	Admin CP.jpg
Views:	1
Size:	50.3 KB
ID:	3723382

    Only our owner can take care of that error in the screenshot, which will be tomorrow, but what's causing the "blockage" he reported when trying to upgrade?

    EDIT: I'm assuming the issue in the screenshot would get resolved by upgrading, but we can't because of the error our owner reported.
    Last edited by Amaury; Wed 23 May '12, 8:33pm. Reason: Note
    Former vBulletin user
  • Wayne Luke
    vBulletin Technical Support Lead
    • Aug 2000
    • 74111

    #2
    Without the actual Unexpected Text error, I can only guess but I would say it is a problem with one of the uploaded files. If you edited any files make sure they are saved in ASCII text mode. Many UTF-8 formats add hidden characters that break things.

    The screenshot above isn't related to the upgrade. You need to delete the install.php file. Ideally this is deleted before uploading all the files.
    Translations provided by Google.

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

    Comment

    • Amaury
      Senior Member
      • Mar 2012
      • 1807
      • 4.2.X

      #3
      Originally posted by Wayne Luke
      Without the actual Unexpected Text error, I can only guess but I would say it is a problem with one of the uploaded files. If you edited any files make sure they are saved in ASCII text mode. Many UTF-8 formats add hidden characters that break things.

      The screenshot above isn't related to the upgrade. You need to delete the install.php file. Ideally this is deleted before uploading all the files.
      Does the error vary between different people? If not, would it be the unexpected text reported by this user?

      Thanks for the help, Wayne.

      Edit: If it does vary between people, I'll ask our owner tomorrow for the exact error and post it here.
      Last edited by Amaury; Wed 23 May '12, 9:03pm. Reason: Note
      Former vBulletin user

      Comment

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

        #4
        It can vary.
        Translations provided by Google.

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

        Comment

        • Amaury
          Senior Member
          • Mar 2012
          • 1807
          • 4.2.X

          #5
          It seems we can't even get to the upgrade area now. After clicking Enter Upgrade System, the following appears:

          Click image for larger version

Name:	Parse Error.jpg
Views:	1
Size:	37.1 KB
ID:	3687364

          He even had me try.
          Former vBulletin user

          Comment

          • Matthew Gordon
            Senior Member
            • May 2002
            • 3243
            • 1.1.x

            #6
            The file probably got messed up somehow, he should re-upload it - and if it still persists, re-download a fresh copy of 4.2.0 and then re-upload that.

            Comment

            • Amaury
              Senior Member
              • Mar 2012
              • 1807
              • 4.2.X

              #7
              Alright, we finally got ourselves upgraded, but what's this new Run Upgrade Script link in the Admin CP?

              Also, I ran Suspect File Versions just to make sure all is good, which it is, but it says File not found for theme.js. What is that?
              Former vBulletin user

              Comment

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

                #8
                Originally posted by Amaury25
                Alright, we finally got ourselves upgraded, but what's this new Run Upgrade Script link in the Admin CP?
                It is a link to the upgrade script. Running the upgrade script is often helpful if you need to restore the master style or language. In the future you can simply go there to run your upgrade as well.

                Also, I ran Suspect File Versions just to make sure all is good, which it is, but it says File not found for theme.js. What is that?
                Shrug... Probably from an addon.
                Translations provided by Google.

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

                Comment

                • Amaury
                  Senior Member
                  • Mar 2012
                  • 1807
                  • 4.2.X

                  #9
                  Originally posted by Wayne Luke
                  It is a link to the upgrade script. Running the upgrade script is often helpful if you need to restore the master style or language. In the future you can simply go there to run your upgrade as well.

                  Shrug... Probably from an addon.
                  Thanks. The forum's working, so probably not anything major.

                  By the way, I'm hitting a database error when merging posts, such as double posts. The merges go through, so it's working, but I'm just wondering what could be causing the DBE?

                  Other than that, though, everything's working perfectly.

                  A VERY big thanks to you and Matthew for your guys' help. It is HIGHLY appreciated.
                  Former vBulletin user

                  Comment

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

                    #10
                    Originally posted by Amaury25
                    By the way, I'm hitting a database error when merging posts, such as double posts. The merges go through, so it's working, but I'm just wondering what could be causing the DBE?
                    Need to see the actual error. It should be emailed to the technical email listed in the config.php file.
                    Translations provided by Google.

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

                    Comment

                    • Amaury
                      Senior Member
                      • Mar 2012
                      • 1807
                      • 4.2.X

                      #11
                      Originally posted by Wayne Luke
                      Need to see the actual error. It should be emailed to the technical email listed in the config.php file.
                      Here you go.

                      Click image for larger version

Name:	Merge Posts Database Error.jpg
Views:	1
Size:	56.3 KB
ID:	3687382

                      Code:
                      Database error in vBulletin 4.2.0:
                      
                      Invalid SQL:
                      DELETE FROM activitystream
                      			WHERE
                      				typeid = 
                      					AND
                      				contentid IN (SELECT postid FROM post WHERE threadid IN (659));
                      
                      MySQL Error   : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND
                      				contentid IN (SELECT postid FROM post WHERE threadid IN (659))' at line 4
                      Error Number  : 1064
                      Request Date  : Friday, May 25th 2012 @ 11:54:15 AM
                      Error Date    : Friday, May 25th 2012 @ 11:54:15 AM
                      Script        : http://www.kh-mediaflare.net/inlinemod.php?do=domergeposts&t=659&postids=2954,2955
                      Referrer      : http://www.kh-mediaflare.net/inlinemod.php?threadid=659&p=2954
                      IP Address    : 66.243.236.223
                      Username      : Amaury
                      Classname     : vB_Database
                      MySQL Version : 5.1.63-community-log
                      Former vBulletin user

                      Comment

                      • Lynne
                        Former vBulletin Support
                        • Oct 2004
                        • 26255

                        #12

                        Please don't PM or VM me for support - I only help out in the threads.
                        vBulletin Manual & vBulletin 4.0 Code Documentation (API)
                        Want help modifying your vbulletin forum? Head on over to vbulletin.org
                        If I post CSS and you don't know where it goes, throw it into the additional.css template.

                        W3Schools <- awesome site for html/css help

                        Comment

                        Related Topics

                        Collapse

                        Working...