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
无法使用提供的设置连接到数据库服务器。
Filename: core/MY_Controller.php
Line Number: 343
<?php
/**
* @package Unlimited Elements
* @author unlimited-elements.com
* @copyright (C) 2012 Unite CMS, All Rights Reserved.
* @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
* */
defined('UNLIMITED_ELEMENTS_INC') or die('Restricted access');
/**
* actions
*/
class UniteCreatorActions extends UniteCreatorActionsWork{
/**
* on update layout response, function for override
*/
protected function onUpdateLayoutResponse($response){
$isUpdate = $response["is_update"];
//create
if($isUpdate == false){
$layoutID = $response["layout_id"];
$urlRedirect = HelperUC::getViewUrl_Layout($layoutID);
HelperUC::ajaxResponseSuccessRedirect(esc_html__("Layout Created, redirecting...", "unlimited-elements-for-elementor"), $urlRedirect);
}else{
//update
$message = esc_html__("Updated", "unlimited-elements-for-elementor");
HelperUC::ajaxResponseSuccess($message);
}
}
}