我在下达付款选项Authorize.net的订单时收到此错误。
Reason
SQLSTATE[42S22]: Column not found: 1054 Unknown column '' in 'field list'
Checkout Type
onepage
Shipping Method:
Shipping Option
Payment Method:
Credit Card (Authorize.net)
这是Authorize.net付款方式的问题还是数据库问题,可能缺少任何字段。
我无法从原因中猜出“未知列”,但它显示为空,所以我无法猜测哪个列在哪个表中丢失。
任何帮助都会感激不尽
另一个付款交易失败提醒
这是异常日志
ERR (3):
exception 'PDOException' with message 'SQLSTATE[42S22]: Column not found: 1054 Unknown column '' in 'field list'' in /chroot/home/abc/sitename.com/html/lib/Zend/Db/Statement/Pdo.php:228
Stack trace:
#0 /chroot/home/abc/sitename.com/html/lib/Zend/Db/Statement/Pdo.php(228): PDOStatement->execute(Array)
#1 /chroot/home/abc/sitename.com/html/lib/Zend/Db/Statement.php(300): Zend_Db_Statement_Pdo->_execute(Array)
#2 /chroot/home/abc/sitename.com/html/lib/Zend/Db/Adapter/Abstract.php(479): Zend_Db_Statement->execute(Array)
#3 /chroot/home/abc/sitename.com/html/lib/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('INSERT INTO `cu...', Array)
#4 /chroot/home/abc/sitename.com/html/lib/Varien/Db/Adapter/Pdo/Mysql.php(337): Zend_Db_Adapter_Pdo_Abstract->query('INSERT INTO `cu...', Array)
#5 /chroot/home/abc/sitename.com/html/lib/Zend/Db/Adapter/Abstract.php(574): Varien_Db_Adapter_Pdo_Mysql->query('INSERT INTO `cu...', Array)
#6 /chroot/home/abc/sitename.com/html/app/code/core/Mage/Eav/Model/Entity/Abstract.php(1215): Zend_Db_Adapter_Abstract->insert('customer_entity', Array)
#7 /chroot/home/abc/sitename.com/html/app/code/core/Mage/Eav/Model/Entity/Abstract.php(1012): Mage_Eav_Model_Entity_Abstract->_processSaveData(Array)
#8 /chroot/home/abc/sitename.com/html/app/code/core/Mage/Core/Model/Abstract.php(318): Mage_Eav_Model_Entity_Abstract->save(Object(Mage_Customer_Model_Customer))
#9 /chroot/home/abc/sitename.com/html/app/code/core/Mage/Core/Model/Resource/Transaction.php(150): Mage_Core_Model_Abstract->save()
#10 /chroot/home/abc/sitename.com/html/app/code/core/Mage/Sales/Model/Service/Quote.php(183): Mage_Core_Model_Resource_Transaction->save()
#11 /chroot/home/abc/sitename.com/html/app/code/core/Mage/Sales/Model/Service/Quote.php(238): Mage_Sales_Model_Service_Quote->submitOrder()
#12 /chroot/home/abc/sitename.com/html/app/code/core/Mage/Checkout/Model/Type/Onepage.php(742): Mage_Sales_Model_Service_Quote->submitAll()
#13 /chroot/home/abc/sitename.com/html/app/code/core/Mage/Checkout/controllers/OnepageController.php(499): Mage_Checkout_Model_Type_Onepage->saveOrder()
#14 /chroot/home/abc/sitename.com/html/app/code/core/Mage/Core/Controller/Varien/Action.php(420): Mage_Checkout_OnepageController->saveOrderAction()
#15 /chroot/home/abc/sitename.com/html/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(253): Mage_Core_Controller_Varien_Action->dispatch('saveOrder')
#16 /chroot/home/abc/sitename.com/html/app/code/core/Mage/Core/Controller/Varien/Front.php(176): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#17 /chroot/home/abc/sitename.com/html/app/code/core/Mage/Core/Model/App.php(340): Mage_Core_Controller_Varien_Front->dispatch()
#18 /chroot/home/abc/sitename.com/html/app/Mage.php(627): Mage_Core_Model_App->run(Array)
#19 /chroot/home/abc/sitename.com/html/index.php(80): Mage::run('', 'store')
#20
答案 0 :(得分:0)
我首先建议运行Magento数据库修复工具,看看你是否有任何数据库表。如果没有,请尝试打开Magento中的错误日志,看看是否可以获得有关查询的更多详细信息(或至少在堆栈中生成的位置)。
如果你真的很绝望,请打开MySQL中的查询记录并直接查看查询以查看出现了什么问题。
希望有所帮助!
谢谢, 乔