<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Design Tips &#187; magento enable debug log exception report</title>
	<atom:link href="http://design-tips.com/tag/magento-enable-debug-log-exception-report/feed/" rel="self" type="application/rss+xml" />
	<link>http://design-tips.com</link>
	<description>Where designers share secret tricks</description>
	<lastBuildDate>Thu, 18 Oct 2012 21:15:24 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4.2</generator>
		<item>
		<title>How to Enable Debug Mode</title>
		<link>http://design-tips.com/web-design/magento/how-to-enable-debug-mode/</link>
		<comments>http://design-tips.com/web-design/magento/how-to-enable-debug-mode/#comments</comments>
		<pubDate>Fri, 24 Dec 2010 00:26:48 +0000</pubDate>
		<dc:creator>denys</dc:creator>
				<category><![CDATA[Magento]]></category>
		<category><![CDATA[magento enable debug log exception report]]></category>

		<guid isPermaLink="false">http://design-tips.com/?p=105</guid>
		<description><![CDATA[It&#8217;s very handy to enable debug mode at developement stage. In order to do that you have to modify magento&#8217;s index.php file. Change lines if (isset($_SERVER['MAGE_IS_DEVELOPER_MODE'])) { Mage::setIsDeveloperMode(true); } to //if (isset($_SERVER['MAGE_IS_DEVELOPER_MODE'])) { Mage::setIsDeveloperMode(true); //} and #ini_set(&#8216;display_errors&#8217;, 1); to ini_set(&#8216;display_errors&#8217;, 1); Now you if an error occurs magento will show its stack trace instead of report page. And will log debug info and exception information in magento&#8217;s var/log directory.]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s very handy to enable debug mode at developement stage. In order to do that you have to modify magento&#8217;s <strong>index.php</strong> file.</p>
<p>Change lines</p>
<p>if (isset($_SERVER['MAGE_IS_DEVELOPER_MODE'])) {<br />
Mage::setIsDeveloperMode(true);<br />
}</p>
<p>to</p>
<p><span id="more-105"></span></p>
<p>//if (isset($_SERVER['MAGE_IS_DEVELOPER_MODE'])) {<br />
Mage::setIsDeveloperMode(true);<br />
//}</p>
<p>and</p>
<p>#ini_set(&#8216;display_errors&#8217;, 1);</p>
<p>to</p>
<p>ini_set(&#8216;display_errors&#8217;, 1);</p>
<p>Now you if an error occurs magento will show its stack trace instead of report page.<br />
And will log debug info and exception information in magento&#8217;s var/log directory.</p>
]]></content:encoded>
			<wfw:commentRss>http://design-tips.com/web-design/magento/how-to-enable-debug-mode/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
