Fatal error: Call to undefined function mysqli_init() in C:\.\class_core.php line 993

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • runes911
    New Member
    • Sep 2004
    • 22

    Fatal error: Call to undefined function mysqli_init() in C:\.\class_core.php line 993

    Getting this error when trying to upgrade my board. Any ideas?

    Fatal error: Call to undefined function mysqli_init() in C:\Inetpub\wwwroot\vbulletin\includes\class_core.php on line 993
  • runes911
    New Member
    • Sep 2004
    • 22

    #2
    Well I narrowed it down to the fact that I am trying to use mysqli in the dbtype under the config. I do have PHP5 and SQL 4.1+ so why will it not let me use the mysqli setting? Is it because it is an upgrade?

    Comment

    • runes911
      New Member
      • Sep 2004
      • 22

      #3
      Great... Now I am getting a different error:


      Go to my page and click any forum listed. With IE you get a popup saying, Internet explorer cannot open the internet site: http://forums.phoenixrealm.net/forumdisplay.php?f=7

      **sigh** any ideas?

      Comment

      • Zachery
        Former vBulletin Support
        • Jul 2002
        • 59097

        #4
        Sounds like you don't actually have mysqli support enabled in php..

        I'd suggest using the regular mysql connection class anyway.

        Originally posted by runes911
        Great... Now I am getting a different error:


        Go to my page and click any forum listed. With IE you get a popup saying, Internet explorer cannot open the internet site: http://forums.phoenixrealm.net/forumdisplay.php?f=7

        **sigh** any ideas?
        Your style is not compatable with vBulletin 3.5.0 you should take a look at our upgrading FAQ for links to all of the template changes in the 3.5.0 serries.

        Comment

        • Behrooz_Ice
          New Member
          • Dec 2003
          • 16
          • 3.0.0 Gamma

          #5
          Fatal error: Call to undefined function mysqli_init() in C:.\class_core.php line 1030

          Hi,
          we have move vbulletin forum to new server which use Windows 2003 OS and plesk control panel.
          on new Host we got this error:
          Fatal error: Call to undefined function mysqli_init() in C:.\class_core.php line 1030

          whats the problem?
          php version is 5.5.2

          Regards,

          Comment

          • Zachery
            Former vBulletin Support
            • Jul 2002
            • 59097

            #6
            Is there any reason you cannot just use mysql?

            Comment

            • Behrooz_Ice
              New Member
              • Dec 2003
              • 16
              • 3.0.0 Gamma

              #7
              Hi,
              when i changed $config['Database']['dbtype'] = 'mysqli'; to mysql i got database error.
              please see the attachment.


              Regards,
              Attached Files

              Comment

              • Behrooz_Ice
                New Member
                • Dec 2003
                • 16
                • 3.0.0 Gamma

                #8
                Originally posted by Zachery
                Is there any reason you cannot just use mysql?
                Hi,
                whats the problem?
                please help me

                Comment

                • Zachery
                  Former vBulletin Support
                  • Jul 2002
                  • 59097

                  #9
                  For future refrence please wait at least 24 hours before bumping posts on the forum.

                  I need to see the real error message, view the source and paste the full error message here.s

                  Comment

                  • Behrooz_Ice
                    New Member
                    • Dec 2003
                    • 16
                    • 3.0.0 Gamma

                    #10
                    Originally posted by Zachery
                    For future refrence please wait at least 24 hours before bumping posts on the forum.

                    I need to see the real error message, view the source and paste the full error message here.s

                    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
                    <html>
                    <head>
                    <title> Database Error</title>
                    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
                    <style type="text/css">
                    <!--
                    body { background-color: white; color: black; }
                    #container { width: 400px; }
                    #message { width: 400px; color: black; background-color: #FFFFCC; }
                    #bodytitle { font: 13pt/15pt verdana, arial, sans-serif; height: 35px; vertical-align: top; }
                    .bodytext { font: 8pt/11pt verdana, arial, sans-serif; }
                    a:link { font: 8pt/11pt verdana, arial, sans-serif; color: red; }
                    a:visited { font: 8pt/11pt verdana, arial, sans-serif; color: #4e4e4e; }
                    -->
                    </style>
                    </head>
                    <body>
                    <table cellpadding="3" cellspacing="5" id="container">
                    <tr>
                    <td><img src="/image.php?type=dberror" alt="Database Error" width="48" height="48" /></td>

                    <td id="bodytitle" width="100%">Database error</td>
                    </tr>
                    <tr>
                    <td class="bodytext" colspan="2">The database has encountered a problem.</td>
                    </tr>
                    <tr>
                    <td colspan="2"><hr /></td>
                    </tr>
                    <tr>
                    <td class="bodytext" colspan="2">
                    Please try the following:
                    <ul>

                    <li>Load the page again by clicking the <a href="#" onclick="window.location = window.location;">Refresh</a> button in your web browser.</li>
                    <li>Open the <a href="/">domain</a> home page, then try to open another page.</li>
                    <li>Click the <a href="javascript:history.back(1)">Back</a> button to try another link.</li>

                    </ul>
                    </td>
                    </tr>
                    <tr>
                    <td class="bodytext" colspan="2">The domain forum technical staff have been notified of the error, though you may <a href="mailto:[email protected]">contact them</a> if the problem persists.</td>
                    </tr>
                    <tr>
                    <td class="bodytext" colspan="2">&nbsp;<br />We apologise for any inconvenience.</td>

                    </tr>
                    </table>


                    <!--
                    Database error in vBulletin :

                    mysqli_real_connect() [&lt;a href='function.mysqli-real-connect'&gt;function.mysqli-real-connect&lt;/a&gt;]: (28000/1045): Access denied for user 'n0op5399sd'@'localhost' (using password: YES)
                    C:\Inetpub\vhosts\domain\httpdocs\forums\includes\class_core.php on line 1040

                    MySQL Error :
                    Error Number :
                    Date : Monday, December 31st 2007 @ 11:22:04 AM
                    Script : http://domain/forums/index.php
                    Referrer :
                    IP Address : 91.98.116.109
                    Username :
                    Classname : vB_Database_MySQLi
                    -->

                    </body>

                    </html>

                    Comment

                    • Behrooz_Ice
                      New Member
                      • Dec 2003
                      • 16
                      • 3.0.0 Gamma

                      #11
                      I changed password user and that problem was solved but now i got this error:

                      Unable to add cookies, header already sent.
                      File: C:\Inetpub\vhosts\domain\httpdocs\forums\includes\config.php
                      Line: 1

                      whats the problem now?

                      Comment

                      • Steve Machol
                        Former Customer Support Manager
                        • Jul 2000
                        • 154488

                        #12
                        That error means that you have a leading space or blank line at the start of your config.php file.
                        Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
                        Change CKEditor Colors to Match Style (for 4.1.4 and above)

                        Steve Machol Photography


                        Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


                        Comment

                        • Behrooz_Ice
                          New Member
                          • Dec 2003
                          • 16
                          • 3.0.0 Gamma

                          #13
                          i reupload config.php and all problem was solved.
                          regards,

                          Comment

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