5.2.5 upgrade error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • napy8gen
    Senior Member
    • Jul 2001
    • 525
    • 6.X

    5.2.5 upgrade error

    Hello Guys. I got this error,
    2: mysqli_real_connect() expects parameter 6 to be long, string given

    Can anyone please help. I have no problem in all other versions. This is my first time.
    Get Our vbulletin 6 themes
  • Mark.B
    vBulletin Support
    • Feb 2004
    • 24287
    • 6.0.X

    #2
    Originally posted by napy8gen
    Hello Guys. I got this error,
    2: mysqli_real_connect() expects parameter 6 to be long, string given

    Can anyone please help. I have no problem in all other versions. This is my first time.
    Where exactly is this showing up?
    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

    • napy8gen
      Senior Member
      • Jul 2001
      • 525
      • 6.X

      #3
      When I hit enter to run the upgrade script at mydomainname.com/forum-name/core/install/upgrade.php
      Get Our vbulletin 6 themes

      Comment

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

        #4
        What do you have for the port setting in /core/includes/config.php?

        The default is this:
        PHP Code:
        $config['MasterServer']['port'] = 3306

        Normally it should be left like that.
        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

        • Merenguista
          Senior Member
          • Jul 2010
          • 555
          • 5.3.x

          #5
          I have the same issue and it was fixed after i added 3306 to the port setting line ..

          Comment

          • napy8gen
            Senior Member
            • Jul 2001
            • 525
            • 6.X

            #6
            Yes I can now, Thank you Mark. The port number has to be added because previously it is emptied only slave has the port number. I think our config.php was outdated as we're early adopters.
            Get Our vbulletin 6 themes

            Comment

            • Glen Combe
              New Member
              • Feb 2016
              • 24
              • 5.1.x

              #7
              i am having the same issue from 5.2.4 to 5.2.5. but I have $config['MasterServer']['port'] = 3306; defined in my config.php already?

              Comment

              Related Topics

              Collapse

              Working...