[DatabaseException]
Description
Database connection failed
Stack Trace
10.
/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) |
9. 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.
/**
8. 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)
7. 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) {
6. 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) {
5. ObjectList2->select
/var/www/tt-inf/data/www/tt.inf.ua/extends/ContentExtended.php (21) view
- 18.
$oPageList = new PageList();
- 19.
$oPageList->addClause($oCondition)
- 20.
->addClause(new SqlLimit(0, 1))
- 21.
->select();
- 22.
- 23.
if ($oPageList[0] instanceof Page) {
- 24.
$this->Page = $oPageList[0];
4. ContentExtended->init
/var/www/tt-inf/data/www/tt.inf.ua/framework/classes/ModuleLoader.php (37) view
- 34.
throw new CoreException('No module <b>' . $name . '</b> found');
- 35.
}
- 36.
- 37.
$object->init();
- 38.
$this->$name = self::$_modules[$name] = $object;
- 39.
}
- 40.
return $this->$name;
3. ModuleLoader->__get
/var/www/tt-inf/data/www/tt.inf.ua/framework/classes/Application.php (150) view
- 147.
} else {
- 148.
$oPageController->executeAuthorize();
- 149.
}
- 150.
} elseif ($this->Module->Content->isLoaded()) {
- 151.
// if there is no controller for request but content exists use default controller
- 152.
PageController::goToDefault();
- 153.
} else {
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-->';