Sharing is helping.

We offer you this space to share your knowledge about Magento and learn from our experienced customers.


    Home Forums Theme Forum HelloPress 1.4.1 upgrade Reply To: 1.4.1 upgrade

    #6971

    Anonymous

    Theme is totally distorted and as well as nor of any extension are working after upgrade.

    Backed also have structural changes and got distorted cause of Sql errors.

    Fix is only to re-install Magento 1.4.1 but still two bugs or problem.

    Its need some changes and as well as u have to perform Database recovery by magento DB tool its fix the sql database related problem by adding the extra fields in the DB.

    After that make some changes in:
    /app/code/core/Mage/Eav/Model/Entity/Attribute/Abstract.php

    Line around 374, replace the :

    $this->_source = Mage::getModel($this->getSourceModel())
    ->setAttribute($this);

    with:

    if(is_object(Mage::getModel($this->getSourceModel()))){
    $this->_source = Mage::getModel($this->getSourceModel())
    ->setAttribute($this);
    }

    And open file: /app/code/core/Mage/Adminhtml/Block/Widget/Form.php

    Line around 201/202:

    Replace:
    $element->setValues($attribute->getSource()->getAllOptions(true, true));

    with:
    if(is_object($attribute->getSource())){
    $element->setValues($attribute->getSource()->getAllOptions(true, true));
    }

    After that U can see yr store is up now for a while but must check the Products and create a dump of yr Sql.

    Now time to try theaming, In my case I m using Hello Press and still exploring teh structural problem.