Magento Forum

   
Theme Installation
 
welovesg
Jr. Member
 
Total Posts:  3
Joined:  2013-02-13
 

Hello,

any1 knows why this problem occurs after i install a mew theme?

Image Attachments
Untitled6.jpg
 
Magento Community Magento Community
Magento Community
Magento Community
 
MagikTejas
Sr. Member
 
Avatar
Total Posts:  150
Joined:  2009-07-29
 

Hello ,

Basically you need to check following -

Go to app/design/frontend/default/Your_theme/layout/page.xml

change the line

<block type="core/profiler" output="toHtml"/>

with this

<block type="core/profiler" output="toHtml" name="core_profiler"/>

This will solve the issue.

 
Magento Community Magento Community
Magento Community
Magento Community
 
welovesg
Jr. Member
 
Total Posts:  3
Joined:  2013-02-13
 

i tried .. but it doesnt help:(..
i think the problem is at httpdocs\app\code\core\Mage\Core\Model\Layout.php on line 555 ---Call to a member function toHtml()

but i duno how to solve it

 
Magento Community Magento Community
Magento Community
Magento Community
 
tzyganu
Mentor
 
Avatar
Total Posts:  2205
Joined:  2009-11-18
Bucharest, Romania
 

Hello
Magento probably wants to display a block that does not exist.
It may be something wrong in the layout files of your new theme.
To get an idea of what it might be put in the method Mage_Core_Model_Layout::getOutput() a debug line.
Put this:

echo $callack[0].'::'.$callback[1]."<br />";
before this line:
$out .= $this->getBlock($callback[0])->$callback[1]();

Then try again and you should see a list of blocks that should be rendered.
The last one in the list is the guilty one.

By its name you should get an idea about where you should look.

Marius.

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