Fatal error: Uncaught PDOException: 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 'AND idanneescolaire=6 AND idniveauformation=62) LIMIT 1' at line 1 in /var/www/html/site/candidature/library/Zend/Db/Statement/Pdo.php:228 Stack trace: #0 /var/www/html/site/candidature/library/Zend/Db/Statement/Pdo.php(228): PDOStatement->execute(Array) #1 /var/www/html/site/candidature/library/Zend/Db/Statement.php(303): Zend_Db_Statement_Pdo->_execute(Array) #2 /var/www/html/site/candidature/library/Zend/Db/Adapter/Abstract.php(480): Zend_Db_Statement->execute(Array) #3 /var/www/html/site/candidature/library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SELECT `inscrip...', Array) #4 /var/www/html/site/candidature/library/Zend/Db/Table/Abstract.php(1577): Zend_Db_Adapter_Pdo_Abstract->query(Object(Zend_Db_Table_Select)) #5 /var/www/html/site/candidature/library/Zend/Db/Table/Abstract.php(1439): Zend_Db_Table_Abstract->_fetch(Object(Zend_Db_Table_Select)) #6 /var/www/html/site/candidature/application/modules/inscription/layout/script/menu/mainmenu.phtml(5): Zend_Db_Table_Abstract->fetchRow('idcandidat= AND...') #7 /var/www/html/site/candidature/library/Zend/View.php(157): include('/var/www/html/s...') #8 /var/www/html/site/candidature/library/Zend/View/Abstract.php(888): Zend_View->_run('/var/www/html/s...') #9 /var/www/html/site/candidature/library/Myhelper/Template/Template.php(45): Zend_View_Abstract->render(NULL) #10 /var/www/html/site/candidature/application/modules/inscription/layout/script/sidebars/mainsidebar.phtml(11): Myhelper_Template_Template::GenView('/var/www/html/s...', 'mainmenu.phtml', Array) #11 /var/www/html/site/candidature/library/Zend/View.php(157): include('/var/www/html/s...') #12 /var/www/html/site/candidature/library/Zend/View/Abstract.php(888): Zend_View->_run('/var/www/html/s...') #13 /var/www/html/site/candidature/library/Myhelper/Template/Template.php(45): Zend_View_Abstract->render(NULL) #14 /var/www/html/site/candidature/application/modules/inscription/layout/inscription.phtml(32): Myhelper_Template_Template::GenView('/var/www/html/s...', 'mainsidebar.pht...', Array) #15 /var/www/html/site/candidature/library/Zend/View.php(157): include('/var/www/html/s...') #16 /var/www/html/site/candidature/library/Zend/View/Abstract.php(888): Zend_View->_run('/var/www/html/s...') #17 /var/www/html/site/candidature/library/Zend/Layout.php(796): Zend_View_Abstract->render(NULL) #18 /var/www/html/site/candidature/library/Zend/Layout/Controller/Plugin/Layout.php(143): Zend_Layout->render() #19 /var/www/html/site/candidature/library/Zend/Controller/Plugin/Broker.php(333): Zend_Layout_Controller_Plugin_Layout->postDispatch(Object(Zend_Controller_Request_Http)) #20 /var/www/html/site/candidature/library/Zend/Controller/Front.php(965): Zend_Controller_Plugin_Broker->postDispatch(Object(Zend_Controller_Request_Http)) #21 /var/www/html/site/candidature/library/Zend/Application/Bootstrap/Bootstrap.php(105): Zend_Controller_Front->dispatch() #22 /var/www/html/site/candidature/library/Zend/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run() #23 /var/www/html/site/candidature/public/index.php(39): Zend_Application->run() #24 {main} Next Zend_Db_Statement_Exception: 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 'AND idanneescolaire=6 AND idniveauformation=62) LIMIT 1' at line 1, query was: SELECT `inscripts`.* FROM `inscripts` WHERE (idcandidat= AND idanneescolaire=6 AND idniveauformation=62) LIMIT 1 in /var/www/html/site/candidature/library/Zend/Db/Statement/Pdo.php:235 Stack trace: #0 /var/www/html/site/candidature/library/Zend/Db/Statement.php(303): Zend_Db_Statement_Pdo->_execute(Array) #1 /var/www/html/site/candidature/library/Zend/Db/Adapter/Abstract.php(480): Zend_Db_Statement->execute(Array) #2 /var/www/html/site/candidature/library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SELECT `inscrip...', Array) #3 /var/www/html/site/candidature/library/Zend/Db/Table/Abstract.php(1577): Zend_Db_Adapter_Pdo_Abstract->query(Object(Zend_Db_Table_Select)) #4 /var/www/html/site/candidature/library/Zend/Db/Table/Abstract.php(1439): Zend_Db_Table_Abstract->_fetch(Object(Zend_Db_Table_Select)) #5 /var/www/html/site/candidature/application/modules/inscription/layout/script/menu/mainmenu.phtml(5): Zend_Db_Table_Abstract->fetchRow('idcandidat= AND...') #6 /var/www/html/site/candidature/library/Zend/View.php(157): include('/var/www/html/s...') #7 /var/www/html/site/candidature/library/Zend/View/Abstract.php(888): Zend_View->_run('/var/www/html/s...') #8 /var/www/html/site/candidature/library/Myhelper/Template/Template.php(45): Zend_View_Abstract->render(NULL) #9 /var/www/html/site/candidature/application/modules/inscription/layout/script/sidebars/mainsidebar.phtml(11): Myhelper_Template_Template::GenView('/var/www/html/s...', 'mainmenu.phtml', Array) #10 /var/www/html/site/candidature/library/Zend/View.php(157): include('/var/www/html/s...') #11 /var/www/html/site/candidature/library/Zend/View/Abstract.php(888): Zend_View->_run('/var/www/html/s...') #12 /var/www/html/site/candidature/library/Myhelper/Template/Template.php(45): Zend_View_Abstract->render(NULL) #13 /var/www/html/site/candidature/application/modules/inscription/layout/inscription.phtml(32): Myhelper_Template_Template::GenView('/var/www/html/s...', 'mainsidebar.pht...', Array) #14 /var/www/html/site/candidature/library/Zend/View.php(157): include('/var/www/html/s...') #15 /var/www/html/site/candidature/library/Zend/View/Abstract.php(888): Zend_View->_run('/var/www/html/s...') #16 /var/www/html/site/candidature/library/Zend/Layout.php(796): Zend_View_Abstract->render(NULL) #17 /var/www/html/site/candidature/library/Zend/Layout/Controller/Plugin/Layout.php(143): Zend_Layout->render() #18 /var/www/html/site/candidature/library/Zend/Controller/Plugin/Broker.php(333): Zend_Layout_Controller_Plugin_Layout->postDispatch(Object(Zend_Controller_Request_Http)) #19 /var/www/html/site/candidature/library/Zend/Controller/Front.php(965): Zend_Controller_Plugin_Broker->postDispatch(Object(Zend_Controller_Request_Http)) #20 /var/www/html/site/candidature/library/Zend/Application/Bootstrap/Bootstrap.php(105): Zend_Controller_Front->dispatch() #21 /var/www/html/site/candidature/library/Zend/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run() #22 /var/www/html/site/candidature/public/index.php(39): Zend_Application->run() #23 {main} Next Zend_Controller_Exception: 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 'AND idanneescolaire=6 AND idniveauformation=62) LIMIT 1' at line 1, query was: SELECT `inscripts`.* FROM `inscripts` WHERE (idcandidat= AND idanneescolaire=6 AND idniveauformation=62) LIMIT 1#0 /var/www/html/site/candidature/library/Zend/Db/Statement.php(303): Zend_Db_Statement_Pdo->_execute(Array) #1 /var/www/html/site/candidature/library/Zend/Db/Adapter/Abstract.php(480): Zend_Db_Statement->execute(Array) #2 /var/www/html/site/candidature/library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SELECT `inscrip...', Array) #3 /var/www/html/site/candidature/library/Zend/Db/Table/Abstract.php(1577): Zend_Db_Adapter_Pdo_Abstract->query(Object(Zend_Db_Table_Select)) #4 /var/www/html/site/candidature/library/Zend/Db/Table/Abstract.php(1439): Zend_Db_Table_Abstract->_fetch(Object(Zend_Db_Table_Select)) #5 /var/www/html/site/candidature/application/modules/inscription/layout/script/menu/mainmenu.phtml(5): Zend_Db_Table_Abstract->fetchRow('idcandidat= AND...') #6 /var/www/html/site/candidature/library/Zend/View.php(157): include('/var/www/html/s...') #7 /var/www/html/site/candidature/library/Zend/View/Abstract.php(888): Zend_View->_run('/var/www/html/s...') #8 /var/www/html/site/candidature/library/Myhelper/Template/Template.php(45): Zend_View_Abstract->render(NULL) #9 /var/www/html/site/candidature/application/modules/inscription/layout/script/sidebars/mainsidebar.phtml(11): Myhelper_Template_Template::GenView('/var/www/html/s...', 'mainmenu.phtml', Array) #10 /var/www/html/site/candidature/library/Zend/View.php(157): include('/var/www/html/s...') #11 /var/www/html/site/candidature/library/Zend/View/Abstract.php(888): Zend_View->_run('/var/www/html/s...') #12 /var/www/html/site/candidature/library/Myhelper/Template/Template.php(45): Zend_View_Abstract->render(NULL) #13 /var/www/html/site/candidature/application/modules/inscription/layout/inscription.phtml(32): Myhelper_Template_Template::GenView('/var/www/html/s...', 'mainsidebar.pht...', Array) #14 /var/www/html/site/candidature/library/Zend/View.php(157): include('/var/www/html/s...') #15 /var/www/html/site/candidature/library/Zend/View/Abstract.php(888): Zend_View->_run('/var/www/html/s...') #16 /var/www/html/site/candidature/library/Zend/Layout.php(796): Zend_View_Abstract->render(NULL) #17 /var/www/html/site/candidature/library/Zend/Layout/Controller/Plugin/Layout.php(143): Zend_Layout->render() #18 /var/www/html/site/candidature/library/Zend/Controller/Plugin/Broker.php(333): Zend_Layout_Controller_Plugin_Layout->postDispatch(Object(Zend_Controller_Request_Http)) #19 /var/www/html/site/candidature/library/Zend/Controller/Front.php(965): Zend_Controller_Plugin_Broker->postDispatch(Object(Zend_Controller_Request_Http)) #20 /var/www/html/site/candidature/library/Zend/Application/Bootstrap/Bootstrap.php(105): Zend_Controller_Front->dispatch() #21 /var/www/html/site/candidature/library/Zend/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run() #22 /var/www/html/site/candidature/public/index.php(39): Zend_Application->run() #23 {main} in /var/www/html/site/candidature/library/Zend/Controller/Plugin/Broker.php on line 336 Zend_Controller_Exception: 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 'AND idanneescolaire=6 AND idniveauformation=62) LIMIT 1' at line 1, query was: SELECT `inscripts`.* FROM `inscripts` WHERE (idcandidat= AND idanneescolaire=6 AND idniveauformation=62) LIMIT 1#0 /var/www/html/site/candidature/library/Zend/Db/Statement.php(303): Zend_Db_Statement_Pdo->_execute(Array) #1 /var/www/html/site/candidature/library/Zend/Db/Adapter/Abstract.php(480): Zend_Db_Statement->execute(Array) #2 /var/www/html/site/candidature/library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SELECT `inscrip...', Array) #3 /var/www/html/site/candidature/library/Zend/Db/Table/Abstract.php(1577): Zend_Db_Adapter_Pdo_Abstract->query(Object(Zend_Db_Table_Select)) #4 /var/www/html/site/candidature/library/Zend/Db/Table/Abstract.php(1439): Zend_Db_Table_Abstract->_fetch(Object(Zend_Db_Table_Select)) #5 /var/www/html/site/candidature/application/modules/inscription/layout/script/menu/mainmenu.phtml(5): Zend_Db_Table_Abstract->fetchRow('idcandidat= AND...') #6 /var/www/html/site/candidature/library/Zend/View.php(157): include('/var/www/html/s...') #7 /var/www/html/site/candidature/library/Zend/View/Abstract.php(888): Zend_View->_run('/var/www/html/s...') #8 /var/www/html/site/candidature/library/Myhelper/Template/Template.php(45): Zend_View_Abstract->render(NULL) #9 /var/www/html/site/candidature/application/modules/inscription/layout/script/sidebars/mainsidebar.phtml(11): Myhelper_Template_Template::GenView('/var/www/html/s...', 'mainmenu.phtml', Array) #10 /var/www/html/site/candidature/library/Zend/View.php(157): include('/var/www/html/s...') #11 /var/www/html/site/candidature/library/Zend/View/Abstract.php(888): Zend_View->_run('/var/www/html/s...') #12 /var/www/html/site/candidature/library/Myhelper/Template/Template.php(45): Zend_View_Abstract->render(NULL) #13 /var/www/html/site/candidature/application/modules/inscription/layout/inscription.phtml(32): Myhelper_Template_Template::GenView('/var/www/html/s...', 'mainsidebar.pht...', Array) #14 /var/www/html/site/candidature/library/Zend/View.php(157): include('/var/www/html/s...') #15 /var/www/html/site/candidature/library/Zend/View/Abstract.php(888): Zend_View->_run('/var/www/html/s...') #16 /var/www/html/site/candidature/library/Zend/Layout.php(796): Zend_View_Abstract->render(NULL) #17 /var/www/html/site/candidature/library/Zend/Layout/Controller/Plugin/Layout.php(143): Zend_Layout->render() #18 /var/www/html/site/candidature/library/Zend/Controller/Plugin/Broker.php(333): Zend_Layout_Controller_Plugin_Layout->postDispatch(Object(Zend_Controller_Request_Http)) #19 /var/www/html/site/candidature/library/Zend/Controller/Front.php(965): Zend_Controller_Plugin_Broker->postDispatch(Object(Zend_Controller_Request_Http)) #20 /var/www/html/site/candidature/library/Zend/Application/Bootstrap/Bootstrap.php(105): Zend_Controller_Front->dispatch() #21 /var/www/html/site/candidature/library/Zend/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run() #22 /var/www/html/site/candidature/public/index.php(39): Zend_Application->run() #23 {main} in /var/www/html/site/candidature/library/Zend/Controller/Plugin/Broker.php on line 336 Call Stack: 0.0001 356904 1. {main}() /var/www/html/site/candidature/public/index.php:0 0.0050 590968 2. Zend_Application->run() /var/www/html/site/candidature/public/index.php:39 0.0050 590968 3. Bootstrap->run() /var/www/html/site/candidature/library/Zend/Application.php:384 0.0050 590968 4. Zend_Controller_Front->dispatch() /var/www/html/site/candidature/library/Zend/Application/Bootstrap/Bootstrap.php:105