Announcement

Collapse
No announcement yet.

"Unexpected Text" Error when upgrading from 5.5.4 to 5.5.5

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

  • [Bug / Issue] "Unexpected Text" Error when upgrading from 5.5.4 to 5.5.5

    When I run the upgrade script to go to 5.5.6, I get an "Unexpected Text" error. Any ideas? I tried a suggestion of reverting the default style, but that did not work. I also tried uploading the upgrade file package for 5.5.5 rather than 5.5.6, but I got the same result.
    1. vBulletin Version 5.5.4 Patch Level 2
    2. PHP Version 7.3.11
    3. MySQL Version 5.6.42-log
    4. No Addons installed
    5. Does the issue occur in a default style? - Yes
    6. Does the issue occur using the English language provided? - Yes
    7. Error message on the screen:

    Code:
    vBulletin v5.5.4, Copyright © 2020 MH Sub I, LLC dba vBulletin. All rights reserved.
    
    Unexpected Text:
    <?xml version="1.0" encoding="windows-1252"?>
    <upgrade>
    <message replace="0">Template Group: Display</message>
    <startat>11</startat>
    <status>Status: Processing XML, Step 15 of 22</status>
    <longversion>final</longversion>
    <version>final</version>
    <nextstep>15</nextstep>
    <upgradenotice><![CDATA[<strong>Processing XML</strong>]]></upgradenotice>
    </upgrade>
    Script: final
    Step: 15
    8. Browser and Browser version used. - Chrome version 80.0.3987.87
    9. Did you clear the browser cache and did the error continue? - No, I did not try that.
    10. A list of steps that can be used to recreate the issue - Go to Upgrade url, Run the vBulletin Upgrade Script, the error comes up

  • #2
    What character set are you using in the config.php file and what collation is your server using?

    It is recommended that you use Latin1 with UTF8MB4 as per the following in the config.php file:

    // ****** MySQLI OPTIONS *****
    // When using MySQL 4.1+, MySQLi should be used to connect to the database.
    // If you need to set the default connection charset because your database
    // is using a charset other than latin1, you can set the charset here.
    // If you don't set the charset to be the same as your database, you
    // may receive collation errors. Ignore this setting unless you
    // are sure you need to use it.
    // $config['Mysqli']['charset'] = 'utf8';

    Comment


    • #3
      Looks like the collation is latin1_swedish_ci (from phpmyadmin)? The charset line is not set (commented out as default) in the config.php file. Do I need to change the collation? (This forum is English only.)

      Thank you for your help!
      Last edited by Sadie Frost; Sat 8th Feb '20, 10:23am.

      Comment


      • #4
        Do not change the line in the config.php file. It will not resolve collation errors in the database. And may cause additional issues.

        This error is common on servers that only allow a specific amount of page accesses in a limited time. One of the biggest set of culprits are GoDaddy servers. Waiting 15 minutes and refreshing the Upgrade page in your browser often lets it continue. Though it may time out again.
        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
          If we run the upgrade via command line, would that alleviate this issue? I can keep running the upgrade script, though when it finishes all the steps, it goes back to step one for the last version.

          Comment


          • #6
            If the issue is due to a server timeout, running from the CLI will resolve it.
            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

            Related Topics

            Collapse

            Working...
            X