There has been an error processing your request
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 MySQL server version for the right syntax to use near '' at line 1' in /opt/lampp/apps/yli.ro/htdocs/lib/Zend/Db/Adapter/Pdo/Abstract.php:263 Stack trace: #0 /opt/lampp/apps/yli.ro/htdocs/lib/Zend/Db/Adapter/Pdo/Abstract.php(263): PDO->exec('UPDATE producta...') #1 /opt/lampp/apps/yli.ro/htdocs/app/code/local/FME/Productattachments/Model/Mysql4/Productattachments.php(95): Zend_Db_Adapter_Pdo_Abstract->exec('UPDATE producta...') #2 /opt/lampp/apps/yli.ro/htdocs/app/code/local/FME/Productattachments/Model/Productattachments.php(74): FME_Productattachments_Model_Mysql4_Productattachments->updateDownloadsCounter(NULL) #3 /opt/lampp/apps/yli.ro/htdocs/app/code/local/FME/Productattachments/controllers/IndexController.php(32): FME_Productattachments_Model_Productattachments->updateCounter(NULL) #4 /opt/lampp/apps/yli.ro/htdocs/app/code/core/Mage/Core/Controller/Varien/Action.php(418): FME_Productattachments_IndexController->downloadAction() #5 /opt/lampp/apps/yli.ro/htdocs/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(253): Mage_Core_Controller_Varien_Action->dispatch('download') #6 /opt/lampp/apps/yli.ro/htdocs/app/code/core/Mage/Core/Controller/Varien/Front.php(176): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http)) #7 /opt/lampp/apps/yli.ro/htdocs/app/code/core/Mage/Core/Model/App.php(304): Mage_Core_Controller_Varien_Front->dispatch() #8 /opt/lampp/apps/yli.ro/htdocs/app/Mage.php(596): Mage_Core_Model_App->run(Array) #9 /opt/lampp/apps/yli.ro/htdocs/index.php(111): Mage::run('electromagneti', 'website') #10 {main} Next exception 'Zend_Db_Adapter_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 MySQL server version for the right syntax to use near '' at line 1' in /opt/lampp/apps/yli.ro/htdocs/lib/Zend/Db/Adapter/Pdo/Abstract.php:280 Stack trace: #0 /opt/lampp/apps/yli.ro/htdocs/app/code/local/FME/Productattachments/Model/Mysql4/Productattachments.php(95): Zend_Db_Adapter_Pdo_Abstract->exec('UPDATE producta...') #1 /opt/lampp/apps/yli.ro/htdocs/app/code/local/FME/Productattachments/Model/Productattachments.php(74): FME_Productattachments_Model_Mysql4_Productattachments->updateDownloadsCounter(NULL) #2 /opt/lampp/apps/yli.ro/htdocs/app/code/local/FME/Productattachments/controllers/IndexController.php(32): FME_Productattachments_Model_Productattachments->updateCounter(NULL) #3 /opt/lampp/apps/yli.ro/htdocs/app/code/core/Mage/Core/Controller/Varien/Action.php(418): FME_Productattachments_IndexController->downloadAction() #4 /opt/lampp/apps/yli.ro/htdocs/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(253): Mage_Core_Controller_Varien_Action->dispatch('download') #5 /opt/lampp/apps/yli.ro/htdocs/app/code/core/Mage/Core/Controller/Varien/Front.php(176): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http)) #6 /opt/lampp/apps/yli.ro/htdocs/app/code/core/Mage/Core/Model/App.php(304): Mage_Core_Controller_Varien_Front->dispatch() #7 /opt/lampp/apps/yli.ro/htdocs/app/Mage.php(596): Mage_Core_Model_App->run(Array) #8 /opt/lampp/apps/yli.ro/htdocs/index.php(111): Mage::run('electromagneti', 'website') #9 {main}
Trace: #0 /opt/lampp/apps/yli.ro/htdocs/app/code/local/FME/Productattachments/Model/Productattachments.php(74): FME_Productattachments_Model_Mysql4_Productattachments->updateDownloadsCounter(NULL) #1 /opt/lampp/apps/yli.ro/htdocs/app/code/local/FME/Productattachments/controllers/IndexController.php(32): FME_Productattachments_Model_Productattachments->updateCounter(NULL) #2 /opt/lampp/apps/yli.ro/htdocs/app/code/core/Mage/Core/Controller/Varien/Action.php(418): FME_Productattachments_IndexController->downloadAction() #3 /opt/lampp/apps/yli.ro/htdocs/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(253): Mage_Core_Controller_Varien_Action->dispatch('download') #4 /opt/lampp/apps/yli.ro/htdocs/app/code/core/Mage/Core/Controller/Varien/Front.php(176): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http)) #5 /opt/lampp/apps/yli.ro/htdocs/app/code/core/Mage/Core/Model/App.php(304): Mage_Core_Controller_Varien_Front->dispatch() #6 /opt/lampp/apps/yli.ro/htdocs/app/Mage.php(596): Mage_Core_Model_App->run(Array) #7 /opt/lampp/apps/yli.ro/htdocs/index.php(111): Mage::run('electromagneti', 'website') #8 {main}
Error log record number: 1252984674745