<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Simple Debugging with WordPress</title>
	<atom:link href="http://fuelyourcoding.com/simple-debugging-with-wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://fuelyourcoding.com/simple-debugging-with-wordpress/</link>
	<description></description>
	<lastBuildDate>Tue, 17 Jan 2012 16:57:58 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: andrew</title>
		<link>http://fuelyourcoding.com/simple-debugging-with-wordpress/comment-page-1/#comment-5707</link>
		<dc:creator>andrew</dc:creator>
		<pubDate>Tue, 27 Dec 2011 21:28:42 +0000</pubDate>
		<guid isPermaLink="false">http://fuelyourcoding.com/?p=826#comment-5707</guid>
		<description>You are probably will be interested in &lt;a href=&quot;http://codecanyon.net/item/wordpress-firephp-debugger/1143561&quot; rel=&quot;nofollow&quot;&gt;FirePHP Debugger&lt;/a&gt; plugin for wordpress debugging.</description>
		<content:encoded><![CDATA[<p>You are probably will be interested in <a href="http://codecanyon.net/item/wordpress-firephp-debugger/1143561" rel="nofollow">FirePHP Debugger</a> plugin for wordpress debugging.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: agreatdream.com</title>
		<link>http://fuelyourcoding.com/simple-debugging-with-wordpress/comment-page-1/#comment-5606</link>
		<dc:creator>agreatdream.com</dc:creator>
		<pubDate>Mon, 14 Nov 2011 17:54:19 +0000</pubDate>
		<guid isPermaLink="false">http://fuelyourcoding.com/?p=826#comment-5606</guid>
		<description>Do you know how we can get the gallery images to go to a URL we type in? I can&#039;t get the native gallery to jump on my site (http://agreatdream.com/word-list-vegetables/) I want the verb list to go to a page not the image. I don&#039;t want to use NextGEN Gallery as it doesn&#039;t work with a lot of other plugins I need.

Glen</description>
		<content:encoded><![CDATA[<p>Do you know how we can get the gallery images to go to a URL we type in? I can&#8217;t get the native gallery to jump on my site (<a href="http://agreatdream.com/word-list-vegetables/" rel="nofollow">http://agreatdream.com/word-list-vegetables/</a>) I want the verb list to go to a page not the image. I don&#8217;t want to use NextGEN Gallery as it doesn&#8217;t work with a lot of other plugins I need.</p>
<p>Glen</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Malcolm Boyanton</title>
		<link>http://fuelyourcoding.com/simple-debugging-with-wordpress/comment-page-1/#comment-5421</link>
		<dc:creator>Malcolm Boyanton</dc:creator>
		<pubDate>Sat, 27 Aug 2011 05:46:19 +0000</pubDate>
		<guid isPermaLink="false">http://fuelyourcoding.com/?p=826#comment-5421</guid>
		<description>Thank you. This is perhaps the best written set of instructions for debugging WordPress that I&#039;ve stumbled across.</description>
		<content:encoded><![CDATA[<p>Thank you. This is perhaps the best written set of instructions for debugging WordPress that I&#8217;ve stumbled across.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adrian</title>
		<link>http://fuelyourcoding.com/simple-debugging-with-wordpress/comment-page-1/#comment-5419</link>
		<dc:creator>Adrian</dc:creator>
		<pubDate>Fri, 26 Aug 2011 20:47:09 +0000</pubDate>
		<guid isPermaLink="false">http://fuelyourcoding.com/?p=826#comment-5419</guid>
		<description>Overall, a great idea but print_r() is not the best choice. The array pointer is set to the end, thus providing very confusing output.

Either replace with var_export or follow print_r with reset();

if(!function_exists(&#039;_log&#039;)){
  function _log( $message ) {
    if( WP_DEBUG === true ){
      if( is_array( $message ) &#124;&#124; is_object( $message ) ){
        error_log( var_export( $message, true ) );
      } else {
        error_log( $message );
      }
    }
  }
}

Also neither can be used with ob_start buffers. 

See http://ca.php.net/manual/en/function.print-r.php</description>
		<content:encoded><![CDATA[<p>Overall, a great idea but print_r() is not the best choice. The array pointer is set to the end, thus providing very confusing output.</p>
<p>Either replace with var_export or follow print_r with reset();</p>
<p>if(!function_exists(&#8217;_log&#8217;)){<br />
  function _log( $message ) {<br />
    if( WP_DEBUG === true ){<br />
      if( is_array( $message ) || is_object( $message ) ){<br />
        error_log( var_export( $message, true ) );<br />
      } else {<br />
        error_log( $message );<br />
      }<br />
    }<br />
  }<br />
}</p>
<p>Also neither can be used with ob_start buffers. </p>
<p>See <a href="http://ca.php.net/manual/en/function.print-r.php" rel="nofollow">http://ca.php.net/manual/en/function.print-r.php</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Katie @ women magazine</title>
		<link>http://fuelyourcoding.com/simple-debugging-with-wordpress/comment-page-1/#comment-5349</link>
		<dc:creator>Katie @ women magazine</dc:creator>
		<pubDate>Thu, 04 Aug 2011 13:11:32 +0000</pubDate>
		<guid isPermaLink="false">http://fuelyourcoding.com/?p=826#comment-5349</guid>
		<description>Well, this is awesome. Just wondering if there is way to check live error records on windows development machine running xampp and wordpress. I am looking something like &quot;tail -f /var/www/html/site/error_log&quot; kind of thing. Is it possible?</description>
		<content:encoded><![CDATA[<p>Well, this is awesome. Just wondering if there is way to check live error records on windows development machine running xampp and wordpress. I am looking something like &#8220;tail -f /var/www/html/site/error_log&#8221; kind of thing. Is it possible?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sagive</title>
		<link>http://fuelyourcoding.com/simple-debugging-with-wordpress/comment-page-1/#comment-5342</link>
		<dc:creator>sagive</dc:creator>
		<pubDate>Mon, 01 Aug 2011 23:59:47 +0000</pubDate>
		<guid isPermaLink="false">http://fuelyourcoding.com/?p=826#comment-5342</guid>
		<description>gr8 post man. 
i think in the case of a plugin its best to simply 
send those lines into the header so when you
turn off the plugin after debugin you won&#039;t have 
to remove those.. 

A small function plus an action should do the trick.. 
would have pasted it but you know... php and comments :)

Anyhow.. thanks</description>
		<content:encoded><![CDATA[<p>gr8 post man.<br />
i think in the case of a plugin its best to simply<br />
send those lines into the header so when you<br />
turn off the plugin after debugin you won&#8217;t have<br />
to remove those.. </p>
<p>A small function plus an action should do the trick..<br />
would have pasted it but you know&#8230; php and comments :)</p>
<p>Anyhow.. thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Debugging WordPress</title>
		<link>http://fuelyourcoding.com/simple-debugging-with-wordpress/comment-page-1/#comment-4728</link>
		<dc:creator>Debugging WordPress</dc:creator>
		<pubDate>Fri, 24 Dec 2010 13:24:20 +0000</pubDate>
		<guid isPermaLink="false">http://fuelyourcoding.com/?p=826#comment-4728</guid>
		<description>[...] An excellent post I found explaining the debugging feature can be found at: http://fuelyourcoding.com/simple-debugging-with-wordpress/ [...]</description>
		<content:encoded><![CDATA[<p>[...] An excellent post I found explaining the debugging feature can be found at: <a href="http://fuelyourcoding.com/simple-debugging-with-wordpress/" rel="nofollow">http://fuelyourcoding.com/simple-debugging-with-wordpress/</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark</title>
		<link>http://fuelyourcoding.com/simple-debugging-with-wordpress/comment-page-1/#comment-4725</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Fri, 24 Dec 2010 11:49:17 +0000</pubDate>
		<guid isPermaLink="false">http://fuelyourcoding.com/?p=826#comment-4725</guid>
		<description>You can specify a different log file, and by extension, location by setting `ini_set` in your functions.php file.
You might have some code a bit like this:
`
if ( WP_DEBUG_LOG &amp;&amp; WP_DEBUG ) {
  ini_set( &#039;error_log&#039;, WP_CONTENT_DIR . &#039;/logs/&#039;.date(&#039;Ymd&#039;).&#039;.log&#039; );
}
`
As long as you&#039;ve created the log directory, and set the permissions appropriately your debug data should be safe from prying eyes.</description>
		<content:encoded><![CDATA[<p>You can specify a different log file, and by extension, location by setting `ini_set` in your functions.php file.<br />
You might have some code a bit like this:<br />
`<br />
if ( WP_DEBUG_LOG &amp;&amp; WP_DEBUG ) {<br />
  ini_set( &#8216;error_log&#8217;, WP_CONTENT_DIR . &#8216;/logs/&#8217;.date(&#8217;Ymd&#8217;).&#8217;.log&#8217; );<br />
}<br />
`<br />
As long as you&#8217;ve created the log directory, and set the permissions appropriately your debug data should be safe from prying eyes.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: box</title>
		<link>http://fuelyourcoding.com/simple-debugging-with-wordpress/comment-page-1/#comment-3505</link>
		<dc:creator>box</dc:creator>
		<pubDate>Fri, 24 Sep 2010 02:16:05 +0000</pubDate>
		<guid isPermaLink="false">http://fuelyourcoding.com/?p=826#comment-3505</guid>
		<description>@Ken You need to create the debug.log file in the wp-content directory and then &quot;chmod 666 debug.log&quot;. Please refer to http://lists.automattic.com/pipermail/wp-hackers/2010-September/034830.html.</description>
		<content:encoded><![CDATA[<p>@Ken You need to create the debug.log file in the wp-content directory and then &#8220;chmod 666 debug.log&#8221;. Please refer to <a href="http://lists.automattic.com/pipermail/wp-hackers/2010-September/034830.html." rel="nofollow">http://lists.automattic.com/pipermail/wp-hackers/2010-September/034830.html.</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ken</title>
		<link>http://fuelyourcoding.com/simple-debugging-with-wordpress/comment-page-1/#comment-3290</link>
		<dc:creator>Ken</dc:creator>
		<pubDate>Sat, 21 Aug 2010 03:09:55 +0000</pubDate>
		<guid isPermaLink="false">http://fuelyourcoding.com/?p=826#comment-3290</guid>
		<description>I followed your instructions and I did not see any debug.log file show up.</description>
		<content:encoded><![CDATA[<p>I followed your instructions and I did not see any debug.log file show up.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://fuelyourcoding.com/simple-debugging-with-wordpress/comment-page-1/#comment-2988</link>
		<dc:creator>John</dc:creator>
		<pubDate>Sat, 03 Jul 2010 06:33:49 +0000</pubDate>
		<guid isPermaLink="false">http://fuelyourcoding.com/?p=826#comment-2988</guid>
		<description>because Chyrp is dead. http://chyrp.net/2010/05/14/chyrp-is-dead-long-live-chyrp/</description>
		<content:encoded><![CDATA[<p>because Chyrp is dead. <a href="http://chyrp.net/2010/05/14/chyrp-is-dead-long-live-chyrp/" rel="nofollow">http://chyrp.net/2010/05/14/chyrp-is-dead-long-live-chyrp/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jasper</title>
		<link>http://fuelyourcoding.com/simple-debugging-with-wordpress/comment-page-1/#comment-2983</link>
		<dc:creator>Jasper</dc:creator>
		<pubDate>Fri, 02 Jul 2010 09:26:55 +0000</pubDate>
		<guid isPermaLink="false">http://fuelyourcoding.com/?p=826#comment-2983</guid>
		<description>Thanks for the great tips. Would love to see some debugging tips for backend work on custom fields, custom types or plugins here as well.</description>
		<content:encoded><![CDATA[<p>Thanks for the great tips. Would love to see some debugging tips for backend work on custom fields, custom types or plugins here as well.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Neil Monroe</title>
		<link>http://fuelyourcoding.com/simple-debugging-with-wordpress/comment-page-1/#comment-2684</link>
		<dc:creator>Neil Monroe</dc:creator>
		<pubDate>Mon, 07 Jun 2010 16:24:55 +0000</pubDate>
		<guid isPermaLink="false">http://fuelyourcoding.com/?p=826#comment-2684</guid>
		<description>Great post. Just what I was looking for. Just wish PHP/WordPress had more info right in the browser. A blank page isn&#039;t that helpful.

Note: In your paragraph that reads &quot;After refreshing your page once, you should see a newly created debug.php file...&quot;, it should be &quot;debug.log&quot;, right?

Thanks again for the debugging tips!</description>
		<content:encoded><![CDATA[<p>Great post. Just what I was looking for. Just wish PHP/WordPress had more info right in the browser. A blank page isn&#8217;t that helpful.</p>
<p>Note: In your paragraph that reads &#8220;After refreshing your page once, you should see a newly created debug.php file&#8230;&#8221;, it should be &#8220;debug.log&#8221;, right?</p>
<p>Thanks again for the debugging tips!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: PHP / Wordpress &#8212; Enable Debugging, Log Writing, etc. &#171; The Great Magnet. What a fool I was to defy him.</title>
		<link>http://fuelyourcoding.com/simple-debugging-with-wordpress/comment-page-1/#comment-2066</link>
		<dc:creator>PHP / Wordpress &#8212; Enable Debugging, Log Writing, etc. &#171; The Great Magnet. What a fool I was to defy him.</dc:creator>
		<pubDate>Fri, 02 Apr 2010 18:16:56 +0000</pubDate>
		<guid isPermaLink="false">http://fuelyourcoding.com/?p=826#comment-2066</guid>
		<description>[...] http://fuelyourcoding.com/simple-debugging-with-wordpress/ [...]</description>
		<content:encoded><![CDATA[<p>[...] <a href="http://fuelyourcoding.com/simple-debugging-with-wordpress/" rel="nofollow">http://fuelyourcoding.com/simple-debugging-with-wordpress/</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bookmarks vom 18.03.2010 bis zum 23.03.2010</title>
		<link>http://fuelyourcoding.com/simple-debugging-with-wordpress/comment-page-1/#comment-2018</link>
		<dc:creator>Bookmarks vom 18.03.2010 bis zum 23.03.2010</dc:creator>
		<pubDate>Tue, 23 Mar 2010 11:07:07 +0000</pubDate>
		<guid isPermaLink="false">http://fuelyourcoding.com/?p=826#comment-2018</guid>
		<description>[...] Simple Debugging with WordPress &#124; Fuel Your Coding &#8211; Bei Wordpress das Debugging anstellen. [...]</description>
		<content:encoded><![CDATA[<p>[...] Simple Debugging with WordPress | Fuel Your Coding &#8211; Bei Wordpress das Debugging anstellen. [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

