<?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>Debronk</title>
	<atom:link href="http://debronk.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://debronk.net</link>
	<description>Finance &#039;n&#039; IT matters</description>
	<lastBuildDate>Sun, 27 Mar 2011 23:59:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.1</generator>
		<item>
		<title>WordPress query object keys</title>
		<link>http://debronk.net/wpquery-object-keys/119/</link>
		<comments>http://debronk.net/wpquery-object-keys/119/#comments</comments>
		<pubDate>Wed, 22 Dec 2010 14:51:10 +0000</pubDate>
		<dc:creator>Ayo Akinyemi</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://debronk.net/?p=119</guid>
		<description><![CDATA[WP_Query Object ( [query_vars] =&#62; Array ( [showposts] =&#62;  [cat] =&#62;  [meta_key] =&#62;  [error] =&#62; [m] =&#62; 0 [p] =&#62; 0 [post_parent] =&#62; [subpost] =&#62; [subpost_id] =&#62; [attachment] =&#62; [attachment_id] =&#62; 0 [name] =&#62; [static] =&#62; [pagename] =&#62; [page_id] =&#62; 0 [second] =&#62; [minute] =&#62; [hour] =&#62; [day] =&#62; 0 [monthnum] =&#62; 0 [year] =&#62; [...]]]></description>
			<content:encoded><![CDATA[<p>WP_Query Object (     [query_vars] =&gt; Array         (             [showposts] =&gt;              [cat] =&gt;              [meta_key] =&gt;              [error] =&gt;              [m] =&gt; 0             [p] =&gt; 0             [post_parent] =&gt;              [subpost] =&gt;              [subpost_id] =&gt;              [attachment] =&gt;              [attachment_id] =&gt; 0             [name] =&gt;              [static] =&gt;              [pagename] =&gt;              [page_id] =&gt; 0             [second] =&gt;              [minute] =&gt;              [hour] =&gt;              [day] =&gt; 0             [monthnum] =&gt; 0             [year] =&gt; 0             [w] =&gt; 0             [category_name] =&gt;              [tag] =&gt;              [tag_id] =&gt; 0             [author_name] =&gt;              [feed] =&gt;              [tb] =&gt;              [paged] =&gt; 0             [comments_popup] =&gt;              [meta_value] =&gt;              [preview] =&gt;              [s] =&gt;              [sentence] =&gt;              [category__in] =&gt; Array                 (                     [0] =&gt; 3                 )              [category__not_in] =&gt; Array                 (                 )              [category__and] =&gt; Array                 (                 )              [post__in] =&gt; Array                 (                 )              [post__not_in] =&gt; Array                 (                 )              [tag__in] =&gt; Array                 (                 )              [tag__not_in] =&gt; Array                 (                 )              [tag__and] =&gt; Array                 (                 )              [tag_slug__in] =&gt; Array                 (                 )              [tag_slug__and] =&gt; Array                 (                 )              [caller_get_posts] =&gt;              [suppress_filters] =&gt;              [cache_results] =&gt; 1             [update_post_term_cache] =&gt; 1             [update_post_meta_cache] =&gt; 1             [post_type] =&gt;              [posts_per_page] =&gt; 2             [nopaging] =&gt;              [comments_per_page] =&gt; 50             [no_found_rows] =&gt;              [order] =&gt; DESC             [orderby] =&gt; wp_posts.post_date DESC         )      [request] =&gt;  SELECT SQL_CALC_FOUND_ROWS  wp_posts.* FROM  wp_posts  INNER JOIN wp_term_relationships ON (wp_posts.ID =  wp_term_relationships.object_id) INNER JOIN wp_term_taxonomy ON  (wp_term_relationships.term_taxonomy_id =  wp_term_taxonomy.term_taxonomy_id)  JOIN wp_postmeta ON (wp_posts.ID =  wp_postmeta.post_id)  WHERE 1=1  AND wp_term_taxonomy.taxonomy =  &#8216;category&#8217;  AND wp_term_taxonomy.term_id IN (&#8217;3&#8242;)  AND  wp_posts.post_type = &#8216;post&#8217; AND (wp_posts.post_status = &#8216;publish&#8217; OR  wp_posts.post_status = &#8216;private&#8217;)  GROUP BY wp_posts.ID ORDER BY wp_posts.post_date  DESC LIMIT 0, 2     [post_count] =&gt; 0     [current_post] =&gt; -1     [in_the_loop] =&gt;      [post] =&gt;      [comments] =&gt;      [comment_count] =&gt; 0     [current_comment] =&gt; -1     [comment] =&gt;      [found_posts] =&gt; 0     [max_num_pages] =&gt; 0     [max_num_comment_pages] =&gt; 0     [is_single] =&gt;      [is_preview] =&gt;      [is_page] =&gt;      [is_archive] =&gt; 1     [is_date] =&gt;      [is_year] =&gt;      [is_month] =&gt;      [is_day] =&gt;      [is_time] =&gt;      [is_author] =&gt;      [is_category] =&gt; 1     [is_tag] =&gt;      [is_tax] =&gt;      [is_search] =&gt;      [is_feed] =&gt;      [is_comment_feed] =&gt;      [is_trackback] =&gt;      [is_home] =&gt;      [is_404] =&gt;      [is_comments_popup] =&gt;      [is_admin] =&gt;      [is_attachment] =&gt;      [is_singular] =&gt;      [is_robots] =&gt;      [is_posts_page] =&gt;      [is_paged] =&gt;      [query] =&gt; showposts=2&amp;cat=3     [posts] =&gt; Array         (         )  )</p>
]]></content:encoded>
			<wfw:commentRss>http://debronk.net/wpquery-object-keys/119/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Permission denied, cake bake console</title>
		<link>http://debronk.net/permission-denied-cake-bake-console/113/</link>
		<comments>http://debronk.net/permission-denied-cake-bake-console/113/#comments</comments>
		<pubDate>Sat, 06 Nov 2010 20:36:59 +0000</pubDate>
		<dc:creator>Ayo Akinyemi</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[CakePHP]]></category>

		<guid isPermaLink="false">http://debronk.net/?p=113</guid>
		<description><![CDATA[If you are getting a permission denied error while trying to bake, remember to chmod +x on the console file in your cake folder. keep walking&#8230;]]></description>
			<content:encoded><![CDATA[<p>If you are getting a permission denied error while trying to bake, remember to chmod +x on the console file in your cake folder.</p>
<p>keep walking&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://debronk.net/permission-denied-cake-bake-console/113/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Multiple modal box on one page, cakePHP-jQuery</title>
		<link>http://debronk.net/multiple-modal-box-on-one-page-cakephp-jquery/106/</link>
		<comments>http://debronk.net/multiple-modal-box-on-one-page-cakephp-jquery/106/#comments</comments>
		<pubDate>Sat, 06 Nov 2010 20:33:15 +0000</pubDate>
		<dc:creator>Ayo Akinyemi</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[CakePHP]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://debronk.net/?p=106</guid>
		<description><![CDATA[You must have installed jquery, called ajax helper in your controller and also call jquery in your layout Dynamically calling multiple modal box on a single page: In your view page, &#60;?php echo $html-&#62;scriptStart() ?&#62; $(function() { $(&#8216;a#userinfoID&#8217;).click(function() { var uid = $(this).attr(&#8216;userinfo&#8217;); $(&#8216;#userdialog&#8217; + uid).dialog(&#8216;open&#8217;); return false; }); }); &#60;?php echo $html-&#62;scriptEnd() ?&#62; &#60;?php [...]]]></description>
			<content:encoded><![CDATA[<p>You must have installed jquery, called ajax helper in your controller and also call jquery in your layout</p>
<p>Dynamically calling multiple modal box on a single page:</p>
<p>In your view page,<br />
&lt;?php echo $html-&gt;scriptStart() ?&gt;<br />
$(function() {<br />
$(&#8216;a#userinfoID&#8217;).click(function() {<br />
var uid = $(this).attr(&#8216;userinfo&#8217;);</p>
<p>$(&#8216;#userdialog&#8217; + uid).dialog(&#8216;open&#8217;);<br />
return false;<br />
});<br />
});<br />
&lt;?php echo $html-&gt;scriptEnd() ?&gt;</p>
<p>&lt;?php echo $this-&gt;Html-&gt;link(__($user['User']['user_name'], true), array(&#8216;action&#8217; =&gt; &#8216;view&#8217;,     $user['User']['id']), array(&#8216;id&#8217;=&gt;&#8217;userinfoID&#8217;,'userinfo&#8217;=&gt; $user['User']['id'])); ?&gt;</p>
<p>&lt;div id=&#8221;&lt;?php echo $userdialog; ?&gt;&#8221;&gt;<br />
&lt;?php echo $user['User']['id']; ?&gt;<br />
&lt;/div&gt;</p>
<p>I skipped the foreach loop. drop a comment if you have a question.</p>
]]></content:encoded>
			<wfw:commentRss>http://debronk.net/multiple-modal-box-on-one-page-cakephp-jquery/106/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Disabling comments on media page, WordPress</title>
		<link>http://debronk.net/disabling-comments-on-media-page-wordpress/98/</link>
		<comments>http://debronk.net/disabling-comments-on-media-page-wordpress/98/#comments</comments>
		<pubDate>Mon, 13 Sep 2010 14:26:00 +0000</pubDate>
		<dc:creator>Ayo Akinyemi</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://debronk.net/?p=98</guid>
		<description><![CDATA[Comment out the code calling the comments template in your custom theme. For twenty ten theme, line 111 in the attachment.php file comment out]]></description>
			<content:encoded><![CDATA[<p>Comment out the code calling the comments template in your custom theme.</p>
<p>For twenty ten theme,<br />
line 111 in the attachment.php file<br />
comment out <?php //comments_template(); ?></p>
]]></content:encoded>
			<wfw:commentRss>http://debronk.net/disabling-comments-on-media-page-wordpress/98/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>cakePHP &#8216;created&#8217; truncated to the date only</title>
		<link>http://debronk.net/cakephp-created-truncated-to-the-date-only/94/</link>
		<comments>http://debronk.net/cakephp-created-truncated-to-the-date-only/94/#comments</comments>
		<pubDate>Tue, 07 Sep 2010 16:10:20 +0000</pubDate>
		<dc:creator>Ayo Akinyemi</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[CakePHP]]></category>

		<guid isPermaLink="false">http://debronk.net/?p=94</guid>
		<description><![CDATA[$this->yourTableName->find(&#8220;all&#8221;,array(&#8216;conditions&#8217; => array(&#8216;yourTableName.id&#8217; => $this->params['pass'][0], &#8216;DATE(yourTableName.created) &#8216; => date(&#8220;Y-m-d&#8221;,strtotime(&#8220;-0 day&#8221;))))); &#8216;created&#8217; DB column name in cakePHP has a datetime format. the code finds record using the date(&#8220;Y-m-d&#8221;) condition.]]></description>
			<content:encoded><![CDATA[<p>$this->yourTableName->find(&#8220;all&#8221;,array(&#8216;conditions&#8217; => array(&#8216;yourTableName.id&#8217; => $this->params['pass'][0], &#8216;DATE(yourTableName.created) &#8216; =>  date(&#8220;Y-m-d&#8221;,strtotime(&#8220;-0 day&#8221;)))));</p>
<p>&#8216;created&#8217; DB column name in cakePHP has a datetime format. the code finds record using the date(&#8220;Y-m-d&#8221;) condition.</p>
]]></content:encoded>
			<wfw:commentRss>http://debronk.net/cakephp-created-truncated-to-the-date-only/94/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Submit button as image, CakePHP</title>
		<link>http://debronk.net/submit-button-as-image-cakephp/91/</link>
		<comments>http://debronk.net/submit-button-as-image-cakephp/91/#comments</comments>
		<pubDate>Fri, 06 Aug 2010 18:48:48 +0000</pubDate>
		<dc:creator>Ayo Akinyemi</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[CakePHP]]></category>

		<guid isPermaLink="false">http://debronk.net/?p=91</guid>
		<description><![CDATA[echo $form->submit(&#8216;submit&#8217;, array(&#8216;type&#8217; => &#8216;image&#8217;, &#8216;src&#8217; =>$this->webroot . &#8216;img/myimage.jpg&#8217;, &#8216;height&#8217; => &#8217;15&#8242;, &#8216;width&#8217; => &#8217;15&#8242;)); or echo $form->end(&#8216;myimage.jpg&#8217;); &#8211; no option to set the height or width, you&#8217;d have to put in css]]></description>
			<content:encoded><![CDATA[<p>echo $form->submit(&#8216;submit&#8217;, array(&#8216;type&#8217; => &#8216;image&#8217;, &#8216;src&#8217; =>$this->webroot . &#8216;img/myimage.jpg&#8217;, &#8216;height&#8217; => &#8217;15&#8242;, &#8216;width&#8217; => &#8217;15&#8242;)); </p>
<p>or </p>
<p>echo $form->end(&#8216;myimage.jpg&#8217;);  &#8211; no option to set the height or width, you&#8217;d have to put in css </p>
]]></content:encoded>
			<wfw:commentRss>http://debronk.net/submit-button-as-image-cakephp/91/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CakePHP 1.3/PHP 5.3 &#8216;strtotime error&#8217;</title>
		<link>http://debronk.net/cakephp-1-3php-5-3-strtotime-error/82/</link>
		<comments>http://debronk.net/cakephp-1-3php-5-3-strtotime-error/82/#comments</comments>
		<pubDate>Tue, 29 Jun 2010 13:35:11 +0000</pubDate>
		<dc:creator>Ayo Akinyemi</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[CakePHP]]></category>

		<guid isPermaLink="false">http://debronk.net/?p=82</guid>
		<description><![CDATA[Caking and getting a strtotime ? PHP Warning: strtotime(): It is not safe to rely on the system’s timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function&#8230;blah blah blah In the file app/config/core.php, simply uncomment this line: date_default_timezone_set(‘UTC’); Error will disappear.]]></description>
			<content:encoded><![CDATA[<p>Caking and getting a  strtotime ?</p>
<blockquote><p>PHP Warning:  strtotime(): It is not safe to rely on the system’s timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function&#8230;blah blah blah</p></blockquote>
<p>In the file app/config/core.php, simply uncomment this line: date_default_timezone_set(‘UTC’);</p>
<p>Error will disappear.</p>
]]></content:encoded>
			<wfw:commentRss>http://debronk.net/cakephp-1-3php-5-3-strtotime-error/82/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CakePHP 1.3 &#8216;No Such File&#8217; Fix &#8211; Mac User</title>
		<link>http://debronk.net/cakephp-1-3-no-such-file-fix-mac-user/80/</link>
		<comments>http://debronk.net/cakephp-1-3-no-such-file-fix-mac-user/80/#comments</comments>
		<pubDate>Tue, 29 Jun 2010 13:30:45 +0000</pubDate>
		<dc:creator>Ayo Akinyemi</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[CakePHP]]></category>

		<guid isPermaLink="false">http://debronk.net/?p=80</guid>
		<description><![CDATA[Method 1: Create a symbolic link (temporary) ln -s /Applications/MAMP/tmp/mysql/mysql.sock /tmp/mysql.sock This is temporary because the symlink is automatically deleted when MAMP deletes the temporary mysql.sock file. Method 2: Change MAMP’s configuration (permanent) Edit the following configuration files: /Applications/MAMP/bin/startMysql.sh and /Applications/MAMP/bin/stopMysql.sh Replace socket=/Applications/MAMP/tmp/mysql/mysql.sock with socket=/tmp/mysql.sock Important: Now shut your server down and start it back [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p>Method 1: Create a symbolic link (temporary)<br />
ln -s /Applications/MAMP/tmp/mysql/mysql.sock /tmp/mysql.sock</p>
<p>This is temporary because the symlink is automatically deleted when MAMP deletes the temporary mysql.sock file.</p>
<p>Method 2: Change MAMP’s configuration (permanent)<br />
Edit the following configuration files:</p>
<p>/Applications/MAMP/bin/startMysql.sh and<br />
/Applications/MAMP/bin/stopMysql.sh</p>
<p>Replace<br />
socket=/Applications/MAMP/tmp/mysql/mysql.sock<br />
with<br />
socket=/tmp/mysql.sock</p>
<p>Important: Now shut your server down and start it back up for it to read the changes you’ve made to the config files.</p>
<p>By &#8211; <a href="http://marshallthompson.net/uncategorized/mamp-socket-error-no-such-file-fix">Marshall Thompson</a>
</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://debronk.net/cakephp-1-3-no-such-file-fix-mac-user/80/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Comment Rating plugin not working with Thesis 1.7 Theme &#8211; Fix</title>
		<link>http://debronk.net/comment-rating-plugin-not-working-with-thesis-1-7-theme-fix/57/</link>
		<comments>http://debronk.net/comment-rating-plugin-not-working-with-thesis-1-7-theme-fix/57/#comments</comments>
		<pubDate>Tue, 18 May 2010 17:56:23 +0000</pubDate>
		<dc:creator>Ayo Akinyemi</dc:creator>
				<category><![CDATA[Themes]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Plugins]]></category>
		<category><![CDATA[Thesis 1.7]]></category>

		<guid isPermaLink="false">http://debronk.net/?p=57</guid>
		<description><![CDATA[Modify /lib/classes/comments.php Change line 276 : if ($output) echo $output; To: if ($output) echo apply_filters(&#8216;comment_text&#8217;,$output);]]></description>
			<content:encoded><![CDATA[<p>Modify /lib/classes/comments.php</p>
<p>Change line 276 :<br />
if ($output) echo $output;</p>
<p>To:<br />
if ($output) echo apply_filters(&#8216;comment_text&#8217;,$output);</p>
]]></content:encoded>
			<wfw:commentRss>http://debronk.net/comment-rating-plugin-not-working-with-thesis-1-7-theme-fix/57/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Upgrading 1-2-All</title>
		<link>http://debronk.net/upgrading-1-2-all/54/</link>
		<comments>http://debronk.net/upgrading-1-2-all/54/#comments</comments>
		<pubDate>Fri, 07 May 2010 14:17:13 +0000</pubDate>
		<dc:creator>Ayo Akinyemi</dc:creator>
				<category><![CDATA[CRM]]></category>
		<category><![CDATA[12ALL]]></category>

		<guid isPermaLink="false">http://debronk.net/?p=54</guid>
		<description><![CDATA[To update 12all, copy the 12all folder into the root 1. rename /12all/admin/default.authentication_db.inc.php to /12all/admin/authentication_db.inc.php copy this code into the file: < ? PHP define("ACP_AUTHDB_SERVER", "localhost"); define("ACP_AUTHDB_USER", "username"); define("ACP_AUTHDB_PASS", "user_password"); define("ACP_AUTHDB_DB", "databasename"); ?> 2. rename /12all/admin/default. engine.inc.php to /12all/admin/engine.inc.php copy this code into the file: < ? php define('ACP_DB_HOST', 'localhost'); define('ACP_DB_USER', 'username'); define('ACP_DB_PASS', 'user_password'); define('ACP_DB_NAME', [...]]]></description>
			<content:encoded><![CDATA[<p>To update 12all,</p>
<p>copy the 12all folder into the root</p>
<p>1.<br />
 rename /12all/admin/default.authentication_db.inc.php to /12all/admin/authentication_db.inc.php</p>
<p>copy this code into the file:<br />
< ? PHP<br />
define("ACP_AUTHDB_SERVER", "localhost");<br />
define("ACP_AUTHDB_USER", "username");<br />
define("ACP_AUTHDB_PASS", "user_password");<br />
define("ACP_AUTHDB_DB", "databasename");<br />
?></p>
<p>2.<br />
rename /12all/admin/default. engine.inc.php to /12all/admin/engine.inc.php</p>
<p>copy this code into the file:</p>
<p>< ? php<br />
define('ACP_DB_HOST', 'localhost');<br />
define('ACP_DB_USER', 'username');<br />
define('ACP_DB_PASS', 'user_password');<br />
define('ACP_DB_NAME', 'databasename');</p>
<p>$GLOBALS["db_link"] = mysql_connect(ACP_DB_HOST, ACP_DB_USER, ACP_DB_PASS, true);<br />
$db_linkdb = mysql_select_db(ACP_DB_NAME, $GLOBALS["db_link"]);<br />
?></p>
<p>3.<br />
Change the permissions for these folders so that they have full write access (CHMOD 777 on linux)</p>
<p> /12all/cache to 777</p>
<p> /12all/cache/public to 777</p>
<p> /2all/cache/admin </p>
<p>/12all/images </p>
<p> /12all/images/admin </p>
<p>4. run  /12all/admin/updater.php</p>
]]></content:encoded>
			<wfw:commentRss>http://debronk.net/upgrading-1-2-all/54/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

