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/2
System: Linux ns1.websitegang.club 5.4.0-149-generic #166-Ubuntu SMP Tue Apr 18 16:51:45 UTC 2023 x86_64
User: kunchorn (1109)
PHP: 8.2.29
Disabled: exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: /home/kunchorn/public_html/wp-content/themes/flatsome/inc/builder/templates/templates.php
<?php

ux_builder_add_template( 'flatsome_home_big-sale', array(
  'post_types' => array( 'page' ),
  'category' => __( 'Shop', 'flatsome' ),
  'name' => 'Big Sale',
  'thumbnail' => flatsome_ux_builder_template_thumb( 'big-sale' ),
  'template' => 'page-blank.php',
  'content' => file_get_contents( __DIR__ . '/content/big-sale.txt' ),
) );
  
ux_builder_add_template( 'flatsome_home_classic-shop', array(
  'post_types' => array( 'page' ),
  'category' => __( 'Shop', 'flatsome' ),
  'name' => 'Classic Shop',
  'thumbnail' => flatsome_ux_builder_template_thumb( 'classic-shop' ),
  'template' => 'page-blank.php',
  'content' => file_get_contents( __DIR__ . '/content/classic-shop.txt' ),
) );
  
ux_builder_add_template( 'flatsome_home_cute-shop', array(
  'post_types' => array( 'page' ),
  'category' => __( 'Shop', 'flatsome' ),
  'name' => 'Cute Shop',
  'thumbnail' => flatsome_ux_builder_template_thumb( 'cute-shop' ),
  'template' => 'page-blank.php',
  'content' => file_get_contents( __DIR__ . '/content/cute-shop.txt' ),
) );
  
ux_builder_add_template( 'flatsome_home_fullscreen-fashion', array(
  'post_types' => array( 'page' ),
  'category' => __( 'Shop', 'flatsome' ),
  'name' => 'Fullscreen Fashion',
  'thumbnail' => flatsome_ux_builder_template_thumb( 'fullscreen-fashion' ),
  'template' => 'page-transparent-header-light.php',
  'content' => file_get_contents( __DIR__ . '/content/fullscreen-fashion.txt' ),
) );
  
ux_builder_add_template( 'flatsome_home_grid-style-1', array(
  'post_types' => array( 'page' ),
  'category' => __( 'Shop', 'flatsome' ),
  'name' => 'Grid Style 1',
  'thumbnail' => flatsome_ux_builder_template_thumb( 'grid-style-1' ),
  'template' => 'page-blank.php',
  'content' => file_get_contents( __DIR__ . '/content/grid-style-1.txt' ),
) );
  
ux_builder_add_template( 'flatsome_home_grid-style-2', array(
  'post_types' => array( 'page' ),
  'category' => __( 'Shop', 'flatsome' ),
  'name' => 'Grid Style 2',
  'thumbnail' => flatsome_ux_builder_template_thumb( 'grid-style-2' ),
  'template' => 'page-blank.php',
  'content' => file_get_contents( __DIR__ . '/content/grid-style-2.txt' ),
) );
  
ux_builder_add_template( 'flatsome_home_grid-style-3', array(
  'post_types' => array( 'page' ),
  'category' => __( 'Shop', 'flatsome' ),
  'name' => 'Grid Style 3',
  'thumbnail' => flatsome_ux_builder_template_thumb( 'grid-style-3' ),
  'template' => 'page-blank.php',
  'content' => file_get_contents( __DIR__ . '/content/grid-style-3.txt' ),
) );
  
ux_builder_add_template( 'flatsome_home_mega-shop', array(
  'post_types' => array( 'page' ),
  'category' => __( 'Shop', 'flatsome' ),
  'name' => 'Mega Shop',
  'thumbnail' => flatsome_ux_builder_template_thumb( 'mega-shop' ),
  'template' => 'page-blank.php',
  'content' => file_get_contents( __DIR__ . '/content/mega-shop.txt' ),
) );
  
ux_builder_add_template( 'flatsome_home_parallax-shop', array(
  'post_types' => array( 'page' ),
  'category' => __( 'Shop', 'flatsome' ),
  'name' => 'Parallax Shop',
  'thumbnail' => flatsome_ux_builder_template_thumb( 'parallax-shop' ),
  'template' => 'page-blank.php',
  'content' => file_get_contents( __DIR__ . '/content/parallax-shop.txt' ),
) );
  
ux_builder_add_template( 'flatsome_home_sale-countdown', array(
  'post_types' => array( 'page' ),
  'category' => __( 'Shop', 'flatsome' ),
  'name' => 'Sale Countdown',
  'thumbnail' => flatsome_ux_builder_template_thumb( 'sale-countdown' ),
  'template' => 'page-blank.php',
  'content' => file_get_contents( __DIR__ . '/content/sale-countdown.txt' ),
) );
  
ux_builder_add_template( 'flatsome_home_simple-slider', array(
  'post_types' => array( 'page' ),
  'category' => __( 'Shop', 'flatsome' ),
  'name' => 'Simple Slider',
  'thumbnail' => flatsome_ux_builder_template_thumb( 'simple-slider' ),
  'template' => 'default',
  'content' => file_get_contents( __DIR__ . '/content/simple-slider.txt' ),
) );
  
ux_builder_add_template( 'flatsome_home_slider-cover', array(
  'post_types' => array( 'page' ),
  'category' => __( 'Shop', 'flatsome' ),
  'name' => 'Slider Cover',
  'thumbnail' => flatsome_ux_builder_template_thumb( 'slider-cover' ),
  'template' => 'page-transparent-header-light.php',
  'content' => file_get_contents( __DIR__ . '/content/slider-cover.txt' ),
) );
  
ux_builder_add_template( 'flatsome_home_sport-shop', array(
  'post_types' => array( 'page' ),
  'category' => __( 'Shop', 'flatsome' ),
  'name' => 'Sport Shop',
  'thumbnail' => flatsome_ux_builder_template_thumb( 'sport-shop' ),
  'template' => 'page-transparent-header-light.php',
  'content' => file_get_contents( __DIR__ . '/content/sport-shop.txt' ),
) );
  
ux_builder_add_template( 'flatsome_home_vendor-shop', array(
  'post_types' => array( 'page' ),
  'category' => __( 'Shop', 'flatsome' ),
  'name' => 'Vendor Shop',
  'thumbnail' => flatsome_ux_builder_template_thumb( 'vendor-shop' ),
  'template' => 'page-blank.php',
  'content' => file_get_contents( __DIR__ . '/content/vendor-shop.txt' ),
) );
  
ux_builder_add_template( 'flatsome_home_video-cover', array(
  'post_types' => array( 'page' ),
  'category' => __( 'Shop', 'flatsome' ),
  'name' => 'Video Cover',
  'thumbnail' => flatsome_ux_builder_template_thumb( 'video-cover' ),
  'template' => 'page-transparent-header-light.php',
  'content' => file_get_contents( __DIR__ . '/content/video-cover.txt' ),
) );


ux_builder_add_template( 'flatsome_home_agency', array(
'post_types' => array( 'page' ),
'category' => __( 'Shop', 'flatsome' ),
'name' => 'Agency',
'thumbnail' => flatsome_ux_builder_template_thumb( 'agency' ),
'template' => 'page-transparent-header-light.php',
'content' => file_get_contents( __DIR__ . '/content/agency.txt' ),
) );

  
ux_builder_add_template( 'flatsome_home_simple-corporate', array(
  'post_types' => array( 'page' ),
  'category' => __( 'Shop', 'flatsome' ),
  'name' => 'Corporate',
  'thumbnail' => flatsome_ux_builder_template_thumb( 'simple-corporate' ),
  'template' => 'page-blank.php',
  'content' => file_get_contents( __DIR__ . '/content/simple-corporate.txt' ),
) );
  
ux_builder_add_template( 'flatsome_home_explore', array(
  'post_types' => array( 'page' ),
  'category' => __( 'Shop', 'flatsome' ),
  'name' => 'Explore',
  'thumbnail' => flatsome_ux_builder_template_thumb( 'explore' ),
  'template' => 'page-transparent-header.php',
  'content' => file_get_contents( __DIR__ . '/content/explore.txt' ),
) );
  
ux_builder_add_template( 'flatsome_home_freelancer', array(
  'post_types' => array( 'page' ),
  'category' => __( 'Shop', 'flatsome' ),
  'name' => 'Freelancer',
  'thumbnail' => flatsome_ux_builder_template_thumb( 'freelancer' ),
  'template' => 'page-transparent-header-light.php',
  'content' => file_get_contents( __DIR__ . '/content/freelancer.txt' ),
) );