[DatabaseException]
Description
Database connection failed
Stack Trace
12.
/var/www/tt-inf/data/www/tt.inf.ua/framework/components/database/MySQL.php (123) view- 120.
}
- 121.
- 122.
} catch (PhpException $e) {
- 123.
throw new DatabaseException("Database connection failed");
- 124.
}
- 125.
- 126.
//$this->query("SET TRANSACTION ISOLATION LEVEL READ COMMITTED"); //| READ COMMITED | READ UNCOMMITTED | REPEATABLE READ (default) |
11. MySQL->connect
/var/www/tt-inf/data/www/tt.inf.ua/framework/components/Database.php (284) view
- 281.
$oInstance = $this;
- 282.
}
- 283.
- 284.
return $oInstance->_databaseModule->connect();
- 285.
}
- 286.
- 287.
/**
10. Database->connect
/var/www/tt-inf/data/www/tt.inf.ua/framework/components/Database.php (204) view
- 201.
}
- 202.
- 203.
if (!$this->isConnected()) {
- 204.
$this->connect();
- 205.
}
- 206.
- 207.
$mResult = is_array($param)
9. Database->__call
/var/www/tt-inf/data/www/tt.inf.ua/framework/classes/ObjectList2.php (403) view
- 400.
$aRows = array();
- 401.
$aFieldsInfo = array();
- 402.
if (!$advanced) {
- 403.
$aRows = $this->_database->getAllArrays($this->getSelectQuery());
- 404.
} else {
- 405.
$hResult = $this->_database->query($this->getSelectQuery());
- 406.
if ($hResult) {
8. Database->getAllArrays
/var/www/tt-inf/data/www/tt.inf.ua/framework/classes/ObjectList2.php (403) view
- 400.
$aRows = array();
- 401.
$aFieldsInfo = array();
- 402.
if (!$advanced) {
- 403.
$aRows = $this->_database->getAllArrays($this->getSelectQuery());
- 404.
} else {
- 405.
$hResult = $this->_database->query($this->getSelectQuery());
- 406.
if ($hResult) {
7. ObjectList2->select
/var/www/tt-inf/data/www/tt.inf.ua/framework/classes/DataObject2.php (165) view
- 162.
/**
- 163.
* Pull out the object
- 164.
*/
- 165.
->select();
- 166.
- 167.
$iQueryTime = time() - $iQueryTime;
- 168.
6. DataObject2->load
/var/www/tt-inf/data/www/tt.inf.ua/framework/classes/DataObject2.php (98) view
- 95.
$this->_cache = Cache::getInstance();
- 96.
- 97.
if (!empty ($values)) {
- 98.
$this->load($values);
- 99.
}
- 100.
return $this;
- 101.
}
5. DataObject2->__construct
/var/www/tt-inf/data/www/tt.inf.ua/applications/public/tag/controller.php (12) view
- 9.
}
- 10.
- 11.
public function do_default() {
- 12.
$this->oTag = new Tag(array(Tag::TAG => Request::get('tag')));
- 13.
if ($this->oTag->isLoaded()) {
- 14.
$oArticleTagList = new ArticleList();
- 15.
$oArticleTagList->Column->add(array(Article::ID,
4. TagPageController->do_default
/var/www/tt-inf/data/www/tt.inf.ua/framework/classes/PageController.php (143) view
- 140.
(method_exists($this, $preMethodName)) AND $this->$preMethodName(Application::getInstance());
- 141.
- 142.
//execute action
- 143.
$result = $this->$methodName(Application::getInstance());
- 144.
- 145.
//executes postExecute method
- 146.
(method_exists($this, $postMethodName)) AND $this->$postMethodName(Application::getInstance());
3. PageController->execute
/var/www/tt-inf/data/www/tt.inf.ua/framework/classes/Application.php (146) view
- 143.
- 144.
// check access to controller and action
- 145.
if ($this->Module->Access->authorize($this->controller, $oPageController->getActionName())) {
- 146.
$oPageController->execute();
- 147.
} else {
- 148.
$oPageController->executeAuthorize();
- 149.
}
2. Application->execute
/var/www/tt-inf/data/www/tt.inf.ua/framework/classes/Application.php (106) view
- 103.
$this->language = Request::get('application_language', $this->language);
- 104.
- 105.
// execute Application
- 106.
$this->execute();
- 107.
- 108.
if (!empty(self::$ActionStack)) {
- 109.
end(self::$ActionStack);
1. Application->run
/var/www/tt-inf/data/www/tt.inf.ua/index.php (16) view
- 13.
- 14.
$nApplicationStartTime = microtime(1);
- 15.
$Application = Application::getInstance();
- 16.
$Application->run();
- 17.
$nApplicationStopTime = microtime(1);
- 18.
- 19.
echo '<!--Page generated in ' . round((float)($nApplicationStopTime - $nApplicationStartTime), 3) . ' seconds-->';