exception 'Exception' with message '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 'ORDER BY Ordine' at line 1 Query: SELECT Pagine.*,Workflow.Object as Object ,Workflow.State as State ,Workflow.OUser as OUser ,Workflow.OGroup as OGroup ,Workflow.ModifyUser as ModifyUser ,Workflow.CreateUser as CreateUser ,Workflow.ID as wfID ,Workflow.CreationDate as CreationDate ,Workflow.ModificationDate as ModificationDate ,Workflow.WorkflowKEY as WorkflowKEY FROM `Pagine` JOIN Workflow ON Workflow.Object in ('EventiPagine[It]') AND Workflow.ID=PagineKEY AND Workflow.State in ('online','archivio_on') WHERE Codice = 'bando2022' AND EventiFKEY = ORDER BY Ordine' in /home/virtual/fondazione.cinetecadibologna.it/htdocs/libs/dlibs/ActiveDB/MySQLDbWrapper.php:74 Stack trace: #0 /home/virtual/fondazione.cinetecadibologna.it/htdocs/libs/dlibs/ActiveDB/ActiveDB.php(658): MysqlDBWrapper->doQuery('SELECT Pagine.*...') #1 /home/virtual/fondazione.cinetecadibologna.it/htdocs/libs/dlibs/ActiveDB/ActiveDB.php(556): ActiveDB->findAll(Array) #2 /home/virtual/fondazione.cinetecadibologna.it/htdocs/website/models/autoload/EventiPagine.php(20): ActiveDB->getObject(Array) #3 /home/virtual/fondazione.cinetecadibologna.it/htdocs/cache/smarty/templates_c/%%FB^FB7^FB700436%%evento_page_body.html.php(10): EventiPagine->getEventoPagina(NULL, 'bando2022') #4 /home/virtual/fondazione.cinetecadibologna.it/htdocs/libs/smarty/Smarty.class.php(1871): include('/home/virtual/f...') #5 /home/virtual/fondazione.cinetecadibologna.it/htdocs/cache/smarty/templates_c/%%77^774^774BE9C9%%index.html.php(106): Smarty->_smarty_include(Array) #6 /home/virtual/fondazione.cinetecadibologna.it/htdocs/libs/smarty/Smarty.class.php(1265): include('/home/virtual/f...') #7 /home/virtual/fondazione.cinetecadibologna.it/htdocs/libs/dsite/DSiteController.php(45): Smarty->fetch('index.html') #8 /home/virtual/fondazione.cinetecadibologna.it/htdocs/libs/dsite/DSite_CallableController.php(8): DSiteController->run(NULL) #9 /home/virtual/fondazione.cinetecadibologna.it/htdocs/libs/dsite/DSiteManager.php(240): DSite_CallableController->run() #10 /home/virtual/fondazione.cinetecadibologna.it/htdocs/libs/dsite/DSiteManager.php(309): DSiteManager->handleSiteController() #11 /home/virtual/fondazione.cinetecadibologna.it/htdocs/website/index.php(38): DSiteManager->run() #12 {main} |