dongxifu5009 2016-03-13 15:25
浏览 44

Magento客户注册错误

I installed a multi vendor module on magento and when you try to register you get this error;

Cannot save the customer.`Invalid method Mage_Customer_Model_Customer::cleanPasswordsValidationData(Array ( ) )`

help will be much appreciated

  • 写回答

1条回答 默认 最新

  • doudun3040 2016-03-13 16:14
    关注

    it was a form validation issue, you need to assign your magento version in accountcontroller.php of the module. Mine was 1.9.1.0 but the former value was 1.8.1. you search for this line of code and change the version

        if (version_compare(Mage::getVersion(),"1.9.1.0",">="))
    {
        // Only from 1.9.1.0
        $customer->cleanPasswordsValidationData();
    }
    
    评论

报告相同问题?