#0 /data/www/mesit-web/vhost/library/Zend/Db/Statement.php(299): Zend_Db_Statement_Pdo->_execute(Array)
#1 /data/www/mesit-web/vhost/library/Zend/Db/Adapter/Abstract.php(383): Zend_Db_Statement->execute(Array)
#2 /data/www/mesit-web/vhost/library/Zend/Db/Adapter/Pdo/Abstract.php(206): Zend_Db_Adapter_Abstract->query('??             ...', Array)
#3 /data/www/mesit-web/vhost/library/Mesit/Objekt.php(351): Zend_Db_Adapter_Pdo_Abstract->query('??             ...')
#4 /data/www/mesit-web/vhost/library/Mesit/Objekt/Factory.php(33): Mesit_Objekt::load(NULL, 'en')
#5 /data/www/mesit-web/vhost/library/Mesit/Uzel.php(439): Mesit_Objekt_Factory::load(NULL, 'en')
#6 /data/www/mesit-web/vhost/library/Mesit/Controller/Redirect.php(33): Mesit_Uzel::get_path_to_root(0)
#7 /data/www/mesit-web/vhost/application/controllers/KategorieController.php(157): Mesit_Controller_Redirect::redirect_if_bad_domain(0)
#8 /data/www/mesit-web/vhost/library/Zend/Controller/Action.php(497): KategorieController->detailAction()
#9 /data/www/mesit-web/vhost/library/Zend/Controller/Dispatcher/Standard.php(238): Zend_Controller_Action->dispatch('detailAction')
#10 /data/www/mesit-web/vhost/library/Zend/Controller/Front.php(920): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#11 /data/www/mesit-web/vhost/index.php(214): Zend_Controller_Front->dispatch()
#12 {main}
SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 5Array ( [0] => Array ( [file] => /data/www/mesit-web/vhost/library/Zend/Db/Statement.php [line] => 299 [function] => _execute [class] => Zend_Db_Statement_Pdo [type] => -> [args] => Array ( [0] => Array ( ) ) ) [1] => Array ( [file] => /data/www/mesit-web/vhost/library/Zend/Db/Adapter/Abstract.php [line] => 383 [function] => execute [class] => Zend_Db_Statement [type] => -> [args] => Array ( [0] => Array ( ) ) ) [2] => Array ( [file] => /data/www/mesit-web/vhost/library/Zend/Db/Adapter/Pdo/Abstract.php [line] => 206 [function] => query [class] => Zend_Db_Adapter_Abstract [type] => -> [args] => Array ( [0] => SELECT A.*, B.hodnota, B.nova_hodnota, C.public, C.constant, C.id as obj_id FROM objekty C LEFT JOIN atributy_jazyk_en A ON C.id = A.objekt_id LEFT JOIN atributy_hodnoty B ON (B.id = A.hodnota_id ) WHERE C.id = [1] => Array ( ) ) ) [3] => Array ( [file] => /data/www/mesit-web/vhost/library/Mesit/Objekt.php [line] => 351 [function] => query [class] => Zend_Db_Adapter_Pdo_Abstract [type] => -> [args] => Array ( [0] => SELECT A.*, B.hodnota, B.nova_hodnota, C.public, C.constant, C.id as obj_id FROM objekty C LEFT JOIN atributy_jazyk_en A ON C.id = A.objekt_id LEFT JOIN atributy_hodnoty B ON (B.id = A.hodnota_id ) WHERE C.id = ) ) [4] => Array ( [file] => /data/www/mesit-web/vhost/library/Mesit/Objekt/Factory.php [line] => 33 [function] => load [class] => Mesit_Objekt [type] => :: [args] => Array ( [0] => [1] => en ) ) [5] => Array ( [file] => /data/www/mesit-web/vhost/library/Mesit/Uzel.php [line] => 439 [function] => load [class] => Mesit_Objekt_Factory [type] => :: [args] => Array ( [0] => [1] => en ) ) [6] => Array ( [file] => /data/www/mesit-web/vhost/library/Mesit/Controller/Redirect.php [line] => 33 [function] => get_path_to_root [class] => Mesit_Uzel [type] => :: [args] => Array ( [0] => 0 ) ) [7] => Array ( [file] => /data/www/mesit-web/vhost/application/controllers/KategorieController.php [line] => 157 [function] => redirect_if_bad_domain [class] => Mesit_Controller_Redirect [type] => :: [args] => Array ( [0] => 0 ) ) [8] => Array ( [file] => /data/www/mesit-web/vhost/library/Zend/Controller/Action.php [line] => 497 [function] => detailAction [class] => KategorieController [type] => -> [args] => Array ( ) ) [9] => Array ( [file] => /data/www/mesit-web/vhost/library/Zend/Controller/Dispatcher/Standard.php [line] => 238 [function] => dispatch [class] => Zend_Controller_Action [type] => -> [args] => Array ( [0] => detailAction ) ) [10] => Array ( [file] => /data/www/mesit-web/vhost/library/Zend/Controller/Front.php [line] => 920 [function] => dispatch [class] => Zend_Controller_Dispatcher_Standard [type] => -> [args] => Array ( [0] => Zend_Controller_Request_Http Object ( [_requestUri:protected] => /en/cat/favikona [_baseUrl:protected] => [_basePath:protected] => [_pathInfo:protected] => /en/cat/favikona [_params:protected] => Array ( [lang] => en [url] => favikona [controller] => kategorie [action] => detail [page] => 1 [zobrazit] => cms_kategorie [domain] => 3 ) [_aliases:protected] => Array ( ) [_dispatched:protected] => 1 [_module:protected] => default [_moduleKey:protected] => module [_controller:protected] => kategorie [_controllerKey:protected] => controller [_action:protected] => detail [_actionKey:protected] => action ) [1] => Zend_Controller_Response_Http Object ( [_body:protected] => Array ( ) [_exceptions:protected] => Array ( ) [_headers:protected] => Array ( ) [_headersRaw:protected] => Array ( ) [_httpResponseCode:protected] => 200 [_isRedirect:protected] => [_renderExceptions:protected] => [headersSentThrowsException] => 1 ) ) ) [11] => Array ( [file] => /data/www/mesit-web/vhost/index.php [line] => 214 [function] => dispatch [class] => Zend_Controller_Front [type] => -> [args] => Array ( ) ) )