16 сентября 2016, 12:55
DatabaseException
[DatabaseException]
Description
Undefined property: Article::imageLink
Stack Trace
16.
/var/www/tt-inf/data/www/tt.inf.ua/framework/classes/DataObject2.php (475)
view- 472.
if (array_key_exists(strtoupper($property), $aConstants)) {
- 473.
return $this->$property = null;
- 474.
} else {
- 475.
throw new DatabaseException("Undefined property: {$this}::{$property}");
- 476.
}
- 477.
}
- 478.
15. DataObject2->__get
/var/www/tt-inf/data/www/tt.inf.ua/extends/DataObject2Split.php (284) view
- 281.
$this->$property = $this->$objectName->$property;
- 282.
return $this->$property;
- 283.
} else {
- 284.
return parent::__get($property);
- 285.
}
- 286.
- 287.
}
14. DataObject2Split->__get
/var/www/tt-inf/data/www/tt.inf.ua/models/dataobjects/base/ArticleBase.php (104) view
- 101.
break;
- 102.
- 103.
default:
- 104.
return parent::__get($sValueName);
- 105.
break;
- 106.
- 107.
}
13. ArticleBase->__get
/var/www/tt-inf/data/www/tt.inf.ua/models/dataobjects/Article.php (214) view
- 211.
break;
- 212.
- 213.
default:
- 214.
return parent::__get($property);
- 215.
break;
- 216.
}
- 217.
}
12. Article->__get
/var/www/tt-inf/data/www/tt.inf.ua/cache/templates/compiled/public_en_tag_default_compile^c9fc5c414fc33703c0ad2b91a23090b5c794f90d.file.default.tpl.php (75) view
- 72.
<?php }?> <div class="pull-right"> if ($_smarty_tpl->getVariable('oArticle')->value->itemType=='blog'){?>Блог: }?><a href=" echo $_smarty_tpl->getVariable('Config')->value->get("@url");?>
- 73.
<?php echo $_smarty_tpl->getVariable('oArticle')->value->categoryLink;?>
- 74.
" class="orange"> echo $_smarty_tpl->getVariable('oArticle')->value->categoryTitle;?>
- 75.
</div> </h3> <?php if ($_smarty_tpl->getVariable('oArticle')->value->imageLink){?>
- 76.
<a class="img" href=" echo $_smarty_tpl->getVariable('Config')->value->get("@url");?>
- 77.
<?php echo $_smarty_tpl->getVariable('oArticle')->value->itemLink;?>
- 78.
"><img src="<?php echo $_smarty_tpl->getVariable('oArticle')->value->imageLink;?>
11. include
/var/www/tt-inf/data/www/tt.inf.ua/framework/components/template/smarty3/sysplugins/smarty_internal_template.php (434) view
- 431.
if ($this->resource_object->isEvaluated) {
- 432.
eval("?>" . $this->compiled_template);
- 433.
} else {
- 434.
include($this->getCompiledFilepath ());
- 435.
// check file dependencies at compiled code
- 436.
if ($this->smarty->compile_check) {
- 437.
if (!empty($this->properties['file_dependency'])) {
10. Smarty_Internal_Template->renderTemplate
/var/www/tt-inf/data/www/tt.inf.ua/framework/components/template/smarty3/sysplugins/smarty_internal_template.php (569) view
- 566.
}
- 567.
if (!$this->isCached) {
- 568.
// render template (not loaded and not in cache)
- 569.
$this->renderTemplate();
- 570.
}
- 571.
}
- 572.
$this->updateParentVariables();
9. Smarty_Internal_Template->getRenderedTemplate
/var/www/tt-inf/data/www/tt.inf.ua/framework/components/template/smarty3/Smarty.class.php (338) view
- 335.
if ((!$this->caching || $_template->resource_object->isEvaluated) && (isset($this->autoload_filters['output']) || isset($this->registered_filters['output']))) {
- 336.
$_output = Smarty_Internal_Filter_Handler::runFilter('output', $_template->getRenderedTemplate(), $_template);
- 337.
} else {
- 338.
$_output = $_template->getRenderedTemplate();
- 339.
}
- 340.
$_template->rendered_content = null;
- 341.
if (isset($this->error_reporting)) {
8. Smarty->fetch
/var/www/tt-inf/data/www/tt.inf.ua/framework/components/template/Smarty3Engine.php (52) view
- 49.
* @return type string
- 50.
*/
- 51.
public function fetch($template, $cache_id = null, $compile_id = null, $display = false, $parent = null) {
- 52.
return parent::fetch($template, $cache_id, $compile_id, $parent, $display);
- 53.
}
- 54.
- 55.
}
7. Smarty3Engine->fetch
/var/www/tt-inf/data/www/tt.inf.ua/framework/components/Template.php (42) view
- 39.
if (method_exists($this->_engine, 'clearBlocks')) {
- 40.
$this->_engine->clearBlocks();
- 41.
}
- 42.
return $this->_engine->fetch($resourceName, $cacheId, $compileId, $isDisplay);
- 43.
}
- 44.
- 45.
public function getEngine() {
6. Template->fetch
/var/www/tt-inf/data/www/tt.inf.ua/framework/classes/PageController.php (290) view
- 287.
empty($fileName) ? $this->templateName : $fileName,
- 288.
implode('|',$this->cacheId).".cache",
- 289.
implode('-',$this->compileId).".compile",
- 290.
$display);
- 291.
}
- 292.
- 293.
/**
5. PageController->renderTemplate
/var/www/tt-inf/data/www/tt.inf.ua/framework/classes/PageController.php (326) view
- 323.
if (false == $this->layout || $this->isAjaxRequest()) {
- 324.
$Application->Component->Template->setLanguage($Application->language . '/' . $Application->application . '.' .$this->controllerName . '.ini', substr($this->getTemplateName(), 0, -4));
- 325.
- 326.
$response = $this->renderTemplate($this->getTemplateName(), false);
- 327.
} else {
- 328.
$this->templateDir = "applications/" . Application::getInstance()->application ;
- 329.
$Application->Component->Template->setLanguage($Application->language . '/' . $Application->application . '.' .$this->controllerName . '.ini', $this->layout);
4. PageController->renderAction
/var/www/tt-inf/data/www/tt.inf.ua/framework/classes/PageController.php (222) view
- 219.
if (file_exists($this->templateDir ."/". $this->getTemplateName())) {
- 220.
- 221.
//render current template from current controller
- 222.
$response = $this->renderAction();
- 223.
- 224.
} elseif (file_exists($this->templateDir ."/". $this->getTemplateName(self::DefaultAction))) {
- 225.
3. PageController->display
/var/www/tt-inf/data/www/tt.inf.ua/framework/classes/PageController.php (174) view
- 171.
$this->setVars();
- 172.
$this->isExistExtraContent();
- 173.
- 174.
$this->display();
- 175.
Response::sendHttpHeaders();
- 176.
Response::sendContent();
- 177.
}
2. PageController->render
/var/www/tt-inf/data/www/tt.inf.ua/framework/classes/Application.php (110) view
- 107.
- 108.
if (!empty(self::$ActionStack)) {
- 109.
end(self::$ActionStack);
- 110.
$this->getLastEntry()->render();
- 111.
}
- 112.
}
- 113.
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-->';