Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Magento Upgrade/Migration Product edit and add problem
 
jbruijntjes
Jr. Member
 
Total Posts:  9
Joined:  2011-01-12
 

Hello,

Been busy for a week now figuring out upgrade paths from 1.3.to 1.4.2
After days I managed to upgrade tot 1.4.2 (carefully planned every release with testing etc) and move the database to a clean installation following the guides of Magento.
Everything works fine EXCEPT.

When I click on a product on the homepage or when I try to edit a product from the adminGUI I get errors like

Invalid backend model specified: pws_extattributetype/attribute_backend_fileUpload
Trace:
#0 /var/www/app/code/core/Mage/Eav/Model/Entity/Attribute/Abstract.php(338): Mage::exception(\’Mage_Eav\’, \’Invalid backend...\’)
#1 /var/www/app/code/core/Mage/Catalog/Model/Resource/Eav/Mysql4/Abstract.php(157): Mage_Eav_Model_Entity_Attribute_Abstract->getBackend()
#2 /var/www/app/code/core/Mage/Eav/Model/Entity/Abstract.php(893): Mage_Catalog_Model_Resource_Eav_Mysql4_Abstract->_setAttribteValue(Object(Mage_Catalog_Model_Product), Array)
#3 /var/www/app/code/core/Mage/Catalog/Model/Resource/Eav/Mysql4/Abstract.php(647): Mage_Eav_Model_Entity_Abstract->load(Object(Mage_Catalog_Model_Product), 35, NULL)
#4 /var/www/app/code/core/Mage/Core/Model/Abstract.php(225): Mage_Catalog_Model_Resource_Eav_Mysql4_Abstract->load(Object(Mage_Catalog_Model_Product), 35, NULL)
#5 /var/www/app/code/core/Mage/Catalog/controllers/ProductController.php(60): Mage_Core_Model_Abstract->load(35)
#6 /var/www/app/code/core/Mage/Catalog/controllers/ProductController.php(194): Mage_Catalog_ProductController->_initProduct()
#7 /var/www/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Mage_Catalog_ProductController->viewAction()
#8 /var/www/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(253): Mage_Core_Controller_Varien_Action->dispatch(\’view\’)
#9 /var/www/app/code/core/Mage/Core/Controller/Varien/Front.php(176): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#10 /var/www/app/code/core/Mage/Core/Model/App.php(304): Mage_Core_Controller_Varien_Front->dispatch()
#11 /var/www/app/Mage.php(596): Mage_Core_Model_App->run(Array)
#12 /var/www/index.php(80): Mage::run(\’\’, \’store\’)
#13 {main}

or

There has been an error processing your requestSource model \"metarobots/product_attribute_source_unit\" not found for attribute \"meta_robots\".
Trace:
#0 /var/www/magento/app/code/core/Mage/Adminhtml/Block/Widget/Form.php(201): Mage_Eav_Model_Entity_Attribute_Abstract->getSource()
#1 /var/www/magento/app/code/core/Mage/Adminhtml/Block/Catalog/Product/Edit/Action/Attribute/Tab/Attributes.php(58): Mage_Adminhtml_Block_Widget_Form->_setFieldset(Array, Object(Varien_Data_Form_Element_Fieldset), Array)
#2 /var/www/magento/app/code/core/Mage/Adminhtml/Block/Widget/Form.php(144): Mage_Adminhtml_Block_Catalog_Product_Edit_Action_Attribute_Tab_Attributes->_prepareForm()
#3 /var/www/magento/app/code/core/Mage/Core/Block/Abstract.php(757): Mage_Adminhtml_Block_Widget_Form->_beforeToHtml()
#4 /var/www/magento/app/code/core/Mage/Adminhtml/Block/Widget/Tabs.php(289): Mage_Core_Block_Abstract->toHtml()
#5 /var/www/magento/app/design/adminhtml/default/default/template/widget/tabs.phtml(38): Mage_Adminhtml_Block_Widget_Tabs->getTabContent(Object(Mage_Adminhtml_Block_Catalog_Product_Edit_Action_Attribute_Tab_Attributes))
#6 /var/www/magento/app/code/core/Mage/Core/Block/Template.php(216): include(\’/var/www/magent...\’)
#7 /var/www/magento/app/code/core/Mage/Core/Block/Template.php(247): Mage_Core_Block_Template->fetchView(\’adminhtml/defau...\’)
#8 /var/www/magento/app/code/core/Mage/Core/Block/Template.php(261): Mage_Core_Block_Template->renderView()
#9 /var/www/magento/app/code/core/Mage/Adminhtml/Block/Template.php(81): Mage_Core_Block_Template->_toHtml()
#10 /var/www/magento/app/code/core/Mage/Core/Block/Abstract.php(758): Mage_Adminhtml_Block_Template->_toHtml()
#11 /var/www/magento/app/code/core/Mage/Core/Block/Text/List.php(43): Mage_Core_Block_Abstract->toHtml()
#12 /var/www/magento/app/code/core/Mage/Core/Block/Abstract.php(758): Mage_Core_Block_Text_List->_toHtml()
#13 /var/www/magento/app/code/core/Mage/Core/Block/Abstract.php(525): Mage_Core_Block_Abstract->toHtml()
#14 /var/www/magento/app/code/core/Mage/Core/Block/Abstract.php(476): Mage_Core_Block_Abstract->_getChildHtml(\’left\’, true)
#15 /var/www/magento/app/design/adminhtml/default/default/template/page.phtml(58): Mage_Core_Block_Abstract->getChildHtml(\’left\’)
#16 /var/www/magento/app/code/core/Mage/Core/Block/Template.php(216): include(\’/var/www/magent...\’)
#17 /var/www/magento/app/code/core/Mage/Core/Block/Template.php(247): Mage_Core_Block_Template->fetchView(\’adminhtml/defau...\’)
#18 /var/www/magento/app/code/core/Mage/Core/Block/Template.php(261): Mage_Core_Block_Template->renderView()
#19 /var/www/magento/app/code/core/Mage/Adminhtml/Block/Template.php(81): Mage_Core_Block_Template->_toHtml()
#20 /var/www/magento/app/code/core/Mage/Core/Block/Abstract.php(758): Mage_Adminhtml_Block_Template->_toHtml()
#21 /var/www/magento/app/code/core/Mage/Core/Model/Layout.php(529): Mage_Core_Block_Abstract->toHtml()
#22 /var/www/magento/app/code/core/Mage/Core/Controller/Varien/Action.php(389): Mage_Core_Model_Layout->getOutput()
#23 /var/www/magento/app/code/core/Mage/Adminhtml/controllers/Catalog/Product/Action/AttributeController.php(51): Mage_Core_Controller_Varien_Action->renderLayout()
#24 /var/www/magento/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Mage_Adminhtml_Catalog_Product_Action_AttributeController->editAction()
#25 /var/www/magento/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(253): Mage_Core_Controller_Varien_Action->dispatch(\’edit\’)
#26 /var/www/magento/app/code/core/Mage/Core/Controller/Varien/Front.php(176): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#27 /var/www/magento/app/code/core/Mage/Core/Model/App.php(304): Mage_Core_Controller_Varien_Front->dispatch()
#28 /var/www/magento/app/Mage.php(596): Mage_Core_Model_App->run(Array)
#29 /var/www/magento/index.php(65): Mage::run()
#30 {main}

Now I followed al the guides about Yoast attributes who need to be deleted from the database
Module is not installed (new install with restored database)
But the records talked about are not in my database.

I was thinking about reinstalling http://www.magentocommerce.com/magento-connect/Yoast/extension/920/yoast-metarobots maby a reinstall would fix the database
But that does not work either

pear/Console_Getopt requires PEAR Installer (version >= 1.9.1), installed version is 1.7.1
pear/PEAR requires package \"pear/Console_Getopt\" (recommended version 1.2.3)
magento-core/Mage_Pear_Helpers requires package \"pear/PEAR\" (version >= 1.6.2)
magento-core/Lib_Google_Checkout requires package \"magento-core/Mage_Pear_Helpers\" (version >= 1.0.18800)
magento-core/Mage_Core_Modules requires package \"magento-core/Lib_Google_Checkout\" (version >= 1.4.2.0, version <= 1.4.3, excluded versions: 1.4.3)
magento-community/Yoast_MetaRobots requires package \"magento-core/Mage_Core_Modules\" (version >= 1.4)
magento-core/Lib_Js_Calendar requires package \"magento-core/Mage_Pear_Helpers\" (version >= 1.0.18800)
magento-core/Lib_Js_Prototype requires package \"magento-core/Mage_Pear_Helpers\" (version >= 1.0.18800)
magento-core/Lib_Js_Mage requires package \"magento-core/Lib_Js_Prototype\" (version >= 1.6.0.3.3, version <= 1.6.1, excluded versions: 1.6.1)
magento-core/Lib_ZF requires package \"magento-core/Mage_Pear_Helpers\" (version >= 1.0.18800)
magento-core/Lib_Varien requires package \"magento-core/Lib_ZF\" (version >= 1.10.8.0, version <= 1.10.9.0, excluded versions: 1.10.9.0)
magento-core/Lib_ZF_Locale requires package \"magento-core/Mage_Pear_Helpers\" (version >= 1.0.18800)
Install Errors
No valid packages found
PEAR ERROR: install failed

Please help I am totaly in the dark now!!
And after days of troubleshooting I really need help.
Kind regards,

John

 
Magento Community Magento Community
Magento Community
Magento Community
 
hydra
Guru
 
Avatar
Total Posts:  378
Joined:  2008-08-26
Amsterdam
 

Hi.

The problem is with Yoast Extension. To solve this simply delete the Yoast entries from the database like so..

DELETE FROM `eav_attribute` WHERE `eav_attribute`.`attribute_code` = ‘meta_robots’;
DELETE FROM `core_resource` WHERE CODE = ‘metarobots_setup’;

Please see http://ken.edmonds-commerce.co.uk/magento/magento-source-model-metarobotsproduct_attribute_source_unit-not-found-for-attribute-meta_robots/

have a nice day.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top