Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email

Magento Forum

Connectivity issue with Facebook using BELVG extension for Magento
Jr. Member
Total Posts:  1
Joined:  2012-10-09


I am getting this error when I click on F-login button and giving my credential of Facebook.
Please assist me asap as I am stuck in middle of my development. Any help would be highly appreciable. 

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 ‘LIMIT 1’ at line 4

#0 C:\xampp\htdocs\dineNdate\includes\src\Varien_Db_Statement_Pdo_Mysql.php(110): Zend_Db_Statement_Pdo->_execute(Array)
#1 C:\xampp\htdocs\dineNdate\includes\src\__default.php(63031): Varien_Db_Statement_Pdo_Mysql->_execute(Array)
#2 C:\xampp\htdocs\dineNdate\includes\src\__default.php(52713): Zend_Db_Statement->execute(Array)
#3 C:\xampp\htdocs\dineNdate\includes\src\__default.php(53749): Zend_Db_Adapter_Abstract->query(’SELECT `custome...’, Array)
#4 C:\xampp\htdocs\dineNdate\includes\src\__default.php(54585): Zend_Db_Adapter_Pdo_Abstract->query(’SELECT `custome...’, Array)
#5 C:\xampp\htdocs\dineNdate\includes\src\__default.php(52987): Varien_Db_Adapter_Pdo_Mysql->query(’SELECT `custome...’, Array)
#6 C:\xampp\htdocs\dineNdate\app\code\community\Belvg\FaceboookFree\controllers\CustomerController.php(55): Zend_Db_Adapter_Abstract->fetchRow(’SELECT `custome...’)
#7 C:\xampp\htdocs\dineNdate\includes\src\__default.php(13601): Belvg_FaceboookFree_CustomerController->LoginAction()
#8 C:\xampp\htdocs\dineNdate\includes\src\__default.php(17946): Mage_Core_Controller_Varien_Action->dispatch(’login’)
#9 C:\xampp\htdocs\dineNdate\includes\src\__default.php(17503): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#10 C:\xampp\htdocs\dineNdate\includes\src\__default.php(20080): Mage_Core_Controller_Varien_Front->dispatch()
#11 C:\xampp\htdocs\dineNdate\app\Mage.php(683): Mage_Core_Model_App->run(Array)
#12 C:\xampp\htdocs\dineNdate\index.php(87): Mage::run(’’, ‘store’)
#13 {main}


Magento Community Magento Community
Magento Community
Magento Community
Jr. Member
Total Posts:  13
Joined:  2013-04-05
Ahmedabad, India

This issue may be because of compilation enable.
So please try to (System -> Tools -> Compilation) disable compilation or run compilation process again and clear Magento cache.

** Please take backup before do anything.

Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top