please help, cant connect to database anymore??

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • hoangsts
    New Member
    • Apr 2006
    • 12

    please help, cant connect to database anymore??

    hello,

    my forums (licensed) at chotnho.org been working for the past 6+ straight years. Today i upgraded to apache 4 and php 5.6 and its stopped connecting to my database(SQL). i opened the error_log and see these messages:

    [19-Sep-2018 19:48:44 UTC] PHP Fatal error: Call to undefined function mysql_connect() in /home/chotnho/public_html/includes/class_core.php on line 317


    i dont know what to do.. please help

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

    #2
    PHP 5.6.X does not support the mysql library. You must use the mysqli library. Please upgrade your site to vBulletin 3.8.11. A six year old version of the software is no longer viable on modern servers.
    Translations provided by Google.

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

    Comment

    • hoangsts
      New Member
      • Apr 2006
      • 12

      #3
      hi,

      is 3.8.11 a paid version? or i can download it somewhere.. i think i also paid for the 4.x version but didnt download it and now all my versions and websites are gone from the member area.

      Comment

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

        #4
        You can download either 3.8.11 or 4.2.5 from members.vbulletin.com. I see several licenses on your account. None of them are restricted.
        Translations provided by Google.

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

        Comment

        • hoangsts
          New Member
          • Apr 2006
          • 12

          #5
          sorry.. i got an email from support i was logged in with a different email address.. iam ok now.. downloading version 4.x .....

          Comment

          • m-d-luffy
            Senior Member
            • Sep 2018
            • 109

            #6
            Originally posted by hoangsts
            sorry.. i got an email from support i was logged in with a different email address.. iam ok now.. downloading version 4.x .....
            Upgrade the forum to the latest version of the vb3
            or
            If you are using Apache 4, you can use multiple versions of PHP
            العاب - game
            العاب - game
            العاب - game

            https://www.youtube.com/@abdur7maan

            Comment

            widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
            Working...