object(Zend_Db_Statement_Exception)#259 (8) { ["_previous":"Zend_Exception":private]=> NULL ["message":protected]=> string(252) "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, query was: SELECT * FROM kosmos_media WHERE id =" ["string":"Exception":private]=> string(0) "" ["code":protected]=> int(42000) ["file":protected]=> string(66) "/opt/cpanel/ea-php74/root/usr/share/pear/Zend/Db/Statement/Pdo.php" ["line":protected]=> int(235) ["trace":"Exception":private]=> array(12) { [0]=> array(6) { ["file"]=> string(62) "/opt/cpanel/ea-php74/root/usr/share/pear/Zend/Db/Statement.php" ["line"]=> int(303) ["function"]=> string(8) "_execute" ["class"]=> string(21) "Zend_Db_Statement_Pdo" ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> array(0) { } } } [1]=> array(6) { ["file"]=> string(69) "/opt/cpanel/ea-php74/root/usr/share/pear/Zend/Db/Adapter/Abstract.php" ["line"]=> int(480) ["function"]=> string(7) "execute" ["class"]=> string(17) "Zend_Db_Statement" ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> array(0) { } } } [2]=> array(6) { ["file"]=> string(73) "/opt/cpanel/ea-php74/root/usr/share/pear/Zend/Db/Adapter/Pdo/Abstract.php" ["line"]=> int(238) ["function"]=> string(5) "query" ["class"]=> string(24) "Zend_Db_Adapter_Abstract" ["type"]=> string(2) "->" ["args"]=> array(2) { [0]=> string(37) "SELECT * FROM kosmos_media WHERE id =" [1]=> array(0) { } } } [3]=> array(6) { ["file"]=> string(69) "/opt/cpanel/ea-php74/root/usr/share/pear/Zend/Db/Adapter/Abstract.php" ["line"]=> int(756) ["function"]=> string(5) "query" ["class"]=> string(28) "Zend_Db_Adapter_Pdo_Abstract" ["type"]=> string(2) "->" ["args"]=> array(2) { [0]=> string(37) "SELECT * FROM kosmos_media WHERE id =" [1]=> array(0) { } } } [4]=> array(6) { ["file"]=> string(40) "/home/gmcorp/kosmos/lib/Kosmos/Media.php" ["line"]=> int(254) ["function"]=> string(8) "fetchRow" ["class"]=> string(24) "Zend_Db_Adapter_Abstract" ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> string(37) "SELECT * FROM kosmos_media WHERE id =" } } [5]=> array(6) { ["file"]=> string(55) "/home/gmcorp/kosmos/controllers/DownloadsController.php" ["line"]=> int(17) ["function"]=> string(11) "getFileById" ["class"]=> string(12) "Kosmos_Media" ["type"]=> string(2) "::" ["args"]=> array(1) { [0]=> NULL } } [6]=> array(6) { ["file"]=> string(67) "/opt/cpanel/ea-php74/root/usr/share/pear/Zend/Controller/Action.php" ["line"]=> int(516) ["function"]=> string(11) "indexAction" ["class"]=> string(19) "DownloadsController" ["type"]=> string(2) "->" ["args"]=> array(0) { } } [7]=> array(6) { ["file"]=> string(80) "/opt/cpanel/ea-php74/root/usr/share/pear/Zend/Controller/Dispatcher/Standard.php" ["line"]=> int(308) ["function"]=> string(8) "dispatch" ["class"]=> string(22) "Zend_Controller_Action" ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> string(11) "indexAction" } } [8]=> array(6) { ["file"]=> string(66) "/opt/cpanel/ea-php74/root/usr/share/pear/Zend/Controller/Front.php" ["line"]=> int(954) ["function"]=> string(8) "dispatch" ["class"]=> string(35) "Zend_Controller_Dispatcher_Standard" ["type"]=> string(2) "->" ["args"]=> array(2) { [0]=> object(Zend_Controller_Request_Http)#47 (15) { ["_paramSources":protected]=> array(2) { [0]=> string(4) "_GET" [1]=> string(5) "_POST" } ["_requestUri":protected]=> string(11) "/downloads/" ["_baseUrl":protected]=> string(0) "" ["_basePath":protected]=> NULL ["_pathInfo":protected]=> string(11) "/downloads/" ["_params":protected]=> array(4) { ["controller"]=> string(9) "downloads" ["action"]=> string(5) "index" ["module"]=> string(7) "default" ["error_handler"]=> object(ArrayObject)#276 (1) { ["storage":"ArrayObject":private]=> array(3) { ["exception"]=> *RECURSION* ["type"]=> string(15) "EXCEPTION_OTHER" ["request"]=> object(Zend_Controller_Request_Http)#275 (15) { ["_paramSources":protected]=> array(2) { [0]=> string(4) "_GET" [1]=> string(5) "_POST" } ["_requestUri":protected]=> string(11) "/downloads/" ["_baseUrl":protected]=> string(0) "" ["_basePath":protected]=> NULL ["_pathInfo":protected]=> string(11) "/downloads/" ["_params":protected]=> array(3) { ["controller"]=> string(9) "downloads" ["action"]=> string(5) "index" ["module"]=> string(7) "default" } ["_rawBody":protected]=> NULL ["_aliases":protected]=> array(0) { } ["_dispatched":protected]=> bool(true) ["_module":protected]=> string(7) "default" ["_moduleKey":protected]=> string(6) "module" ["_controller":protected]=> string(9) "downloads" ["_controllerKey":protected]=> string(10) "controller" ["_action":protected]=> string(5) "index" ["_actionKey":protected]=> string(6) "action" } } } } ["_rawBody":protected]=> NULL ["_aliases":protected]=> array(0) { } ["_dispatched":protected]=> bool(true) ["_module":protected]=> string(7) "default" ["_moduleKey":protected]=> string(6) "module" ["_controller":protected]=> string(5) "error" ["_controllerKey":protected]=> string(10) "controller" ["_action":protected]=> string(5) "error" ["_actionKey":protected]=> string(6) "action" } [1]=> object(Zend_Controller_Response_Http)#48 (8) { ["_body":protected]=> array(0) { } ["_exceptions":protected]=> array(1) { [0]=> *RECURSION* } ["_headers":protected]=> array(0) { } ["_headersRaw":protected]=> array(0) { } ["_httpResponseCode":protected]=> int(200) ["_isRedirect":protected]=> bool(false) ["_renderExceptions":protected]=> bool(false) ["headersSentThrowsException"]=> bool(true) } } } [9]=> array(6) { ["file"]=> string(66) "/opt/cpanel/ea-php74/root/usr/share/pear/Zend/Controller/Front.php" ["line"]=> int(212) ["function"]=> string(8) "dispatch" ["class"]=> string(21) "Zend_Controller_Front" ["type"]=> string(2) "->" ["args"]=> array(0) { } } [10]=> array(6) { ["file"]=> string(28) "/home/gmcorp/kosmos/init.php" ["line"]=> int(62) ["function"]=> string(3) "run" ["class"]=> string(21) "Zend_Controller_Front" ["type"]=> string(2) "::" ["args"]=> array(1) { [0]=> string(31) "/home/gmcorp/kosmos/controllers" } } [11]=> array(6) { ["file"]=> string(34) "/home/gmcorp/public_html/index.php" ["line"]=> int(12) ["function"]=> string(7) "execute" ["class"]=> string(6) "kosmos" ["type"]=> string(2) "->" ["args"]=> array(0) { } } } ["previous":"Exception":private]=> object(PDOException)#274 (8) { ["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":"Exception":private]=> string(0) "" ["code":protected]=> string(5) "42000" ["file":protected]=> string(66) "/opt/cpanel/ea-php74/root/usr/share/pear/Zend/Db/Statement/Pdo.php" ["line":protected]=> int(228) ["trace":"Exception":private]=> array(13) { [0]=> array(6) { ["file"]=> string(66) "/opt/cpanel/ea-php74/root/usr/share/pear/Zend/Db/Statement/Pdo.php" ["line"]=> int(228) ["function"]=> string(7) "execute" ["class"]=> string(12) "PDOStatement" ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> array(0) { } } } [1]=> array(6) { ["file"]=> string(62) "/opt/cpanel/ea-php74/root/usr/share/pear/Zend/Db/Statement.php" ["line"]=> int(303) ["function"]=> string(8) "_execute" ["class"]=> string(21) "Zend_Db_Statement_Pdo" ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> array(0) { } } } [2]=> array(6) { ["file"]=> string(69) "/opt/cpanel/ea-php74/root/usr/share/pear/Zend/Db/Adapter/Abstract.php" ["line"]=> int(480) ["function"]=> string(7) "execute" ["class"]=> string(17) "Zend_Db_Statement" ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> array(0) { } } } [3]=> array(6) { ["file"]=> string(73) "/opt/cpanel/ea-php74/root/usr/share/pear/Zend/Db/Adapter/Pdo/Abstract.php" ["line"]=> int(238) ["function"]=> string(5) "query" ["class"]=> string(24) "Zend_Db_Adapter_Abstract" ["type"]=> string(2) "->" ["args"]=> array(2) { [0]=> string(37) "SELECT * FROM kosmos_media WHERE id =" [1]=> array(0) { } } } [4]=> array(6) { ["file"]=> string(69) "/opt/cpanel/ea-php74/root/usr/share/pear/Zend/Db/Adapter/Abstract.php" ["line"]=> int(756) ["function"]=> string(5) "query" ["class"]=> string(28) "Zend_Db_Adapter_Pdo_Abstract" ["type"]=> string(2) "->" ["args"]=> array(2) { [0]=> string(37) "SELECT * FROM kosmos_media WHERE id =" [1]=> array(0) { } } } [5]=> array(6) { ["file"]=> string(40) "/home/gmcorp/kosmos/lib/Kosmos/Media.php" ["line"]=> int(254) ["function"]=> string(8) "fetchRow" ["class"]=> string(24) "Zend_Db_Adapter_Abstract" ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> string(37) "SELECT * FROM kosmos_media WHERE id =" } } [6]=> array(6) { ["file"]=> string(55) "/home/gmcorp/kosmos/controllers/DownloadsController.php" ["line"]=> int(17) ["function"]=> string(11) "getFileById" ["class"]=> string(12) "Kosmos_Media" ["type"]=> string(2) "::" ["args"]=> array(1) { [0]=> NULL } } [7]=> array(6) { ["file"]=> string(67) "/opt/cpanel/ea-php74/root/usr/share/pear/Zend/Controller/Action.php" ["line"]=> int(516) ["function"]=> string(11) "indexAction" ["class"]=> string(19) "DownloadsController" ["type"]=> string(2) "->" ["args"]=> array(0) { } } [8]=> array(6) { ["file"]=> string(80) "/opt/cpanel/ea-php74/root/usr/share/pear/Zend/Controller/Dispatcher/Standard.php" ["line"]=> int(308) ["function"]=> string(8) "dispatch" ["class"]=> string(22) "Zend_Controller_Action" ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> string(11) "indexAction" } } [9]=> array(6) { ["file"]=> string(66) "/opt/cpanel/ea-php74/root/usr/share/pear/Zend/Controller/Front.php" ["line"]=> int(954) ["function"]=> string(8) "dispatch" ["class"]=> string(35) "Zend_Controller_Dispatcher_Standard" ["type"]=> string(2) "->" ["args"]=> array(2) { [0]=> object(Zend_Controller_Request_Http)#47 (15) { ["_paramSources":protected]=> array(2) { [0]=> string(4) "_GET" [1]=> string(5) "_POST" } ["_requestUri":protected]=> string(11) "/downloads/" ["_baseUrl":protected]=> string(0) "" ["_basePath":protected]=> NULL ["_pathInfo":protected]=> string(11) "/downloads/" ["_params":protected]=> array(4) { ["controller"]=> string(9) "downloads" ["action"]=> string(5) "index" ["module"]=> string(7) "default" ["error_handler"]=> object(ArrayObject)#276 (1) { ["storage":"ArrayObject":private]=> array(3) { ["exception"]=> *RECURSION* ["type"]=> string(15) "EXCEPTION_OTHER" ["request"]=> object(Zend_Controller_Request_Http)#275 (15) { ["_paramSources":protected]=> array(2) { [0]=> string(4) "_GET" [1]=> string(5) "_POST" } ["_requestUri":protected]=> string(11) "/downloads/" ["_baseUrl":protected]=> string(0) "" ["_basePath":protected]=> NULL ["_pathInfo":protected]=> string(11) "/downloads/" ["_params":protected]=> array(3) { ["controller"]=> string(9) "downloads" ["action"]=> string(5) "index" ["module"]=> string(7) "default" } ["_rawBody":protected]=> NULL ["_aliases":protected]=> array(0) { } ["_dispatched":protected]=> bool(true) ["_module":protected]=> string(7) "default" ["_moduleKey":protected]=> string(6) "module" ["_controller":protected]=> string(9) "downloads" ["_controllerKey":protected]=> string(10) "controller" ["_action":protected]=> string(5) "index" ["_actionKey":protected]=> string(6) "action" } } } } ["_rawBody":protected]=> NULL ["_aliases":protected]=> array(0) { } ["_dispatched":protected]=> bool(true) ["_module":protected]=> string(7) "default" ["_moduleKey":protected]=> string(6) "module" ["_controller":protected]=> string(5) "error" ["_controllerKey":protected]=> string(10) "controller" ["_action":protected]=> string(5) "error" ["_actionKey":protected]=> string(6) "action" } [1]=> object(Zend_Controller_Response_Http)#48 (8) { ["_body":protected]=> array(0) { } ["_exceptions":protected]=> array(1) { [0]=> *RECURSION* } ["_headers":protected]=> array(0) { } ["_headersRaw":protected]=> array(0) { } ["_httpResponseCode":protected]=> int(200) ["_isRedirect":protected]=> bool(false) ["_renderExceptions":protected]=> bool(false) ["headersSentThrowsException"]=> bool(true) } } } [10]=> array(6) { ["file"]=> string(66) "/opt/cpanel/ea-php74/root/usr/share/pear/Zend/Controller/Front.php" ["line"]=> int(212) ["function"]=> string(8) "dispatch" ["class"]=> string(21) "Zend_Controller_Front" ["type"]=> string(2) "->" ["args"]=> array(0) { } } [11]=> array(6) { ["file"]=> string(28) "/home/gmcorp/kosmos/init.php" ["line"]=> int(62) ["function"]=> string(3) "run" ["class"]=> string(21) "Zend_Controller_Front" ["type"]=> string(2) "::" ["args"]=> array(1) { [0]=> string(31) "/home/gmcorp/kosmos/controllers" } } [12]=> array(6) { ["file"]=> string(34) "/home/gmcorp/public_html/index.php" ["line"]=> int(12) ["function"]=> string(7) "execute" ["class"]=> string(6) "kosmos" ["type"]=> string(2) "->" ["args"]=> array(0) { } } } ["previous":"Exception":private]=> NULL ["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" } } }