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?? 


Re: Loading a layout



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:

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:


#ini_set('display_errors', 1);




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 -
One Step checkout extension - Social Login extension - Gift Card extension