1

Manage product This is how the manage product page is broken. All content on this page is shown in left sidebar even when I create new product. I can't change products, I can't create them because I can't save any changes.

I'd wanted to restore 1 month old backup. I did complete restore, system files and database. All was working nicely. But then I restored whole database via phpmyadmin. The problem was back. I assume the issue is in the database.

Can I restore only "important" part of database - catalog, customers, orders..?

Does anybody know how to find what cause the problem? I started to be hopeless.

Thank you in advance.

EDIT: Not even magento 1.9.1.0 upgrade didn't help.

  • Try re-indexing and Flush Cache Storage! – Rahul Kumar Das Oct 30 '14 at 12:51
  • I flushed everything what I could and re-indexed all as well.. – sidlo Oct 30 '14 at 13:13
  • I had added just those two but I deleted them. – sidlo Oct 30 '14 at 13:31
  • I suppose that I started after I installed but I'm not sure – sidlo Oct 30 '14 at 13:36
  • 1
    TO me this looks like an issue with the custom admin theme you are using. It seems like the content is being added to the tab and not in content section. If you disable this theme does it fix the issue? – David Manners Oct 30 '14 at 14:06
2

Edit: Changes to core files being lost in a migration or upgrade can cause this issue. With the benefit of more experience with Magento and @Fiasco Labs comment, my simpler suggestion would be to look for modifications to core files in a project before migration, or really whenever you take over a project. Plugin provider Amasty offers a free tool for checking for modified core files, or you can do it yourself by comparing the "core" folders in your site to those from a clean copy of your site's version of Magento.

Original Answer I'm not sure if this will be helpful to the OP, but maybe it will help someone else. I had this same problem with the catalog product edit page in the admin after migrating our site to a new server.

Based on @Manik's advice, I found that the project had a code file at local\Ourproject\Adminhtml\Block\Catalog\Product\Edit.php that extended the Mage_Adminhtml_Block_Catalog_Product_Edit class. The contents of that file are below:

<?php

class Ourproject_Adminhtml_Block_Catalog_Product_Edit extends Mage_Adminhtml_Block_Catalog_Product_Edit
{
    public function __construct()
    {
        parent::__construct();
        $this->setTemplate('ourproject/catalog/product/edit.phtml');
        $this->setId('product_edit');
    }

}

Because I am not that familiar with how magento paths work, it took some looking around to figure out that I did not have the template file ourproject/catalog/product/edit.phtml on the new server.

I had followed the instructions from the Magento wiki to migrate the site. That process has you copy over your database, create a new clean instance of Magento on your destination server, and then copy over only the files that should have been changed from your existing site.

I suspect that this issue arose because the custom edit.phtml file really should have been created at app/design/adminhtml/ourproject/default/template/default/catalog/product/edit.phtml instead of at app/design/adminhtml/default/default/template/ourproject/catalog/product/edit.phtml, and then would have been captured for migration following the instructions in the Wiki. Someone with greater experience may be able to weigh in on that.

Whatever the cause, bringing over the contents of the app/design/adminhtml/default/default/template/ourproject folder to the new server fixed this issue, and probably a few others I had not yet noticed.

  • So, basically don't edit core files if you want that particular migration method to work. Because the missing modified file was in the adminhtml default/default folder instead of the custom theme folder, it got missed and the backend broke. – Fiasco Labs Dec 11 '15 at 6:05
0

Its looks like css problem. Check your current magento reset.css and boxes.css files with the original files.

Edited: So, Its not because of css .The class Mage_Adminhtml_Block_Catalog_Product_Edit_Tabs responsible for your problem check this class with original magento file.

  • I compared it - no differences. – sidlo Oct 30 '14 at 13:13
  • What about the other pages in admin.Is that pages shows correctly? – Manikandan Arunachalam Oct 30 '14 at 13:15
  • Yes, only manage products is wrong. I restored all adminhtml app and skin from backup. No changes.. – sidlo Oct 30 '14 at 13:17
  • I restored all in /app/code/core/Mage/Adminhtml/Block/Catalog/Product from original. Still nothing changes – sidlo Oct 30 '14 at 22:42
  • Its may be the theme you are using as said by @David Manners. – Manikandan Arunachalam Oct 31 '14 at 4:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.