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/Maildir/new/1663901146.H674744P5732.ns1.websitegang.club
Return-path: <>
Envelope-to: kunchorn@kun-chorn.com
Delivery-date: Fri, 23 Sep 2022 09:45:46 +0700
Received: from mail by ns1.websitegang.club with local (Exim 4.93.0.4)
	id 1obYhG-0001UN-Kk
	for kunchorn@kun-chorn.com; Fri, 23 Sep 2022 09:45:46 +0700
X-Failed-Recipients: test@gmail.com
Auto-Submitted: auto-replied
From: Mail Delivery System <Mailer-Daemon@ns1.websitegang.club>
To: kunchorn@kun-chorn.com
References: <kB1SoGWboMld8jEDyx6wmMNmqU7XhqdMWgm3h8qEs@kun-chorn.com>
Content-Type: multipart/report; report-type=delivery-status; boundary=1663901146-eximdsn-1362741052
MIME-Version: 1.0
Subject: Mail delivery failed: returning message to sender
Message-Id: <E1obYhG-0001UN-Kk@ns1.websitegang.club>
Date: Fri, 23 Sep 2022 09:45:46 +0700

--1663901146-eximdsn-1362741052
Content-type: text/plain; charset=us-ascii

This message was created automatically by mail delivery software.

A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:

  test@gmail.com
    host gmail-smtp-in.l.google.com [142.251.10.26]
    SMTP error from remote mail server after RCPT TO:<test@gmail.com>:
    550-5.1.1 The email account that you tried to reach does not exist. Please try
    550-5.1.1 double-checking the recipient's email address for typos or
    550-5.1.1 unnecessary spaces. Learn more at
    550 5.1.1  https://support.google.com/mail/?p=NoSuchUser z124-20020a626582000000b0053a7bb3b030si8207671pfb.168 - gsmtp

--1663901146-eximdsn-1362741052
Content-type: message/delivery-status

Reporting-MTA: dns; ns1.websitegang.club

Action: failed
Final-Recipient: rfc822;test@gmail.com
Status: 5.0.0
Remote-MTA: dns; gmail-smtp-in.l.google.com
Diagnostic-Code: smtp; 550-5.1.1 The email account that you tried to reach does not exist. Please try
 550-5.1.1 double-checking the recipient's email address for typos or
 550-5.1.1 unnecessary spaces. Learn more at
 550 5.1.1  https://support.google.com/mail/?p=NoSuchUser z124-20020a626582000000b0053a7bb3b030si8207671pfb.168 - gsmtp

--1663901146-eximdsn-1362741052
Content-type: message/rfc822

Return-path: <kunchorn@kun-chorn.com>
Received: from kunchorn by ns1.websitegang.club with local (Exim 4.93.0.4)
	(envelope-from <kunchorn@kun-chorn.com>)
	id 1obYhF-0001Tx-Fu
	for test@gmail.com; Fri, 23 Sep 2022 09:45:45 +0700
To: test@gmail.com
Subject: =?UTF-8?B?W+C4geC4uOC4jeC4iuC4oyDguITguYnguLLguKfguLHguKrguJTguLjguIE=?=  =?UTF-8?B?4LmI4Lit4Liq4Lij4LmJ4Liy4LiHXSDguILguK3guJrguITguLjguJPguKo=?=  =?UTF-8?B?4Liz4Lir4Lij4Lix4Lia4LiB4Liy4Lij4Liq4Lix4LmI4LiH4LiL4Li34LmJ?=  =?UTF-8?B?4Lit?=
X-PHP-Originating-Script: 1082:PHPMailer.php
Date: Fri, 23 Sep 2022 02:45:45 +0000
From: "KUN-CHORN.COM" <kun-chorn@hotmail.com>
Reply-To: "KUN-CHORN.COM" <kun-chorn@hotmail.com>
Message-ID: <kB1SoGWboMld8jEDyx6wmMNmqU7XhqdMWgm3h8qEs@kun-chorn.com>
X-Mailer: PHPMailer 6.1.6 (https://github.com/PHPMailer/PHPMailer)
MIME-Version: 1.0
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit

<!DOCTYPE html>
<html lang="th" style="height: 100%; position: relative;">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<title>กุญชร ค้าวัสดุก่อสร้าง</title>
	</head>
	<body leftmargin="0" marginwidth="0" topmargin="0" marginheight="0" offset="0" class="kt-woo-wrap order-items-normal k-responsive-normal title-style-none email-id-customer_on_hold_order" style="height: 100%; position: relative; background-color: #f7f7f7; margin: 0; padding: 0;">
		<div id="wrapper" dir="ltr" style="background-color: #f7f7f7; margin: 0; padding: 70px 0 70px 0; width: 100%; padding-top: 70px; padding-bottom: px; -webkit-text-size-adjust: none;">
			<table border="0" cellpadding="0" cellspacing="0" height="100%" width="100%">
				<tr>
					<td align="center" valign="top">
													<table id="template_header_image_container" style="width: 100%; background-color: transparent;">
								<tr id="template_header_image">
									<td align="center" valign="middle">
										<table border="0" cellpadding="0" cellspacing="0" width="100%" id="template_header_image_table">
											<tr>
												<td align="center" valign="middle" style="text-align: center; padding-top: 0px; padding-bottom: 0px;">
																									</td>
											</tr>
										</table>
									</td>
								</tr>
							</table>
												<table border="0" cellpadding="0" cellspacing="0" width="600" id="template_container" style="background-color: #ffffff; overflow: hidden; border-style: solid; border-width: 1px; border-right-width: px; border-bottom-width: px; border-left-width: px; border-color: #dedede; border-radius: 3px; box-shadow: 0 1px 4px 1px rgba(0,0,0,0.1);">
							<tr>
								<td align="center" valign="top">
																		<!-- Header -->
									<table border="0" cellpadding="0" cellspacing="0" width="100%" id="template_header" style='border-bottom: 0; font-weight: bold; line-height: 100%; vertical-align: middle; font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif; background-color: #0000ff; color: #ffffff;'>
										<tr>
											<td id="header_wrapper" style="padding: 36px 48px; display: block; text-align: left; padding-top: px; padding-bottom: px; padding-left: 48px; padding-right: 48px;">
																								<h1 style='margin: 0; text-align: left; font-size: 30px; line-height: 40px; font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif; font-style: normal; font-weight: 300; color: #ffffff;'>ขอขอบคุณสำหรับการสั่งซื้อ</h1>
																									<div class="subtitle" style='font-size: 18px; line-height: 24px; font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif; font-style: normal; font-weight: 300; color: #ffffff;'>ทีมงานจะทำการจัดเตรียมสินค้า เมื่อได้รับแจ้งการชำระเงิน</div>
																							</td>
										</tr>
									</table>
									<!-- End Header -->
								</td>
							</tr>
							<tr>
								<td align="center" valign="top">
									<!-- Body -->
									<table border="0" cellpadding="0" cellspacing="0" width="600" id="template_body">
										<tr>
											<td valign="top" id="body_content" style="background-color: #ffffff; padding-top: px; padding-bottom: 0px;">
												<!-- Content -->
												<table border="0" cellpadding="20" cellspacing="0" width="100%">
													<tr>
														<td valign="top" style="padding: 0px 48px 0; padding-left: 48px; padding-right: 48px;">
															<div id="body_content_inner" style='color: #636363; text-align: left; font-size: 14px; line-height: 24px; font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif; font-weight: 400;'>
<p style="margin: 0 0 16px;">กรุณาชำระเงินตามรายการ ใบสั่งซื้อ:</p>
<section class="woocommerce-bacs-bank-details"><h2 class="wc-bacs-bank-details-heading" style='display: block; margin: 0 0 18px; text-align: left; font-size: 18px; line-height: 26px; padding-top: 0px; padding-bottom: 0px; margin-top: 0px; margin-bottom: 18px; font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif; font-weight: 700; text-transform: none; color: #0000ff;'>ข้อมูลบัญชีธนาคาร</h2>
<h3 class="wc-bacs-bank-details-account-name" style='display: block; margin: 0px 0 8px; text-align: left; font-size: 16px; line-height: 20px; font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif; font-style: normal; font-weight: 500; color: #787878;'>ธนาคารกรุงไทย:</h3>
<ul class="wc-bacs-bank-details order_details bacs_details">
<li class="bank_name">ธนาคาร: <strong>อลงกรณ์ สถิตเดชกุญชร</strong>
</li>
<li class="account_number">หมายเลขบัญชี: <strong>3066038610</strong>
</li>
</ul></section>	<div style="clear: both; height: 1px;"></div>
			<h2 style='display: block; margin: 0 0 18px; text-align: left; font-size: 18px; line-height: 26px; padding-top: 0px; padding-bottom: 0px; margin-top: 0px; margin-bottom: 18px; font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif; font-weight: 700; text-transform: none; color: #0000ff;'>
			Order #6602 (กันยายน 23, 2022)		</h2>
	
			<div class="email-spacing-wrap" style="margin-bottom: 40px;">
			<table class="td" cellspacing="0" cellpadding="6" width="100%" border="1" style='color: #636363; border: 1px solid #e5e5e5; font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif; border-color: #e4e4e4; border-width: 1px; border-style: solid; width: 100%;'>
				<thead>
					<tr>
						<th class="td" scope="col" style='color: #636363; border: 1px solid #e5e5e5; font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif; border-color: #e4e4e4; border-width: 1px; border-style: solid; padding: 12px; padding-left: px; padding-right: px; text-align: left;'>Product</th>
						<th class="td" scope="col" style='color: #636363; border: 1px solid #e5e5e5; font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif; border-color: #e4e4e4; border-width: 1px; border-style: solid; padding: 12px; padding-left: px; padding-right: px; text-align: left;'>Quantity</th>
						<th class="td" scope="col" style='color: #636363; border: 1px solid #e5e5e5; font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif; border-color: #e4e4e4; border-width: 1px; border-style: solid; padding: 12px; padding-left: px; padding-right: px; text-align: left;'>Price</th>
					</tr>
				</thead>
				<tbody>
							<tr class="order_item">
			<td class="td" style='color: #636363; border: 1px solid #e5e5e5; font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif; border-color: #e4e4e4; border-width: 1px; border-style: solid; padding: 12px; padding-left: px; padding-right: px; text-align: left; vertical-align: middle; word-wrap: break-word;'>
			กาวทาท่อ พีวีซี น้ำไทย 100 กรัม (กระป๋อง)			</td>
			<td class="td" style='color: #636363; border: 1px solid #e5e5e5; font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif; border-color: #e4e4e4; border-width: 1px; border-style: solid; padding: 12px; padding-left: px; padding-right: px; text-align: left; vertical-align: middle;'>
				1			</td>
			<td class="td" style='color: #636363; border: 1px solid #e5e5e5; font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif; border-color: #e4e4e4; border-width: 1px; border-style: solid; padding: 12px; padding-left: px; padding-right: px; text-align: left; vertical-align: middle;'>
				<span class="woocommerce-Price-amount amount"><span class="woocommerce-Price-currencySymbol">฿</span>85.00</span>			</td>
		</tr>
		
								</tbody>
						<tfoot>
													<tr>
								<th class="td tlabel-" scope="row" colspan="2" style='color: #636363; border: 1px solid #e5e5e5; font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif; border-color: #e4e4e4; border-width: 1px; border-style: solid; padding: 12px; padding-left: px; padding-right: px; text-align: left;'>รวม:</th>
								<td class="td tvalue-" style='color: #636363; border: 1px solid #e5e5e5; font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif; border-color: #e4e4e4; border-width: 1px; border-style: solid; padding: 12px; padding-left: px; padding-right: px; text-align: left;'><span class="woocommerce-Price-amount amount"><span class="woocommerce-Price-currencySymbol">฿</span>85.00</span></td>
							</tr>
														<tr>
								<th class="td tlabel-" scope="row" colspan="2" style='color: #636363; border: 1px solid #e5e5e5; font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif; border-color: #e4e4e4; border-width: 1px; border-style: solid; padding: 12px; padding-left: px; padding-right: px; text-align: left;'>วิธีการชำระเงิน:</th>
								<td class="td tvalue-" style='color: #636363; border: 1px solid #e5e5e5; font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif; border-color: #e4e4e4; border-width: 1px; border-style: solid; padding: 12px; padding-left: px; padding-right: px; text-align: left;'>รับสินค้าเอง โดยชำระเงินผ่านธนาคาร</td>
							</tr>
														<tr>
								<th class="td tlabel-" scope="row" colspan="2" style='color: #636363; border: 1px solid #e5e5e5; font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif; border-color: #e4e4e4; border-width: 1px; border-style: solid; padding: 12px; padding-left: px; padding-right: px; text-align: left;'>รวมทั้งหมด:</th>
								<td class="td tvalue-" style='color: #636363; border: 1px solid #e5e5e5; font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif; border-color: #e4e4e4; border-width: 1px; border-style: solid; padding: 12px; padding-left: px; padding-right: px; text-align: left;'><span class="woocommerce-Price-amount amount"><span class="woocommerce-Price-currencySymbol">฿</span>85.00</span></td>
							</tr>
													</tfoot>
									</table>
		</div>
					<table id="addresses" cellspacing="0" cellpadding="0" border="0" style="border-collapse: collapse; width: 100%; vertical-align: top; margin-bottom: 40px; padding: 0;">
		<tr>
			<td class="address-container" valign="top" width="50%" style="text-align: left; padding: 0; border: 0;">
				<h2 style='display: block; margin: 0 0 18px; text-align: left; font-size: 18px; line-height: 26px; padding-top: 0px; padding-bottom: 0px; margin-top: 0px; margin-bottom: 18px; font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif; font-weight: 700; text-transform: none; color: #0000ff;'>Billing address</h2>

				<address class="address">
					<table cellspacing="0" cellpadding="0" border="0" style="width: 100%; padding: 0;">
						<tr>
							<td class="address-td" valign="top" style="border: 1px solid #e5e5e5; padding: 12px; border-width: 1px; border-color: #e5e5e5; border-style: solid; color: #8f8f8f; text-align: left;">
							test test<br>-<br>15<br>เมือง<br>เชียงใหม่<br>50200																<br><a href="tel:0883333333" style="font-weight: normal; text-decoration: underline; color: #0000ff;">0883333333</a>																									<p style="margin: 0;">test@gmail.com</p>
																</td>
						</tr>
					</table>
				</address>
			</td>
					</tr>
	</table>
	<p style="margin: 0 0 16px;"><strong>ชำระเงินผ่านธนาคาร : </strong></p>
<p style="margin: 0 0 16px;">ธนาคาร : ธนาคารกรุงไทย<br>
ชื่อบัญชี : นายอลงกรณ์ สถิตเดชกุญชร<br>
บัญชีเลขที่ : 306 603 861 0</p>
<p style="margin: 0 0 16px;">แจ้งหลักฐานการชำระเงินได้จากลิงค์นี้  <a href="https://kun-chorn.com/payment/" target="_blank" rel="noopener" style="font-weight: normal; text-decoration: underline; color: #0000ff;">คลิกที่นี่</a><br>
หรือแจ้งผ่านไลน์ ID : @fxt5687x </p>
<p style="margin: 0 0 16px;"><a href="https://line.me/R/ti/p/%40fxt5687x" target="_blank" rel="noopener noreferrer" style="font-weight: normal; text-decoration: underline; color: #0000ff;"><img src="https://scdn.line-apps.com/n/line_add_friends/btn/en.png" alt="เพิ่มเพื่อน" height="36" border="0" style="border: none; display: inline; font-weight: bold; height: auto; outline: none; text-decoration: none; text-transform: capitalize; font-size: 14px; line-height: 24px;"></a></p>
<p style="margin: 0 0 16px;"><font color="#0000ff">หลังรับแจ้งชำระเงินแล้ว เราจะจัดส่งของให้เร็วที่สุด ! </font></p>
<p style="margin: 0 0 16px;">ขอขอบคุณที่ใช้บริการ กุญชร ค้าวัสดุก่อสร้าง</p>
															</div>
														</td>
													</tr>
												</table>
												<!-- End Content -->
											</td>
										</tr>
									</table>
									<!-- End Body -->
								</td>
							</tr>
							<tr>
								<td align="center" valign="top">
											<table border="0" cellpadding="0" cellspacing="0" width="100%" id="template_footer_container">
			<tr>
				<td valign="top" align="center">
					<table border="0" cellpadding="10" cellspacing="0" width="600" id="template_footer">
						<tr>
							<td valign="top" id="template_footer_inside" style="padding: 0; padding-top: 0px; padding-bottom: 48px; padding-left: 48px; padding-right: 48px;">
								<table border="0" cellpadding="10" cellspacing="0" width="100%">
																		<tr>
										<td valign="top" style="padding: 0;">
											<table border="0" cellpadding="10" cellspacing="0" width="100%">
												<tr>
													<td colspan="2" valign="middle" id="credit" style='padding: 0; border: 0; line-height: 125%; padding-left: 0px; padding-right: 0px; text-align: center; font-size: 12px; font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif; font-weight: 400; color: #555555; padding-top: 0px; padding-bottom: 0px;'>
														<p style="color: #555555;">กุญชร ค้าวัสดุก่อสร้าง — เข้าชมเว็บไซต์ <a href="https://kun-chorn.com/home" target="_blank" rel="noopener" style="font-weight: normal; text-decoration: underline; color: #555555;">kun-chorn.com</a></p>
													</td>
												</tr>
											</table>
										</td>
									</tr>
								</table>
							</td>
						</tr>
					</table>
				</td>
			</tr>
		</table>
												<table class="gmail-app-fix" width="100%" border="0" cellpadding="0" cellspacing="0">
											<tr>
												<td>
													<table cellpadding="0" cellspacing="0" border="0" align="center" width="600">
														<tr>
															<td cellpadding="0" cellspacing="0" border="0" height="1" style="line-height: 1px; min-width: 200px;">
															</td>
															<td cellpadding="0" cellspacing="0" border="0" height="1" style="line-height: 1px; min-width: 200px;">
															</td>
															<td cellpadding="0" cellspacing="0" border="0" height="1" style="line-height: 1px; min-width: 200px;">
															</td>
														</tr>
													</table>
												</td>
											</tr>
										</table>
																	</td>
							</tr>
						</table> <!-- End template container -->
											</td>
				</tr>
			</table>
		</div>
	</body>
</html>


--1663901146-eximdsn-1362741052--