Error on page:
exception 'Zend_Db_Statement_Mysqli_Exception' with message 'Mysqli prepare error: 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 pii.id_programa_idioma=piso.id_programa_idioma and pii.id_idioma=5 and so.' at line 1' in /var/www/Abingerdale/gooofull.com/library/Zend/Db/Statement/Mysqli.php:84
Stack trace:
#0 /var/www/Abingerdale/gooofull.com/library/Zend/Db/Statement.php(109): Zend_Db_Statement_Mysqli->_prepare('select id_pv, f...')
#1 /var/www/Abingerdale/gooofull.com/library/Zend/Db/Adapter/Mysqli.php(377): Zend_Db_Statement->__construct(Object(Zend_Db_Adapter_Mysqli), 'select id_pv, f...')
#2 /var/www/Abingerdale/gooofull.com/library/Zend/Db/Adapter/Abstract.php(432): Zend_Db_Adapter_Mysqli->prepare('select id_pv, f...')
#3 /var/www/Abingerdale/gooofull.com/library/Zend/Db/Adapter/Abstract.php(644): Zend_Db_Adapter_Abstract->query('select id_pv, f...', Array)
#4 /var/www/Abingerdale/gooofull.com/application/models/dbModel.php(36): Zend_Db_Adapter_Abstract->fetchAll('select id_pv, f...')
#5 /var/www/Abingerdale/gooofull.com/application/classes/db_functions/remote.php(588): application_models_dbModel->select('select id_pv, f...')
#6 /var/www/Abingerdale/gooofull.com/application/controllers/AsistenciaController.php(489): _traerSO(Array)
#7 /var/www/Abingerdale/gooofull.com/library/Zend/Controller/Action.php(503): AsistenciaController->manualesprogramasAction()
#8 /var/www/Abingerdale/gooofull.com/library/Zend/Controller/Dispatcher/Standard.php(285): Zend_Controller_Action->dispatch('manualesprogram...')
#9 /var/www/Abingerdale/gooofull.com/library/Zend/Controller/Front.php(934): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#10 /var/www/Abingerdale/gooofull.com/index.php(27): Zend_Controller_Front->dispatch()
#11 {main} 
select id_pv, fam.nombre_familia_so, so.nombre_sistema_operativo from repositorio.programas_idiomas as pii, repositorio.programas_idiomas_so as piso, repositorio.sistemas_operativos as so, familia_so as fam where pii.id_pv in () and pii.id_programa_idioma=piso.id_programa_idioma and pii.id_idioma=5 and so.id_sistema_operativo=piso.id_sistema_operativo and so.id_familia_so=fam.id_familia_so and fam.id_familia_so in (1,3,4,9,10)  order by so.id_sistema_operativo ASC