cancel
Showing results for 
Search instead for 
Did you mean: 

Loading a layout

Loading a layout

A layout is not loading. How can I debug that ?? 

If I on the template path hints that, I cant find any thing at that portion.

 

I tried several thin like "ini_set('display_errors', 1);" . But this is not showing any error. 

What to do in this case?? 

2 REPLIES 2

Re: Loading a layout

Hello,

 

You can enable log system and exception log: System > Configuration > ADVANCED > Developer > Log Settings. When loading xml layouts, if having some exceptions or errors, Magento will write logs into these two files.

Or you can buy an extension by Alan Storm: http://store.pulsestorm.net/products/commerce-bug-2

Problem solved? Click Accept as Solution!

Re: Loading a layout

Dear @foysal,

To enable debug on magento you can chose one of the following:

1. Open file index.php and change the code as below:

From:

if (isset($_SERVER['MAGE_IS_DEVELOPER_MODE'])) {
Mage::setIsDeveloperMode(true);
}
#ini_set('display_errors', 1);

 

To:

 

Mage::setIsDeveloperMode(true);
ini_set('display_errors', 1);

Also, as @MrKhoa99 guided you, you can enable function developer on magento in  System > Configuration > ADVANCED > Developer > Log Settings. After that, you can see the log in the files:

- var\log\system.log

- var\log\exception.log 

www.advancedcheckout.com - www.stableaddon.com
One Step checkout extension - Social Login extension - Gift Card extension