Magento OnePage结帐未定义变量

时间:2013-07-18 13:05:32

标签: php magento undefined checkout

几个星期前,我发生了服务器崩溃,没有真正的备份,因此必须手动恢复所有内容。其中一件事是Magento商店。我已经恢复了所有文件和数据库,但是现在当我尝试通过结帐流程来测试时我会收到错误。

我可以在退房时点击注册,然后当我点击结帐页面上的“继续”时,我会收到“正在加载下一步”消息,然后在尝试访问saveBilling时Chrome网络检查器中出现某种AJAX错误页。错误列在下面:

Notice: Undefined variable: nameGroupAttribute  in /var/www/vhosts/mysite.com/httpdocs/app/code/local/Amasty/Customerattr/Model/Rewrite/Checkout/Type/Onepage.php on line 41

#0 /var/www/vhosts/mysite.com/httpdocs/app/code/local/Amasty/Customerattr/Model/Rewrite/Checkout/Type/Onepage.php(41): mageCoreErrorHandler(8, 'Undefined varia...', '/var/www/vhosts...', 41, Array)
#1 /var/www/vhosts/mysite.com/httpdocs/app/code/core/Mage/Checkout/controllers/OnepageController.php(307): Amasty_Customerattr_Model_Rewrite_Checkout_Type_Onepage->saveBilling(Array, false)
#2 /var/www/vhosts/mysite.com/httpdocs/app/code/core/Mage/Core/Controller/Varien/Action.php(420): Mage_Checkout_OnepageController->saveBillingAction()
#3 /var/www/vhosts/mysite.com/httpdocs/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(250): Mage_Core_Controller_Varien_Action->dispatch('saveBilling')
#4 /var/www/vhosts/mysite.com/httpdocs/app/code/core/Mage/Core/Controller/Varien/Front.php(176): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#5 /var/www/vhosts/mysite.com/httpdocs/app/code/core/Mage/Core/Model/App.php(349): Mage_Core_Controller_Varien_Front->dispatch()
#6 /var/www/vhosts/mysite.com/httpdocs/app/Mage.php(640): Mage_Core_Model_App->run(Array)
#7 /var/www/vhosts/mysite.com/httpdocs/index.php(85): Mage::run('', 'store')
#8 {main}

我搜索了每一个我能想到并且空洞的词汇组合。这个网站是在我到达这家公司之前设置好的,所以我不知道是否有任何改变是不应该的。我所知道的是,在服务器发生故障之前,该网站正在运行,现在这一部分无法正常工作。

感谢您的帮助!

0 个答案:

没有答案