<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Daily Tech Notes</title>
	
	<link>http://www.dailytechnotes.com</link>
	<description>Get your daily doze of programming, technology, gadgets, software reviews, seo tips and more...</description>
	<pubDate>Tue, 16 Jun 2009 18:34:28 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/DailyTechNotes" type="application/rss+xml" /><feedburner:emailServiceId>DailyTechNotes</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><feedburner:browserFriendly></feedburner:browserFriendly><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item>
		<title>Blank page on admin screen after WordPress upgrade</title>
		<link>http://www.dailytechnotes.com/blank-page-on-admin-screen-after-wordpress-upgrade.html</link>
		<comments>http://www.dailytechnotes.com/blank-page-on-admin-screen-after-wordpress-upgrade.html#comments</comments>
		<pubDate>Tue, 16 Jun 2009 18:34:28 +0000</pubDate>
		<dc:creator>daily</dc:creator>
		
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.dailytechnotes.com/blank-page-on-admin-screen-after-wordpress-upgrade.html</guid>
		<description><![CDATA[If you are using a large number of plugins, it is quite common to get a blank admin screen after a WordPress upgrade. The main reason is that some of the plugins are not compatible with the new WordPress version.
The easiest solution in this case is to rename the &#34;plugins&#34; folder to something else such [...]]]></description>
			<content:encoded><![CDATA[<p>If you are using a large number of plugins, it is quite common to get a blank admin screen after a WordPress upgrade. The main reason is that some of the plugins are not compatible with the new WordPress version.</p>
<p>The easiest solution in this case is to rename the &quot;plugins&quot; folder to something else such as &quot;plugins2&quot; and then create a blank &quot;plugins&quot; folder. After this you should be able to login to the WordPress admin screen. You can then copy one plugin at a time from &quot;plugins2&quot; folder to &quot;plugins&quot; verifying that each of them works with the new version. If not, you can download it directly from either the plugin homepage or from <a href="http://wordpress.org/extend/plugins/">WordPress plugin repository</a>.</p>
<p>Another common reason for blank page after WordPress upgrade is the stale cache files. The earlier solution of renaming plugins should work in this case also. You can also delete all the cached files to see whether that works.</p>
<p>Common reasons for blank page in WordPress admin screens are,</p>
<ol>
<li><strong>Incomplete WordPress upgrade</strong> - In rare cases, the upgrade process may be interrupted and this can cause blank page problem. The solution in this case is to upgrade again. I usually delete everything under wp-admin and wp-include and then re-upload the same folders from the new version. </li>
<li><strong>Extra space at the end of plugin files</strong> - If there are any white spaces after the closing tag of PHP code in a plugin, it can cause &quot;Cannot modify header information - headers already sent by&quot; error. Unfortunately sometimes this may not be displayed on screen and you will see only a blank screen.&#160; You need to be careful with white spaces whenever you edit any PHP file in WordPress. The reason for this problem is that the white space after the code is interpreted as HTML code and would be send to the browser as and when encountered.</li>
<li><strong>Incompatible plugins</strong> - Some of the files you have on your blog may be incompatible with the latest version of WordPress. This could be due to API changes or may be due to low quality plugin code. Either way you need to either upgrade to a new version if there is one or should find an alternative plugin in the WordPress plugin directory.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.dailytechnotes.com/blank-page-on-admin-screen-after-wordpress-upgrade.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>Windows live writer and WordPress 2.6 compatibility issues</title>
		<link>http://www.dailytechnotes.com/windows-live-writer-and-wordpress-26-compatibility-issues.html</link>
		<comments>http://www.dailytechnotes.com/windows-live-writer-and-wordpress-26-compatibility-issues.html#comments</comments>
		<pubDate>Fri, 18 Jul 2008 10:37:52 +0000</pubDate>
		<dc:creator>daily</dc:creator>
		
		<category><![CDATA[Tech Tips]]></category>

		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.dailytechnotes.com/windows-live-writer-and-wordpress-26-compatibility-issues.html</guid>
		<description><![CDATA[If you recently installed WordPress 2.6 and is unable to use Windows Live Writer, don&#8217;t worry. The problem is that that by default WordPress disables xml-rpc and atom api. Windows Live Writer requires xml-rpc to be turned on.
You can turn on XML-RPC using WordPress dashboard from Settings -&#62; Writing -&#62; XML-RPC option. Refer to the [...]]]></description>
			<content:encoded><![CDATA[<p>If you recently installed WordPress 2.6 and is unable to use Windows Live Writer, don&#8217;t worry. The problem is that that by default WordPress disables xml-rpc and atom api. Windows Live Writer requires xml-rpc to be turned on.</p>
<p>You can turn on XML-RPC using WordPress dashboard from Settings -&gt; Writing -&gt; XML-RPC option. Refer to the following screen shot,</p>
<p><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="152" alt="enabling xml-rpc" src="http://www.dailytechnotes.com/wp-content/uploads/2008/07/windowslivewriterwindowslivewriteran6compatibilityissues-d593enabling-xml-rpc-3.jpg" width="598" border="0" /> </p>
<p>If you recently upgraded from 2.5.1, you would be wondering what the fuss is all about! Interestingly the above two options are enabled by default when you upgrade from 2.5.1 to 2.6.</p>
<p>You may be wondering why XML-RPC is disabled by default. XML-RPC is used by a lot of hacking tools built around WordPress trying to exploit security vulnerabilities such as weak passwords. So by disabling XML-RPC, a lot of current hacking attempts can be prevented.</p>
<p>But for external tools such as Windows Live Writer, XML-RPC is a must. So in the end it becomes a trade off between flexibility and security. But as long as you keep your WordPress installation updated and use strong passwords, chances of getting hacked is minimal.</p>
<p>Another interesting thing I noticed while configuring Windows Live Writer for a WordPress 2.6 is that WLW is unable to detect WordPress 2.6 installation and RPC configuration. I had to manually select the WordPress and location of the RPC php file as shown below,</p>
<p><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="404" alt="windows live writer and wordpress 2.6" src="http://www.dailytechnotes.com/wp-content/uploads/2008/07/windowslivewriterwindowslivewriteran6compatibilityissues-d593windows-live-writer-and-wordpress-26-3.jpg" width="464" border="0" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.dailytechnotes.com/windows-live-writer-and-wordpress-26-compatibility-issues.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>Disabling post revisions in WordPress 2.6 without using a plugin</title>
		<link>http://www.dailytechnotes.com/disabling-post-revisions-in-wordpress-26-without-using-a-plugin.html</link>
		<comments>http://www.dailytechnotes.com/disabling-post-revisions-in-wordpress-26-without-using-a-plugin.html#comments</comments>
		<pubDate>Thu, 17 Jul 2008 07:16:28 +0000</pubDate>
		<dc:creator>daily</dc:creator>
		
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.dailytechnotes.com/disabling-post-revisions-in-wordpress-26-without-using-a-plugin.html</guid>
		<description><![CDATA[Starting from WordPress 2.6 (code named&#160; Tyner), a new feature called post revisions is added in WordPress. This is a versioning system for WordPress posts and allows you to revert to an old version of a post if needed. You can also compare between versions to see the difference.
&#160; 
This is a good feature if [...]]]></description>
			<content:encoded><![CDATA[<p>Starting from WordPress 2.6 (code named&#160; Tyner), a new feature called post revisions is added in WordPress. This is a versioning system for WordPress posts and allows you to revert to an old version of a post if needed. You can also compare between versions to see the difference.</p>
<p>&#160;<img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="206" alt="post revisions in wp2.6" src="http://www.dailytechnotes.com/wp-content/uploads/2008/07/windowslivewriterdisablingpostrevisi6withoutusingaplugin-952bpost-revisions-in-wp26-3.jpg" width="513" border="0" /> </p>
<p>This is a good feature if you are using WordPress UI for writing your posts. But if you are using an external tool, you might not need this feature.</p>
<p>One of the problems with post revisions is that if you do a lot of editing, a lot of different versions are generated and are stored in the MySQL db. Over a period of time your database becomes bloated and performance of your blog can get affected. Unfortunately on the WordPress dashboard there is no option to disable post revisions.</p>
<p>So it is no wonder there are couple of plugins being released to add the post revision disabling option. But I am not a fan of plugins because many of the plugins come with security holes and many of them affects performance of the blog. So my mantra is to keep the number of plugins to a bare minimum.</p>
<p>Fortunately there is another way to disable post revisions in WordPress 2.6. You can edit wp-config.php and add the following line it,</p>
<div class="terminal">define(&#8217;WP_POST_REVISIONS&#8217;, false); </div>
<p>This command sets a flag which instructs WordPress to avoid creating versioned copied of a post.&#160; If you replace &#8216;false&#8217; with a number, WordPress will ensure that the number of version generated for a post is limited by that number.</p>
<p>Another feature recently added to WordPress is the auto save feature. This saves your post every 60 seconds automatically when you are using the WordPress editor. If you don&#8217;t want this feature or you want a different interval, you can add the following entry in wp-config.php,</p>
<div class="terminal">define( &#8216;AUTOSAVE_INTERVAL&#8217;, 60 ); </div>
<p>The second parameter indicates the number of seconds after which the post is auto saved. You can set this to a large value to avoid frequent auto saves.</p>
<p><strong>Where does WordPress store post revisions in DB?</strong></p>
<p>You may be wondering where WordPress 2.6 stores post revisions in DB. If you are looking for a new table you are mistaken. All the post revisions are stored in the wp-posts table itself.&#160; For the old revisions the post status is stored as &#8216;inherit&#8217; and post_type as &#8216;revision&#8217;. The post_parent in this case is set as the id of the currently published post.</p>
<p><strong>How do I delete old revisions of WordPress posts from MySQL DB?</strong></p>
<p>You can use the following SQL script to delete all old revisions from MySQL DB. For large WordPress databases, this will improve performance of the blog.</p>
<div class="terminal">delete from wp-posts where post_type=&#8217;revision&#8217;; </div>
]]></content:encoded>
			<wfw:commentRss>http://www.dailytechnotes.com/disabling-post-revisions-in-wordpress-26-without-using-a-plugin.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>WordPress 2.5 upgrade issues with Windows live writer?</title>
		<link>http://www.dailytechnotes.com/wordpress-25-upgrade-issues-with-windows-live-writer.html</link>
		<comments>http://www.dailytechnotes.com/wordpress-25-upgrade-issues-with-windows-live-writer.html#comments</comments>
		<pubDate>Tue, 22 Apr 2008 08:15:10 +0000</pubDate>
		<dc:creator>daily</dc:creator>
		
		<category><![CDATA[Security]]></category>

		<category><![CDATA[Tech Tips]]></category>

		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.dailytechnotes.com/wordpress-25-upgrade-issues-with-windows-live-writer.html</guid>
		<description><![CDATA[Normally I wait for sometime before upgrading WordPress installations. But this time I jumped to WordPress 2.5 when I came across serious security issues in 2.2.x series. Some of my blogs which ran under 2.2.x versions were badly hacked and I had to spend a lot of time recovering them! The hacker modified most of [...]]]></description>
			<content:encoded><![CDATA[<p>Normally I wait for sometime before upgrading WordPress installations. But this time I jumped to WordPress 2.5 when <a href="http://www.arachna.com/roller/page/spidaman/20080409#wordpress_pandemic_chronicles_2008_04">I came across serious security issues in 2.2.x series</a>. Some of my blogs which ran under 2.2.x versions were badly hacked and I had to spend a lot of time recovering them! The hacker modified most of my posts and cleverly inserted hidden links. Also he installed a backdoor php file in the current template folder! This ensured that even after upgrade he can control my WordPress blog.</p>
<p>I detected the problem only when I realized that my blog is no longer in the Google search index!</p>
<p>The WordPress hacking became so widespread that Technorati has special process <a href="http://technorati.com/weblog/2008/04/424.html">in place to quarantine infected/hacked WordPress blogs</a>! There <a href="http://www.securityfocus.com/bid/28703/info">are reports of WordPress 2.5 vulnerability</a>, but it is better to upgrade to 2.5 than stick with 2.3.3. The important thing is to upgrade as soon as a release is out rather than cling to a version for which hacking scripts may be sold in warez forums! So I am keeping my thumb on the WordPress upgrade button waiting for 2.5.1  <img src='http://www.dailytechnotes.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>After the upgrade I came across an interesting  issue when I tried to post through Windows Live Writer. It responded with an error message - <em>Invalid response document returned from XmlRpc server</em>. I initially thought that it is a bug with Windows Live writer and compatibility issue with WordPress 2.5. Then I tried posting the same from the WordPress admin. When I tried to upload an image I got the following error,</p>
<blockquote><p>- Fatal error: Call to undefined function wp_constrain_dimensions.</p></blockquote>
<p>Then I realized there is some problem with the WordPress 2.5 upgrade. Here is how I resolved the problem. First I deleted all the php files in the WordPress root folder (except wp-config.php) and then deleted wp-admin and wp-includes folder. After ensuring that all old files are deleted, I uploaded WordPress 2.5 files again. That resolved the issue with Windows Live Writer!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dailytechnotes.com/wordpress-25-upgrade-issues-with-windows-live-writer.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>Intel announces 50% cut in quad core processors!</title>
		<link>http://www.dailytechnotes.com/intel-announces-50-cut-in-quad-core-processors.html</link>
		<comments>http://www.dailytechnotes.com/intel-announces-50-cut-in-quad-core-processors.html#comments</comments>
		<pubDate>Tue, 22 Apr 2008 07:24:54 +0000</pubDate>
		<dc:creator>daily</dc:creator>
		
		<category><![CDATA[Tech News]]></category>

		<category><![CDATA[Intel]]></category>

		<guid isPermaLink="false">http://www.dailytechnotes.com/intel-announces-50-cut-in-quad-core-processors.html</guid>
		<description><![CDATA[ In a move that could potentially push AMD out of business(!), Intel has announced drastic price cut in its quad core range of processors. The popular Q6700 series process will now cost $266 down from $530. Price cuts are also offered on other processors, but is not drastic as Q6700 range.
This surprise move by [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.dailytechnotes.com/wp-content/uploads/2008/04/core-quad9.gif"><img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="77" alt="core quad" src="http://www.dailytechnotes.com/wp-content/uploads/2008/04/core-quad-thumb.gif" width="62" align="right" border="0" /></a> In a move that could potentially push AMD out of business(!), Intel has announced drastic price cut in its quad core range of processors. The popular Q6700 series process will now cost $266 down from $530. Price cuts are also offered on other processors, but is not drastic as Q6700 range.</p>
<p>This surprise move by Intel is going to immediately push quad core adoption. Intel&#8217;s manufacturing process costs are cheaper than AMD and hence AMD might find it difficult to compete in this area. Also <a href="http://www.amd.com/us-en/Corporate/VirtualPressRoom/0,,51_104_543~125171,00.html">AMD posted a net loss of $358 million for Q1 2008</a>. So this Intel move could be a &quot;terminator&quot; move for AMD! Who knows, Intel might have plans to acquire AMD <img src='http://www.dailytechnotes.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Multi core processor power is yet to be completely utilized. We might see a sudden influx of game engines which makes use of multi core architecture.</p>
<p>Here is a summary of the Quad core price cut,</p>
<p><img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="117" alt="intel price cut" src="http://www.dailytechnotes.com/wp-content/uploads/2008/04/intel-price-cut.jpg" width="603" border="0" /> </p>
<p>The complete list of <a href="http://media.corporate-ir.net/media_files/irol/10/101302/April_20_08_pricelist.pdf">Intel price cut is available here (PDF).</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.dailytechnotes.com/intel-announces-50-cut-in-quad-core-processors.html/feed</wfw:commentRss>
		</item>
	</channel>
</rss><!-- Dynamic Page Served (once) in 0.227 seconds -->
