|
Hey erveryone!
I thought I managed to upgrade my magento installation from 1.5 to 1.7, however after rechecking the live site I noticed that the onepagecheckout page doesn’t go from step 1 to step 2. After performing several tests I found out that the AJAX calls returned an error:
<pre>Warning: include(Mage/Customer/Entity/Model/Address/Attribute/Backend/Region.php) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory in /home/sites/domains/site.com/public_html/lib/Varien/Autoload.php on line 93
After searching for the document, I found out that the file seems to be located in
/domains/site.com/public_html/app/code/core/Mage/Customer/Model/Entity/Address/Attribute/Backend/Region.php
So instead of Customer/Model/Entity, it’s Customer/Entity/Model. Is anyone familiar with this problem? I downloaded the magento 1.7 zip file afterwards to verify, and it had the app\code\core\Mage\Customer\Model\Entity structure, so I do not know why magento would reference to a file on a different location.
Any help is much appreciated. If I find the answer myself I will post it to this thread in order to make it available for you guys.
Thanks!
[update]
I copied the file&folder;structure to the location he required, but now I receive a different error:
<pre>Invalid backend model specified: customer_entity/address_attribute_backend_region #0 /home/site/domains/site.com/public_html/app/code/core/Mage/Eav/Model/Entity/Attribute/Abstract.php(346): Mage::exception('Mage_Eav', 'Invalid backend...') #1 /home/site/domains/site.com/public_html/app/code/core/Mage/Eav/Model/Entity/Abstract.php(1094): Mage_Eav_Model_Entity_Attribute_Abstract->getBackend() #2 /home/site/domains/site.com/public_html/app/code/core/Mage/Eav/Model/Entity/Abstract.php(998): Mage_Eav_Model_Entity_Abstract->_setAttributeValue(Object(Mage_Customer_Model_Address), Array) #3 /home/site/domains/site.com/public_html/app/code/core/Mage/Eav/Model/Entity/Abstract.php(959): Mage_Eav_Model_Entity_Abstract->_loadModelAttributes(Object(Mage_Customer_Model_Address)) #4 /home/site/domains/site.com/public_html/app/code/core/Mage/Core/Model/Abstract.php(225): Mage_Eav_Model_Entity_Abstract->load(Object(Mage_Customer_Model_Address), '7', NULL) #5 /home/site/domains/site.com/public_html/app/code/core/Mage/Checkout/Model/Type/Onepage.php(246): Mage_Core_Model_Abstract->load('7') #6 /home/site/domains/site.com/public_html/app/code/core/Mage/Checkout/controllers/OnepageController.php(320): Mage_Checkout_Model_Type_Onepage->saveBilling(Array, '7') #7 /home/site/domains/site.com/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(419): Mage_Checkout_OnepageController->saveBillingAction() #8 /home/site/domains/site.com/public_html/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(250): Mage_Core_Controller_Varien_Action->dispatch('saveBilling') #9 /home/site/domains/site.com/public_html/app/code/core/Mage/Core/Controller/Varien/Front.php(176): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http)) #10 /home/site/domains/site.com/public_html/app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front->dispatch() #11 /home/site/domains/site.com/public_html/app/Mage.php(683): Mage_Core_Model_App->run(Array) #12 /home/site/domains/site.com/public_html/index.php(87): Mage::run('', 'store') #13 {main}</pre>
|