object(Zend_Db_Adapter_Exception)#30 (7) {
  ["_chainedException:protected"] => object(PDOException)#31 (7) {
    ["message:protected"] => string(202) "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 1"
    ["string:private"] => string(0) ""
    ["code:protected"] => string(5) "42000"
    ["file:protected"] => string(60) "/var/www/delfika.ru/htdocs/libs/Zend/Db/Adapter/Abstract.php"
    ["line:protected"] => int(155)
    ["trace:private"] => array(9) {
      [0] => array(6) {
        ["file"] => string(60) "/var/www/delfika.ru/htdocs/libs/Zend/Db/Adapter/Abstract.php"
        ["line"] => int(155)
        ["function"] => string(7) "execute"
        ["class"] => string(12) "PDOStatement"
        ["type"] => string(2) "->"
        ["args"] => array(1) {
          [0] => array(0) {
          }
        }
      }
      [1] => array(6) {
        ["file"] => string(64) "/var/www/delfika.ru/htdocs/libs/Zend/Db/Adapter/Pdo/Abstract.php"
        ["line"] => int(175)
        ["function"] => string(5) "query"
        ["class"] => string(24) "Zend_Db_Adapter_Abstract"
        ["type"] => string(2) "->"
        ["args"] => array(2) {
          [0] => string(40) "SELECT  * FROM tPhotos WHERE PhotoUID = "
          [1] => array(0) {
          }
        }
      }
      [2] => array(6) {
        ["file"] => string(50) "/var/www/delfika.ru/htdocs/CatalogueController.php"
        ["line"] => int(171)
        ["function"] => string(5) "query"
        ["class"] => string(28) "Zend_Db_Adapter_Pdo_Abstract"
        ["type"] => string(2) "->"
        ["args"] => array(1) {
          [0] => &string(40) "SELECT  * FROM tPhotos WHERE PhotoUID = "
        }
      }
      [3] => array(6) {
        ["file"] => string(50) "/var/www/delfika.ru/htdocs/CatalogueController.php"
        ["line"] => int(263)
        ["function"] => string(11) "IndexAction"
        ["class"] => string(19) "CatalogueController"
        ["type"] => string(2) "->"
        ["args"] => array(1) {
          [0] => &string(1) "8"
        }
      }
      [4] => array(6) {
        ["file"] => string(58) "/var/www/delfika.ru/htdocs/libs/Zend/Controller/Action.php"
        ["line"] => int(501)
        ["function"] => string(13) "SubtypeAction"
        ["class"] => string(19) "CatalogueController"
        ["type"] => string(2) "->"
        ["args"] => array(0) {
        }
      }
      [5] => array(6) {
        ["file"] => string(71) "/var/www/delfika.ru/htdocs/libs/Zend/Controller/Dispatcher/Standard.php"
        ["line"] => int(214)
        ["function"] => string(8) "dispatch"
        ["class"] => string(22) "Zend_Controller_Action"
        ["type"] => string(2) "->"
        ["args"] => array(1) {
          [0] => &string(13) "subtypeAction"
        }
      }
      [6] => array(6) {
        ["file"] => string(57) "/var/www/delfika.ru/htdocs/libs/Zend/Controller/Front.php"
        ["line"] => int(753)
        ["function"] => string(8) "dispatch"
        ["class"] => string(35) "Zend_Controller_Dispatcher_Standard"
        ["type"] => string(2) "->"
        ["args"] => array(2) {
          [0] => object(Zend_Controller_Request_Http)#25 (13) {
            ["_requestUri:protected"] => string(20) "/catalogue/subtype/8"
            ["_baseUrl:protected"] => string(0) ""
            ["_basePath:protected"] => NULL
            ["_pathInfo:protected"] => string(20) "/catalogue/subtype/8"
            ["_params:protected"] => array(3) {
              ["action"] => string(7) "subtype"
              ["id"] => string(1) "8"
              ["controller"] => string(9) "catalogue"
            }
            ["_aliases:protected"] => array(0) {
            }
            ["_dispatched:protected"] => bool(true)
            ["_module:protected"] => NULL
            ["_moduleKey:protected"] => string(6) "module"
            ["_controller:protected"] => string(9) "catalogue"
            ["_controllerKey:protected"] => string(10) "controller"
            ["_action:protected"] => string(7) "subtype"
            ["_actionKey:protected"] => string(6) "action"
          }
          [1] => object(Zend_Controller_Response_Http)#26 (7) {
            ["_body:protected"] => array(0) {
            }
            ["_exceptions:protected"] => array(0) {
            }
            ["_headers:protected"] => array(0) {
            }
            ["_headersRaw:protected"] => array(0) {
            }
            ["_httpResponseCode:protected"] => int(200)
            ["_renderExceptions:protected"] => bool(false)
            ["headersSentThrowsException"] => bool(true)
          }
        }
      }
      [7] => array(6) {
        ["file"] => string(44) "/var/www/delfika.ru/htdocs/engine/engine.php"
        ["line"] => int(174)
        ["function"] => string(8) "dispatch"
        ["class"] => string(21) "Zend_Controller_Front"
        ["type"] => string(2) "->"
        ["args"] => array(0) {
        }
      }
      [8] => array(6) {
        ["file"] => string(36) "/var/www/delfika.ru/htdocs/index.php"
        ["line"] => int(22)
        ["function"] => string(8) "Dispatch"
        ["class"] => string(6) "Kernel"
        ["type"] => string(2) "::"
        ["args"] => array(0) {
        }
      }
    }
    ["errorInfo"] => array(3) {
      [0] => string(5) "42000"
      [1] => int(1064)
      [2] => string(146) "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 1"
    }
  }
  ["message:protected"] => string(202) "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 1"
  ["string:private"] => string(0) ""
  ["code:protected"] => string(5) "42000"
  ["file:protected"] => string(64) "/var/www/delfika.ru/htdocs/libs/Zend/Db/Adapter/Pdo/Abstract.php"
  ["line:protected"] => int(177)
  ["trace:private"] => array(7) {
    [0] => array(6) {
      ["file"] => string(50) "/var/www/delfika.ru/htdocs/CatalogueController.php"
      ["line"] => int(171)
      ["function"] => string(5) "query"
      ["class"] => string(28) "Zend_Db_Adapter_Pdo_Abstract"
      ["type"] => string(2) "->"
      ["args"] => array(1) {
        [0] => &string(40) "SELECT  * FROM tPhotos WHERE PhotoUID = "
      }
    }
    [1] => array(6) {
      ["file"] => string(50) "/var/www/delfika.ru/htdocs/CatalogueController.php"
      ["line"] => int(263)
      ["function"] => string(11) "IndexAction"
      ["class"] => string(19) "CatalogueController"
      ["type"] => string(2) "->"
      ["args"] => array(1) {
        [0] => &string(1) "8"
      }
    }
    [2] => array(6) {
      ["file"] => string(58) "/var/www/delfika.ru/htdocs/libs/Zend/Controller/Action.php"
      ["line"] => int(501)
      ["function"] => string(13) "SubtypeAction"
      ["class"] => string(19) "CatalogueController"
      ["type"] => string(2) "->"
      ["args"] => array(0) {
      }
    }
    [3] => array(6) {
      ["file"] => string(71) "/var/www/delfika.ru/htdocs/libs/Zend/Controller/Dispatcher/Standard.php"
      ["line"] => int(214)
      ["function"] => string(8) "dispatch"
      ["class"] => string(22) "Zend_Controller_Action"
      ["type"] => string(2) "->"
      ["args"] => array(1) {
        [0] => &string(13) "subtypeAction"
      }
    }
    [4] => array(6) {
      ["file"] => string(57) "/var/www/delfika.ru/htdocs/libs/Zend/Controller/Front.php"
      ["line"] => int(753)
      ["function"] => string(8) "dispatch"
      ["class"] => string(35) "Zend_Controller_Dispatcher_Standard"
      ["type"] => string(2) "->"
      ["args"] => array(2) {
        [0] => object(Zend_Controller_Request_Http)#25 (13) {
          ["_requestUri:protected"] => string(20) "/catalogue/subtype/8"
          ["_baseUrl:protected"] => string(0) ""
          ["_basePath:protected"] => NULL
          ["_pathInfo:protected"] => string(20) "/catalogue/subtype/8"
          ["_params:protected"] => array(3) {
            ["action"] => string(7) "subtype"
            ["id"] => string(1) "8"
            ["controller"] => string(9) "catalogue"
          }
          ["_aliases:protected"] => array(0) {
          }
          ["_dispatched:protected"] => bool(true)
          ["_module:protected"] => NULL
          ["_moduleKey:protected"] => string(6) "module"
          ["_controller:protected"] => string(9) "catalogue"
          ["_controllerKey:protected"] => string(10) "controller"
          ["_action:protected"] => string(7) "subtype"
          ["_actionKey:protected"] => string(6) "action"
        }
        [1] => object(Zend_Controller_Response_Http)#26 (7) {
          ["_body:protected"] => array(0) {
          }
          ["_exceptions:protected"] => array(0) {
          }
          ["_headers:protected"] => array(0) {
          }
          ["_headersRaw:protected"] => array(0) {
          }
          ["_httpResponseCode:protected"] => int(200)
          ["_renderExceptions:protected"] => bool(false)
          ["headersSentThrowsException"] => bool(true)
        }
      }
    }
    [5] => array(6) {
      ["file"] => string(44) "/var/www/delfika.ru/htdocs/engine/engine.php"
      ["line"] => int(174)
      ["function"] => string(8) "dispatch"
      ["class"] => string(21) "Zend_Controller_Front"
      ["type"] => string(2) "->"
      ["args"] => array(0) {
      }
    }
    [6] => array(6) {
      ["file"] => string(36) "/var/www/delfika.ru/htdocs/index.php"
      ["line"] => int(22)
      ["function"] => string(8) "Dispatch"
      ["class"] => string(6) "Kernel"
      ["type"] => string(2) "::"
      ["args"] => array(0) {
      }
    }
  }
}
#0 /var/www/delfika.ru/htdocs/CatalogueController.php(171): Zend_Db_Adapter_Pdo_Abstract->query('SELECT * FROM ...') #1 /var/www/delfika.ru/htdocs/CatalogueController.php(263): CatalogueController->IndexAction('8') #2 /var/www/delfika.ru/htdocs/libs/Zend/Controller/Action.php(501): CatalogueController->SubtypeAction() #3 /var/www/delfika.ru/htdocs/libs/Zend/Controller/Dispatcher/Standard.php(214): Zend_Controller_Action->dispatch('subtypeAction') #4 /var/www/delfika.ru/htdocs/libs/Zend/Controller/Front.php(753): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http)) #5 /var/www/delfika.ru/htdocs/engine/engine.php(174): Zend_Controller_Front->dispatch() #6 /var/www/delfika.ru/htdocs/index.php(22): Kernel::Dispatch() #7 {main}Сайт временно недоступен.