Application Error
exception 'PDOException' with message 'SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'UNION SELECT id2 as id FROM articoli2articoli WHERE id1=' at line 1' in /var/www/clients/client0/web2/web/Zend/Db/Statement/Pdo.php:228
Stack trace:
#0 /var/www/clients/client0/web2/web/Zend/Db/Statement/Pdo.php(228): PDOStatement->execute(Array)
#1 /var/www/clients/client0/web2/web/Zend/Db/Statement.php(303): Zend_Db_Statement_Pdo->_execute(Array)
#2 /var/www/clients/client0/web2/web/Zend/Db/Adapter/Abstract.php(480): Zend_Db_Statement->execute(Array)
#3 /var/www/clients/client0/web2/web/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SELECT id1 as i...', Array)
#4 /var/www/clients/client0/web114/web/application/models/Catalogo/Articolo.php(550): Zend_Db_Adapter_Pdo_Abstract->query('SELECT id1 as i...')
#5 /var/www/clients/client0/web114/web/application/controllers/CatalogoController.php(82): Catalogo_Articolo->findCorr(NULL, 'articoli2artico...')
#6 /var/www/clients/client0/web2/web/Zend/Controller/Action.php(516): CatalogoController->schedaAction()
#7 /var/www/clients/client0/web2/web/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch('schedaAction')
#8 /var/www/clients/client0/web2/web/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#9 /var/www/clients/client0/web114/web/application/config.php(149): Zend_Controller_Front->dispatch()
#10 /var/www/clients/client0/web114/web/public_html/index.php(20): include('/var/www/client...')
#11 {main}
Next exception 'Zend_Db_Statement_Exception' with message 'SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'UNION SELECT id2 as id FROM articoli2articoli WHERE id1=' at line 1, query was: SELECT id1 as id FROM articoli2articoli WHERE id2= UNION SELECT id2 as id FROM articoli2articoli WHERE id1=' in /var/www/clients/client0/web2/web/Zend/Db/Statement/Pdo.php:235
Stack trace:
#0 /var/www/clients/client0/web2/web/Zend/Db/Statement.php(303): Zend_Db_Statement_Pdo->_execute(Array)
#1 /var/www/clients/client0/web2/web/Zend/Db/Adapter/Abstract.php(480): Zend_Db_Statement->execute(Array)
#2 /var/www/clients/client0/web2/web/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SELECT id1 as i...', Array)
#3 /var/www/clients/client0/web114/web/application/models/Catalogo/Articolo.php(550): Zend_Db_Adapter_Pdo_Abstract->query('SELECT id1 as i...')
#4 /var/www/clients/client0/web114/web/application/controllers/CatalogoController.php(82): Catalogo_Articolo->findCorr(NULL, 'articoli2artico...')
#5 /var/www/clients/client0/web2/web/Zend/Controller/Action.php(516): CatalogoController->schedaAction()
#6 /var/www/clients/client0/web2/web/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch('schedaAction')
#7 /var/www/clients/client0/web2/web/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#8 /var/www/clients/client0/web114/web/application/config.php(149): Zend_Controller_Front->dispatch()
#9 /var/www/clients/client0/web114/web/public_html/index.php(20): include('/var/www/client...')
#10 {main}