vBulletin 4.2.3 Beta - 4 Malfunction

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • MacroPhotoPro
    Senior Member
    • Feb 2012
    • 266
    • 4.2.x

    vBulletin 4.2.3 Beta - 4 Malfunction

    I was advised by 2 members of the vBulletin staff to upgrade to this version to fix issues I had with vBulletin 4.2.2 ... and was "assured" it was a stable system. So I have uploaded this beta version to my system, but when I actually try to upgrade via /install/upgrade.php, I am getting the following error message:

    Code:
    mysqli_real_connect(): (HY000/2002): No such file or directory
    /var/www/vhosts/xxx.xxx/httpdocs/includes/class_core.php on line 1359
    
    MySQL Error   :
    Error Number  :
    Request Date  : Monday, April 6th 2015 @ 09:44:46 PM
    Error Date    : Monday, April 6th 2015 @ 09:44:46 PM
    Script        : http://www.xxx.xxx/install/upgrade.php
    Referrer      :
    IP Address    : 104.111.62.156
    Username      :
    Classname     : vB_Database_MySQLi
    MySQL Version :
    At first, the 4.2.3-Beta 4 wouldn't even load till I upgraded to PHP 5 (no one told me it needed this). Then, after paying $79 to upgrade to PHP 5, I can't even upgrade because of this error message.

    It has been 36 hours since I posted my problem, and no one has tried to help me sort this out. My brother and I have been working on our site for more than 3 years, and it is scheduled to open on 4/15, so it would be great if the support staff would be as quick to help troubleshoot the problem as they were to jump in and recommend that I make the upgrade.

    The folder/file
    includes/class_core.php is actually there.

    One person told me to "
    comment out line 5711 of class_core.php in the /includes/ folder," but am not sure how to do this.

    Can anyone please post the exact edit I need to make to class_core.php, or share their experiences in navigating through this issue?

    Thank you.
    Website | Facebook | Flickr Photostream
  • kh99
    Senior Member
    • Aug 2009
    • 533

    #2
    This has to do with php connecting to the mysql server. The reference to class_core.php is telling you where the call was made from, not which file is missing.

    If you have 'localhost' as the server address in the config.php, try using 127.0.0.1 instead.

    Comment

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

      #3
      Open your config.php file and change the database class from mysqli to mysql.

      Then ask your host to install the mysqli libraries within PHP as mysql is no longer supported.
      Translations provided by Google.

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

      Comment

      • MacroPhotoPro
        Senior Member
        • Feb 2012
        • 266
        • 4.2.x

        #4
        Originally posted by kh99
        This has to do with php connecting to the mysql server. The reference to class_core.php is telling you where the call was made from, not which file is missing.

        If you have 'localhost' as the server address in the config.php, try using 127.0.0.1 instead.

        That did the trick, thank you!
        Website | Facebook | Flickr Photostream

        Comment

        • Guest

          #5
          delete
          Last edited by Guest; Sun 17 Apr '22, 10:36pm.

          Comment

          • Paul M
            Former Lead Developer
            vB.Com & vB.Org
            • Sep 2004
            • 9886

            #6
            Well it shouldnt break anything if you do, but its not a good sign about your server set-up if you are getting those.
            Baby, I was born this way

            Comment

            • Guest

              #7
              delete
              Last edited by Guest; Sun 17 Apr '22, 10:38pm.

              Comment

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

                #8
                Originally posted by semprot
                What caused that issue?
                Overloaded mysql? Or unoptimized mysql?
                Could just be Windows. If it somehow gets an ipv6 connection, then the address for localhost becomes ::1 and things can break. Might be true on other OSes as well.
                Translations provided by Google.

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

                Comment

                Related Topics

                Collapse

                Working...