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