In the Magento Admin Panel under Catalog menu you click Manage Products. And now you try to Add a new product after clicking Add Product button. After giving product information whenever you try to save the product it fails with following errors.
Warning: include(Mage\Catalog\Model\Resource\Eav\Mysql4\Product\Attribute\Backend\Tierprice.php) [function.include]: failed to open stream: No such file or directory in E:\xampp\htdocs\magento\lib\Varien\Autoload.php on line 93
Cause of the Problem
As the error says the system could not find file Tierprice.php in the location Mage\Catalog\Model\Resource\Eav\Mysql4\Product\Attribute\Backend and hence it throws error.
Solution of the Problem
Go to the directory and you will see the file named as Tierprice.php0000664. You need to rename that file to Tierprice.php and then try to add product in magento.
Here from windows XP machine I used xampp and from command line I renamed the file. Following is the copy paste information from the command line windows command prompt.
E:\Documents and Settings\Arju>cd E:\xampp\htdocs\magento\app\code\core\Mage\Catalog\Model\Resource\Eav\Mysql4\Product\Attribute\Backend
E:\xampp\htdocs\magento\app\code\core\Mage\Catalog\Model\Resource\Eav\Mysql4\Product\Attribute\Backend>dir
Volume in drive E is New Volume
Volume Serial Number is 889B-18A3
Directory of E:\xampp\htdocs\magento\app\code\core\Mage\Catalog\Model\Resource\Eav\Mysql4\Product\Attribute\Backend
12/06/2009 04:09 PM <DIR> .
12/06/2009 04:09 PM <DIR> ..
09/24/2009 12:52 AM 1,635 Gallery.php
09/24/2009 12:52 AM 2,405 Image.php
09/24/2009 12:52 AM 7,430 Media.php
09/24/2009 12:52 AM 3,168 Tierprice.php0000664
09/24/2009 12:52 AM 1,862 Urlkey.php
5 File(s) 16,500 bytes
2 Dir(s) 3,835,740,160 bytes free
E:\xampp\htdocs\magento\app\code\core\Mage\Catalog\Model\Resource\Eav\Mysql4\Product\Attribute\Backend>ren Tierprice.php0000664 Tierprice.php
E:\xampp\htdocs\magento\app\code\core\Mage\Catalog\Model\Resource\Eav\Mysql4\Product\Attribute\Backend>dir
Volume in drive E is New Volume
Volume Serial Number is 889B-18A3
Directory of E:\xampp\htdocs\magento\app\code\core\Mage\Catalog\Model\Resource\Eav\Mysql4\Product\Attribute\Backend
01/18/2010 03:00 PM <DIR> .
01/18/2010 03:00 PM <DIR> ..
09/24/2009 12:52 AM 1,635 Gallery.php
09/24/2009 12:52 AM 2,405 Image.php
09/24/2009 12:52 AM 7,430 Media.php
09/24/2009 12:52 AM 3,168 Tierprice.php
09/24/2009 12:52 AM 1,862 Urlkey.php
5 File(s) 16,500 bytes
2 Dir(s) 3,833,298,944 bytes free
No comments:
Post a Comment