Aloria

Battle of Kingdoms

Event News

Code: 2005 Message: Connect Error 2005: Unknown MySQL server host 'boardabblade.mysql.db' (-2)
/home1/aloriaeu/public_html/system/class/Database.php:
00250:         $this->_mysqli = new \mysqli($this->host, $this->username, $this->password, $this->db, $this->port);
00251:         if ($this->_mysqli->connect_error) {
00252:             throw new \Exception('Connect Error ' . $this->_mysqli->connect_errno . ': ' . $this->_mysqli->connect_error, $this->_mysqli->connect_errno);
00253:         }
00254:         if ($this->charset) {
8 TeamQuantum\Database::connect()
/home1/aloriaeu/public_html/system/class/Database.php:
00264:     {
00265:         if (!$this->_mysqli) {
00266:             $this->connect();
00267:         }
00268:         return $this->_mysqli;
7 TeamQuantum\Database::mysqli()
/home1/aloriaeu/public_html/system/class/Database.php:
01641:     protected function _prepareQuery()
01642:     {
01643:         if (!$stmt = $this->mysqli()->prepare($this->_query)) {
01644:             $msg = $this->mysqli()->error . " query: " . $this->_query;
01645:             $num = $this->mysqli()->errno;
6 TeamQuantum\Database::_prepareQuery()
/home1/aloriaeu/public_html/system/class/Database.php:
00389:         $params = array(''); // Create the empty 0 index
00390:         $this->_query = $query;
00391:         $stmt = $this->_prepareQuery();
00392:         if (is_array($bindParams) === true) {
00393:             foreach ($bindParams as $prop => $val) {
5 TeamQuantum\Database::rawQuery(set character set utf8;)
/home1/aloriaeu/public_html/system/class/News.php:
00065:         $this->db = new Database($this->dbConf[0], $this->dbConf[1], $this->dbConf[2], $this->dbConf[3],
00066:             $this->dbConf[4], $this->dbConf[5]);
00067:         $this->db->rawQuery('set character set utf8;');
00068: 
00069:         if($this->db->mysqli()->connect_errno){
4 TeamQuantum\News::connect()
/home1/aloriaeu/public_html/system/class/News.php:
00101:         ORDER BY '.$this->threadTableName.'.time DESC LIMIT '.self::$showCount.';';
00102: 
00103:         return $this->connect()->rawQuery($query);
00104:     }
00105: 
3 TeamQuantum\News::get()
/home1/aloriaeu/public_html/system/page/News.php:
00044:             $news = new \TeamQuantum\News($forumID, $conf->article_count, $conf->forum_url, $conf->article_letters);
00045:             $news->dbConf = [$conf->board_ip, $conf->board_usr, $conf->board_pass, $conf->board_db, $conf->board_port, 'utf-8'];
00046:             $articles = $news->get();
00047: 
00048:             if ($articles === true) {
2 include(/home1/aloriaeu/public_html/system/page/News.php)
/home1/aloriaeu/public_html/system/class/RewriteEngine.php:
00061:         }
00062: 
00063:         include $pageFullName;
00064:     }
00065: 
1 TeamQuantum\RewriteEngine::execute()
/home1/aloriaeu/public_html/index.php:
00254: 
00255: 
00256: $page->execute();
00257: ?>
00258: