Archivi film

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 ANNO' at line 1 Query: SELECT Distinct NOME FROM `v_ARCFILM` WHERE ID_REGISTA = ORDER BY ANNO' 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 Distinct...') #1 /home/virtual/fondazione.cinetecadibologna.it/htdocs/libs/dlibs/ActiveDB/ActiveDB.php(561): ActiveDB->findAll(Array) #2 /home/virtual/fondazione.cinetecadibologna.it/htdocs/website/models/autoload/v_ARCFILM.php(163): ActiveDB->getAll(Array) #3 /home/virtual/fondazione.cinetecadibologna.it/htdocs/cache/smarty/templates_c/%%73^73F^73F8724C%%af_detregista.html.php(6): v_ARCFILM->getRegistaByID('') #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}