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/mc/extfs.d/unar
#! /bin/sh

# Written by Ilia Maslakov <il.smind@gmail.com>
#
# (C) 2020 The Free Software Foundation.

# Define awk
AWK=awk

# Define which archiver you are using with appropriate options
UNAR_LIST="lsar "
UNAR_GET="unar "

# The 'list' command executive
mc_unar_fs_list()
{
    # List the contents of the archive and sort it out
    $UNAR_LIST -l "$1" | $AWK -v uid=`id -nu` -v gid=`id -ng` '
	BEGIN { flag = 0 }
	/^\(Flags/ {next}
	/^\(Mode/ {next}
	{
	    flag++;
	    if (flag < 4)
		next
	    pr="-r--r--r--"
	    if (index($2, "D") != 0)
		pr="dr-xr-xr-x"
	    split($6, a, "-")
	    split($7, b, ":")
	    printf "%s 1 %s %s %d %02d/%02d/%02d %02d:%02d  %s\n", pr, uid, gid, $3, a[3], a[2], a[1], b[1], b[2], $8
	}'
}

# The 'copyout' command executive to copy displayed files to a destination
mc_unar_fs_copyout ()
{
    TMPDIR=`mktemp -d "${MC_TMPDIR:-/tmp}/mctmpdir-uha.XXXXXX"` || exit 1

    $UNAR_GET  "$1" "$2" -o "$TMPDIR" >/dev/null
    we=`basename "$1" | sed -E 's|^(.*?)\.\w+$|\1|'`
    cat "$TMPDIR/$we/$2" > "$3"
    cd /
    rm -rf "$TMPDIR"
}

# The main routine
umask 077

cmd="$1"
shift

case "$cmd" in
   list)    mc_unar_fs_list    "$@" ;;
   copyout) mc_unar_fs_copyout "$@" ;;
   *)       exit 1 ;;
esac

exit 0