1. Failed to initialize Administrator password
Cause 1: storage full;
Cause 2: A bug in an earlier version, when the default Web port is changed, the interface location of the call is incorrect:
See: libs/interfaceclient.php
private static function Packurl ($controller, $request, $paras =null) {$token = Nsession::get ("token"); $url = Self::server_url. $controller. "/?request= $request"; if ($token! = "") {$url. = "&token= $token"; } if ($paras) { if (Is_array ($paras)) {foreach ($paras as $key =& gt; $value) {$url. = "& $key =". UrlEncode ($value); }}else{ $url. = "& $paras"; }} return $url; }
Switch
private static function packUrl($controller,$request,$paras=null){ $token = NSession::get("token"); //$url = self::SERVER_URL . $controller . "/?request=$request"; $url = "http://127.0.0.1"; $port = $_SERVER[‘SERVER_PORT‘]; if($port!=80){ $url.= ":" . $port; } $url .= "/mserver/interface/"; $url .= $controller . "/?request=$request"; if($token!=""){ $url .= "&token=$token"; } if($paras){ if(is_array($paras)){ foreach ($paras as $key=>$value){ $url .= "&$key=" . urlencode($value); } }else{ $url .= "&$paras"; } } return $url; }
G3 Frequently Asked questions handling