Hi Kirill, first check that if the path given for the file is correct and the file rlaely exists. Eventually work with cache disabled.The error of the post is caused by referencing a wrong magento path while the correct one is app/code/core/Mage/Customer/Model/Entity/Address/Attribute/Source.If you put the Mage core file in the local (e.g you intend the modify it’s code) it’s path will be app/code/local/Mage/Customer/Model/Entity/Address/Attribute/Source, containing Country.php and Region.php. If you will fire up your editor and open Region.php you’ll notice the class name Mage_Customer_Model_Entity_Address_Attribute_Source_Region which actually contains the path to the file.In this case we have in the Mage package (which can be core or localized) the Customer module, in it a Model class.
Hi Kirill, first check that if the path given for the file is correct and the file rlaely exists. Eventually work with cache disabled.The error of the post is caused by referencing a wrong magento path while the correct one is app/code/core/Mage/Customer/Model/Entity/Address/Attribute/Source.If you put the Mage core file in the local (e.g you intend the modify it’s code) it’s path will be app/code/local/Mage/Customer/Model/Entity/Address/Attribute/Source, containing Country.php and Region.php. If you will fire up your editor and open Region.php you’ll notice the class name Mage_Customer_Model_Entity_Address_Attribute_Source_Region which actually contains the path to the file.In this case we have in the Mage package (which can be core or localized) the Customer module, in it a Model class.