<?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>Turnip of Power&#187; Wordpress</title>
	<atom:link href="http://turnipofpower.com/category/blogging/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://turnipofpower.com</link>
	<description>Gardening Adventures</description>
	<lastBuildDate>Mon, 16 Jan 2012 03:23:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>WordPress 2.8 Visual Editor Fix</title>
		<link>http://turnipofpower.com/wordpress-2-8-visual-editor-fix/</link>
		<comments>http://turnipofpower.com/wordpress-2-8-visual-editor-fix/#comments</comments>
		<pubDate>Tue, 16 Jun 2009 18:01:28 +0000</pubDate>
		<dc:creator>Turnip</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[mce]]></category>
		<category><![CDATA[tiny]]></category>
		<category><![CDATA[visual]]></category>

		<guid isPermaLink="false">http://turnipofpower.com/?p=1090</guid>
		<description><![CDATA[Seems like many users of WordPress received a nasty surprise when upgrading from an older version to 2.8.  While looking for answers I found plenty of bad advice.  Even more annoying are the WordPress mods rushing to close discussion on threads working to discover a solution.  Luckily, I found a fix through trial and error.  As [...]]]></description>
			<content:encoded><![CDATA[<p>Seems like many users of WordPress received a nasty surprise when upgrading from an older version to 2.8.  While looking for answers I found plenty of bad advice.  Even more annoying are the WordPress mods rushing to close discussion on threads working to discover a solution.  Luckily, I found a fix through trial and error.  As for the cause, the only blog of mine with this error used an auto-update plugin instead of the new built in WordPress auto update function.  It installed WordPress without installing all the required files.</p>
<p><strong>You may experience the following symptoms:</strong></p>
<ul>
<li>The buttons on the visual editor are missing.</li>
<li>The font may be white on white.</li>
<li>The image flash uploader button may not appear properly.</li>
</ul>
<p><strong>The solution:</strong></p>
<p><strong>1. wp-includes/js/tinymce/  should contain the following files:</strong></p>
<li>blank.htm</li>
<li>langs/</li>
<li>license.txt</li>
<li>plugins/</li>
<li>themes/</li>
<li>tiny_mce.js</li>
<li>tiny_mce_config.php</li>
<li>tiny_mce_ext.js</li>
<li>tiny_mce_popup.js</li>
<li>utils/</li>
<li>wordpress.css</li>
<li>wp-mce-help.php</li>
<li>wp-tinymce.js</li>
<li>wp-tinymce.js.gz</li>
<li>wp-tinymce.php</li>
<p><strong>2. </strong>I&#8217;ve zipped my entire tinymce directory for you.  <a href="http://turnipofpower.com/downloads/tinymce.zip"><strong>tinymce-zip</strong></a>  Simply unzip to your wp-includes directory.  Refresh the page by pressing the <strong>F5</strong> key and try editing a post.  You should now see all your buttons again.</p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/intent/tweet?text=WordPress+2.8+Visual+Editor+Fix+http%3A%2F%2Fturnipofpower.com%2F%3Fp%3D1090" title="Post to Twitter (http://turnipofpower.com/?p=1090)"><img class="nothumb" src="http://turnipofpower.com/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter-micro3.png" alt="Post to Twitter" /></a> <a class="tt" href="http://plurk.com/?status=WordPress+2.8+Visual+Editor+Fix+http%3A%2F%2Fturnipofpower.com%2F%3Fp%3D1090" title="Post to Plurk"><img class="nothumb" src="http://turnipofpower.com/wp-content/plugins/tweet-this/icons/en/plurk/tt-plurk.png" alt="Post to Plurk" /></a> <a class="tt" href="http://plurk.com/?status=WordPress+2.8+Visual+Editor+Fix+http%3A%2F%2Fturnipofpower.com%2F%3Fp%3D1090" title="Post to Plurk">Plurk This Post</a> <a class="tt" href="http://buzz.yahoo.com/buzz?targetUrl=http://turnipofpower.com/wordpress-2-8-visual-editor-fix/&amp;headline=WordPress+2.8+Visual+Editor+Fix" title="Post to Yahoo Buzz"><img class="nothumb" src="http://turnipofpower.com/wp-content/plugins/tweet-this/icons/en/buzz/tt-buzz.png" alt="Post to Yahoo Buzz" /></a> <a class="tt" href="http://buzz.yahoo.com/buzz?targetUrl=http://turnipofpower.com/wordpress-2-8-visual-editor-fix/&amp;headline=WordPress+2.8+Visual+Editor+Fix" title="Post to Yahoo Buzz">Buzz This Post</a> <a class="tt" href="http://delicious.com/post?url=http://turnipofpower.com/wordpress-2-8-visual-editor-fix/&amp;title=WordPress+2.8+Visual+Editor+Fix" title="Post to Delicious"><img class="nothumb" src="http://turnipofpower.com/wp-content/plugins/tweet-this/icons/en/delicious/tt-delicious.png" alt="Post to Delicious" /></a> <a class="tt" href="http://delicious.com/post?url=http://turnipofpower.com/wordpress-2-8-visual-editor-fix/&amp;title=WordPress+2.8+Visual+Editor+Fix" title="Post to Delicious">Delicious</a> <a class="tt" href="http://digg.com/submit?url=http://turnipofpower.com/wordpress-2-8-visual-editor-fix/&amp;title=WordPress+2.8+Visual+Editor+Fix" title="Post to Digg"><img class="nothumb" src="http://turnipofpower.com/wp-content/plugins/tweet-this/icons/en/digg/tt-digg.png" alt="Post to Digg" /></a> <a class="tt" href="http://digg.com/submit?url=http://turnipofpower.com/wordpress-2-8-visual-editor-fix/&amp;title=WordPress+2.8+Visual+Editor+Fix" title="Post to Digg">Digg This Post</a> <a class="tt" href="http://ping.fm/ref/?method=microblog&amp;title=WordPress+2.8+Visual+Editor+Fix&amp;link=http://turnipofpower.com/wordpress-2-8-visual-editor-fix/" title="Post to Ping.fm"><img class="nothumb" src="http://turnipofpower.com/wp-content/plugins/tweet-this/icons/en/ping/tt-ping.png" alt="Post to Ping.fm" /></a> <a class="tt" href="http://ping.fm/ref/?method=microblog&amp;title=WordPress+2.8+Visual+Editor+Fix&amp;link=http://turnipofpower.com/wordpress-2-8-visual-editor-fix/" title="Post to Ping.fm">Ping This Post</a> <a class="tt" href="http://reddit.com/submit?url=http://turnipofpower.com/wordpress-2-8-visual-editor-fix/&amp;title=WordPress+2.8+Visual+Editor+Fix" title="Post to Reddit"><img class="nothumb" src="http://turnipofpower.com/wp-content/plugins/tweet-this/icons/en/reddit/tt-reddit.png" alt="Post to Reddit" /></a> <a class="tt" href="http://reddit.com/submit?url=http://turnipofpower.com/wordpress-2-8-visual-editor-fix/&amp;title=WordPress+2.8+Visual+Editor+Fix" title="Post to Reddit">Reddit This Post</a> <a class="tt" href="http://stumbleupon.com/submit?url=http://turnipofpower.com/wordpress-2-8-visual-editor-fix/&amp;title=WordPress+2.8+Visual+Editor+Fix" title="Post to StumbleUpon"><img class="nothumb" src="http://turnipofpower.com/wp-content/plugins/tweet-this/icons/en/su/tt-su.png" alt="Post to StumbleUpon" /></a> <a class="tt" href="http://stumbleupon.com/submit?url=http://turnipofpower.com/wordpress-2-8-visual-editor-fix/&amp;title=WordPress+2.8+Visual+Editor+Fix" title="Post to StumbleUpon">Stumble This Post</a></p></div>]]></content:encoded>
			<wfw:commentRss>http://turnipofpower.com/wordpress-2-8-visual-editor-fix/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Adding Sidebar Images In WordPress</title>
		<link>http://turnipofpower.com/adding-sidebar-images-in-wordpress/</link>
		<comments>http://turnipofpower.com/adding-sidebar-images-in-wordpress/#comments</comments>
		<pubDate>Wed, 11 Mar 2009 08:02:25 +0000</pubDate>
		<dc:creator>Turnip</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[images]]></category>
		<category><![CDATA[sidebar]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[Worpress]]></category>

		<guid isPermaLink="false">http://turnipofpower.com/?p=1042</guid>
		<description><![CDATA[This tutorial is for those WordPress users who would like to add a simple image to their sidebar.   Sure, you could just add a text box widget and type in the HTML, but let me show you how I do it.  For this example I will use a 250&#215;250 graphic advertising my CMF Ads March [...]]]></description>
			<content:encoded><![CDATA[<p>This tutorial is for those WordPress users who would like to add a simple image to their sidebar.   Sure, you could just add a text box widget and type in the HTML, but let me show you how I do it.  For this example I will use a 250&#215;250 graphic advertising my <a href="http://turnipofpower.com/cmf-ads-ncaa-march-madness-basketball-bracket-challenge/">CMF Ads March Madness contest</a>.</p>
<p>The first trick is to install the <a href="http://www.daikos.net/widgets/daikos-text-widget/">Daiko&#8217;s Text Widget Plugin</a>.  You could use the regular text widget, but Daiko&#8217;s is so much better for 3 reasons. </p>
<ul>
<li>It allows you to execute PHP code in the widget. </li>
<li>You can choose which pages to show the widget on.</li>
<li>Most importantly, it remembers the content of the text box when you remove it from your sidebar.  With the normal text widget, I have to retype the code if I want to move the widget from the right sidebar to the left sidebar.</li>
</ul>
<p>1. Now for a shortcut.  Click &#8220;add new post&#8221; in your WordPress admin screen.  We will use the WYSIWYG editor to quickly upload our graphic and write the code for us. </p>
<p>2. Click the upload image button as shown below and select the picture you wish to upload.  WordPress will then say &#8220;Crunching&#8221;.  Then click &#8220;save all changes&#8221;.  You will see your image listed.</p>
<p style="text-align: center;"><a href="http://turnipofpower.com/wp-content/uploads/2009/03/insert1.png"><img style="border: black 1px solid;" title="insert1" src="http://turnipofpower.com/wp-content/uploads/2009/03/insert1.png" alt="insert1" width="418" height="138" /></a></p>
<p>3. For SEO purposes, be sure to fill out the title and description areas in the next screen.  Click &#8220;Insert into Post&#8221; when you are finished adding your description.</p>
<p style="text-align: center;"><a href="http://turnipofpower.com/wp-content/uploads/2009/03/insert2.png"><img style="border: black 1px solid;" title="insert2" src="http://turnipofpower.com/wp-content/uploads/2009/03/insert2.png" alt="insert2" width="468" height="509" /></a></p>
<p>4.  I would like to link my image to a URL.  First click on the image to select it, then click on the Chain icon.  Enter your link URL</p>
<p style="text-align: center;"><a href="http://turnipofpower.com/wp-content/uploads/2009/03/insert3.png"><img style="border: black 1px solid;" title="insert3" src="http://turnipofpower.com/wp-content/uploads/2009/03/insert3.png" alt="insert3" width="429" height="403" /></a></p>
<p>5. Now click the HTML tab and then select and copy all the html code there.</p>
<p>6. Click &#8220;widgets&#8221; in the admin side panel.  Add a Daiko&#8217;s text box to your sidebar and let it stay as the bottom widget.  Click &#8220;edit&#8221; and paste your copied HTML code into the box.  Click &#8220;Done&#8221; and then &#8220;Save Changes&#8221;.   Now you can move your widget up the page by drag and drop.  Click &#8220;Save Changes&#8221; again.</p>
<p style="text-align: center;"><a href="http://turnipofpower.com/wp-content/uploads/2009/03/insert4.png"><img style="border: black 1px solid;" title="insert4" src="http://turnipofpower.com/wp-content/uploads/2009/03/insert4.png" alt="insert4" width="468" height="398" /></a></p>
<p>7. Delete the draft from your list of posts if WordPress autosaved it.  You should now see your image sitting nicely in your sidebar.</p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/intent/tweet?text=Adding+Sidebar+Images+In+WordPress+http%3A%2F%2Fturnipofpower.com%2F%3Fp%3D1042" title="Post to Twitter (http://turnipofpower.com/?p=1042)"><img class="nothumb" src="http://turnipofpower.com/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter-micro3.png" alt="Post to Twitter" /></a> <a class="tt" href="http://plurk.com/?status=Adding+Sidebar+Images+In+WordPress+http%3A%2F%2Fturnipofpower.com%2F%3Fp%3D1042" title="Post to Plurk"><img class="nothumb" src="http://turnipofpower.com/wp-content/plugins/tweet-this/icons/en/plurk/tt-plurk.png" alt="Post to Plurk" /></a> <a class="tt" href="http://plurk.com/?status=Adding+Sidebar+Images+In+WordPress+http%3A%2F%2Fturnipofpower.com%2F%3Fp%3D1042" title="Post to Plurk">Plurk This Post</a> <a class="tt" href="http://buzz.yahoo.com/buzz?targetUrl=http://turnipofpower.com/adding-sidebar-images-in-wordpress/&amp;headline=Adding+Sidebar+Images+In+WordPress" title="Post to Yahoo Buzz"><img class="nothumb" src="http://turnipofpower.com/wp-content/plugins/tweet-this/icons/en/buzz/tt-buzz.png" alt="Post to Yahoo Buzz" /></a> <a class="tt" href="http://buzz.yahoo.com/buzz?targetUrl=http://turnipofpower.com/adding-sidebar-images-in-wordpress/&amp;headline=Adding+Sidebar+Images+In+WordPress" title="Post to Yahoo Buzz">Buzz This Post</a> <a class="tt" href="http://delicious.com/post?url=http://turnipofpower.com/adding-sidebar-images-in-wordpress/&amp;title=Adding+Sidebar+Images+In+WordPress" title="Post to Delicious"><img class="nothumb" src="http://turnipofpower.com/wp-content/plugins/tweet-this/icons/en/delicious/tt-delicious.png" alt="Post to Delicious" /></a> <a class="tt" href="http://delicious.com/post?url=http://turnipofpower.com/adding-sidebar-images-in-wordpress/&amp;title=Adding+Sidebar+Images+In+WordPress" title="Post to Delicious">Delicious</a> <a class="tt" href="http://digg.com/submit?url=http://turnipofpower.com/adding-sidebar-images-in-wordpress/&amp;title=Adding+Sidebar+Images+In+WordPress" title="Post to Digg"><img class="nothumb" src="http://turnipofpower.com/wp-content/plugins/tweet-this/icons/en/digg/tt-digg.png" alt="Post to Digg" /></a> <a class="tt" href="http://digg.com/submit?url=http://turnipofpower.com/adding-sidebar-images-in-wordpress/&amp;title=Adding+Sidebar+Images+In+WordPress" title="Post to Digg">Digg This Post</a> <a class="tt" href="http://ping.fm/ref/?method=microblog&amp;title=Adding+Sidebar+Images+In+WordPress&amp;link=http://turnipofpower.com/adding-sidebar-images-in-wordpress/" title="Post to Ping.fm"><img class="nothumb" src="http://turnipofpower.com/wp-content/plugins/tweet-this/icons/en/ping/tt-ping.png" alt="Post to Ping.fm" /></a> <a class="tt" href="http://ping.fm/ref/?method=microblog&amp;title=Adding+Sidebar+Images+In+WordPress&amp;link=http://turnipofpower.com/adding-sidebar-images-in-wordpress/" title="Post to Ping.fm">Ping This Post</a> <a class="tt" href="http://reddit.com/submit?url=http://turnipofpower.com/adding-sidebar-images-in-wordpress/&amp;title=Adding+Sidebar+Images+In+WordPress" title="Post to Reddit"><img class="nothumb" src="http://turnipofpower.com/wp-content/plugins/tweet-this/icons/en/reddit/tt-reddit.png" alt="Post to Reddit" /></a> <a class="tt" href="http://reddit.com/submit?url=http://turnipofpower.com/adding-sidebar-images-in-wordpress/&amp;title=Adding+Sidebar+Images+In+WordPress" title="Post to Reddit">Reddit This Post</a> <a class="tt" href="http://stumbleupon.com/submit?url=http://turnipofpower.com/adding-sidebar-images-in-wordpress/&amp;title=Adding+Sidebar+Images+In+WordPress" title="Post to StumbleUpon"><img class="nothumb" src="http://turnipofpower.com/wp-content/plugins/tweet-this/icons/en/su/tt-su.png" alt="Post to StumbleUpon" /></a> <a class="tt" href="http://stumbleupon.com/submit?url=http://turnipofpower.com/adding-sidebar-images-in-wordpress/&amp;title=Adding+Sidebar+Images+In+WordPress" title="Post to StumbleUpon">Stumble This Post</a></p></div>]]></content:encoded>
			<wfw:commentRss>http://turnipofpower.com/adding-sidebar-images-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>WordPress Blog Loading Slowly?</title>
		<link>http://turnipofpower.com/wordpress-blog-loading-slowly/</link>
		<comments>http://turnipofpower.com/wordpress-blog-loading-slowly/#comments</comments>
		<pubDate>Mon, 02 Feb 2009 09:33:46 +0000</pubDate>
		<dc:creator>Turnip</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[load]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[slow]]></category>
		<category><![CDATA[speed]]></category>

		<guid isPermaLink="false">http://turnipofpower.com/?p=1011</guid>
		<description><![CDATA[Even experienced WordPress users may suddenly notice their blogs loading slowly.  Despite properly installing WP-Supercache, something just isn&#8217;t right.  In the case of turnipofpower.com it turned out to be too many objects.  Yep, my blog was bloated!  Just check out the before image below as measured by Pingdom Tools.  9.4 second loading time, 54 total objects, [...]]]></description>
			<content:encoded><![CDATA[<p>Even experienced WordPress users may suddenly notice their blogs loading slowly.  Despite properly installing <a href="http://ocaoimh.ie/wp-super-cache/">WP-Supercache</a>, something just isn&#8217;t right.  In the case of turnipofpower.com it turned out to be too many objects.  <strong>Yep, my blog was bloated!</strong>  Just check out the before image below as measured by <a href="http://tools.pingdom.com/">Pingdom Tools</a>.  9.4 second loading time, 54 total objects, 3 CSS files, and 38 images.  Now compare it to the after image.  3.6 second load time, 28 total objects, 1 CSS file, and 18 images.  Great, but the real secret is that visually my blog didn&#8217;t change at all.  Read on to see how I did it.</p>
<p><img style="border: black 1px solid;" title="bloat!" src="http://turnipofpower.com/wp-content/uploads/2009/02/bloat.png" alt="bloat!" width="468" height="375" /></p>
<p>1. Run the speed test at Pingdom Tools to get a reference point on what objects are loading.  Sometimes looking at the source code you miss the big picture.  Luckily, Pingdom Tools saves your tests, so you can always go back and compare your results.</p>
<p>2. Remove any plugins that load a lot of garbage but are rarely used.  In my case the culprit was cformsII.  Nobody ever had used the form, but every visitor had to load the CSS for it.   Plugins take a toll on your blog.  Check your load times before and after installing each one.</p>
<p>3.  Count the total number of CSS files loading.  It should be 1.  Each additional call to your server will add time to your page load, even if it&#8217;s only a 1k file. Let&#8217;s look at how I combined my CSS files into one.  First I physically copied and pasted all the CSS code from the plugins into the theme&#8217;s style.css file and saved it.  Next I prevented the CSS from loading in the blog header by using the following trick.  Add a snippet of code to your theme&#8217;s functions.php file to remove the function call for each CSS file you want to remove. Shown below is the code to remove the CSS for my page navigation plugin.  You may have to use the plugin editor to find the name of the function being loaded.<br />
<code><br />
&lt;?php remove_action('wp_head', 'pagenavi_css'); ?&gt;<br />
</code><br />
4. Next up was lowering the number of images called.  Even tiny images can stall the loading of your blog.  I went from 38 images to 18 images by creating image maps.  An image map works by loading one large image and then dividing it up into smaller areas.  This is perfect for rows of icons found in navigation headers or social icons under a post.  Below you can view the code I used for the social widgets in the left sidebar.  8 images 2k in size each were replaced by a single image only 5k in size.<br />
<code><br />
&lt;img src="http://turnipofpower.com/images/social.png" alt="social<br />
links" width="250" height="170"<br />
border="0" usemap="#Social2" /&gt;&lt;map<br />
name="Social2" id="Social2"&gt;&lt;area shape="rect"<br />
coords="0,0,127,45" href="http://feeds2.feedburner.com/TurnipOfPower" target="_blank"<br />
alt="RSS" rel="nofollow" /&gt;&lt;area<br />
shape="rect" coords="0,46,127,85" href="http://technorati.com/faves?sub=addfavbtn&amp;amp;add=http://turnipofpower.com"<br />
alt="Technorati" rel="nofollow" /&gt;&lt;area<br />
shape="rect" coords="128,46,250,85" href="http://apps.new.facebook.com/blognetworks/blogpage.php?blogid=38833"<br />
alt="Facebook" rel="nofollow" /&gt;&lt;area<br />
shape="rect" coords="128,0,250,45" href="http://kimchiman.stumbleupon.com/"<br />
alt="Stumble" rel="nofollow" /&gt;&lt;area<br />
shape="rect" coords="0,87,127,128" href="http://friendfeed.com/turnipofpower"<br />
alt="friendfeed" rel="nofollow" /&gt;&lt;area<br />
shape="rect" coords="0,129,127,170" href="http://www.cmfads.com/cp/site-view.php?id=2"<br />
alt="CMF Ads" rel="nofollow"<br />
/&gt;&lt;area shape="rect" coords="128,87,250,128"<br />
href="http://twitter.com/TurnipofPower" alt="twitter" rel="nofollow"<br />
/&gt;&lt;area shape="rect" coords="128,129,250,170"<br />
href="http://www.blogcatalog.com/blogs/turnipofpowercom.html" alt="blog catalog"<br />
rel="nofollow" /&gt;&lt;/map&gt;<br />
</code></p>
<p>One downside of using this trick in the WordPress loop is that my code no longer validates because &#8220;An &#8220;id&#8221; is a unique identifier. Each time this attribute is used in a document it must have a different value. &#8220;   Oh well, you win some and you lose some.  Having valid html code is nice, having a site that loads quickly is nicer.</p>
<p>To create the image maps I used Adobe Dreamweaver to make things easier.  The code above is for example purposes only and not meant to be a tutorial on the process.  The idea is that by combining images located near each other into one larger image, you reduce the calls to your server.  Just Google &#8220;image map editor&#8221; to find a number of free tools online. </p>
<p>5. The final technique used was to compress my CSS file.  Google &#8220;compress css online&#8221; and you will find many free utilities.  I backed up my old CSS file just in case, then pasted in the compressed code, saving an additional 2k in space. </p>
<p><strong>Anyone have additional tips to speed up page load times?</strong></p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/intent/tweet?text=WordPress+Blog+Loading+Slowly%3F+http%3A%2F%2Fturnipofpower.com%2F%3Fp%3D1011" title="Post to Twitter (http://turnipofpower.com/?p=1011)"><img class="nothumb" src="http://turnipofpower.com/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter-micro3.png" alt="Post to Twitter" /></a> <a class="tt" href="http://plurk.com/?status=WordPress+Blog+Loading+Slowly%3F+http%3A%2F%2Fturnipofpower.com%2F%3Fp%3D1011" title="Post to Plurk"><img class="nothumb" src="http://turnipofpower.com/wp-content/plugins/tweet-this/icons/en/plurk/tt-plurk.png" alt="Post to Plurk" /></a> <a class="tt" href="http://plurk.com/?status=WordPress+Blog+Loading+Slowly%3F+http%3A%2F%2Fturnipofpower.com%2F%3Fp%3D1011" title="Post to Plurk">Plurk This Post</a> <a class="tt" href="http://buzz.yahoo.com/buzz?targetUrl=http://turnipofpower.com/wordpress-blog-loading-slowly/&amp;headline=WordPress+Blog+Loading+Slowly%3F" title="Post to Yahoo Buzz"><img class="nothumb" src="http://turnipofpower.com/wp-content/plugins/tweet-this/icons/en/buzz/tt-buzz.png" alt="Post to Yahoo Buzz" /></a> <a class="tt" href="http://buzz.yahoo.com/buzz?targetUrl=http://turnipofpower.com/wordpress-blog-loading-slowly/&amp;headline=WordPress+Blog+Loading+Slowly%3F" title="Post to Yahoo Buzz">Buzz This Post</a> <a class="tt" href="http://delicious.com/post?url=http://turnipofpower.com/wordpress-blog-loading-slowly/&amp;title=WordPress+Blog+Loading+Slowly%3F" title="Post to Delicious"><img class="nothumb" src="http://turnipofpower.com/wp-content/plugins/tweet-this/icons/en/delicious/tt-delicious.png" alt="Post to Delicious" /></a> <a class="tt" href="http://delicious.com/post?url=http://turnipofpower.com/wordpress-blog-loading-slowly/&amp;title=WordPress+Blog+Loading+Slowly%3F" title="Post to Delicious">Delicious</a> <a class="tt" href="http://digg.com/submit?url=http://turnipofpower.com/wordpress-blog-loading-slowly/&amp;title=WordPress+Blog+Loading+Slowly%3F" title="Post to Digg"><img class="nothumb" src="http://turnipofpower.com/wp-content/plugins/tweet-this/icons/en/digg/tt-digg.png" alt="Post to Digg" /></a> <a class="tt" href="http://digg.com/submit?url=http://turnipofpower.com/wordpress-blog-loading-slowly/&amp;title=WordPress+Blog+Loading+Slowly%3F" title="Post to Digg">Digg This Post</a> <a class="tt" href="http://ping.fm/ref/?method=microblog&amp;title=WordPress+Blog+Loading+Slowly%3F&amp;link=http://turnipofpower.com/wordpress-blog-loading-slowly/" title="Post to Ping.fm"><img class="nothumb" src="http://turnipofpower.com/wp-content/plugins/tweet-this/icons/en/ping/tt-ping.png" alt="Post to Ping.fm" /></a> <a class="tt" href="http://ping.fm/ref/?method=microblog&amp;title=WordPress+Blog+Loading+Slowly%3F&amp;link=http://turnipofpower.com/wordpress-blog-loading-slowly/" title="Post to Ping.fm">Ping This Post</a> <a class="tt" href="http://reddit.com/submit?url=http://turnipofpower.com/wordpress-blog-loading-slowly/&amp;title=WordPress+Blog+Loading+Slowly%3F" title="Post to Reddit"><img class="nothumb" src="http://turnipofpower.com/wp-content/plugins/tweet-this/icons/en/reddit/tt-reddit.png" alt="Post to Reddit" /></a> <a class="tt" href="http://reddit.com/submit?url=http://turnipofpower.com/wordpress-blog-loading-slowly/&amp;title=WordPress+Blog+Loading+Slowly%3F" title="Post to Reddit">Reddit This Post</a> <a class="tt" href="http://stumbleupon.com/submit?url=http://turnipofpower.com/wordpress-blog-loading-slowly/&amp;title=WordPress+Blog+Loading+Slowly%3F" title="Post to StumbleUpon"><img class="nothumb" src="http://turnipofpower.com/wp-content/plugins/tweet-this/icons/en/su/tt-su.png" alt="Post to StumbleUpon" /></a> <a class="tt" href="http://stumbleupon.com/submit?url=http://turnipofpower.com/wordpress-blog-loading-slowly/&amp;title=WordPress+Blog+Loading+Slowly%3F" title="Post to StumbleUpon">Stumble This Post</a></p></div>]]></content:encoded>
			<wfw:commentRss>http://turnipofpower.com/wordpress-blog-loading-slowly/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>WordPress 2.7 Plugin Installer Horror Story</title>
		<link>http://turnipofpower.com/wordpress-27-plugin-installer-horror-story/</link>
		<comments>http://turnipofpower.com/wordpress-27-plugin-installer-horror-story/#comments</comments>
		<pubDate>Mon, 19 Jan 2009 20:15:51 +0000</pubDate>
		<dc:creator>Turnip</dc:creator>
				<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://turnipofpower.com/?p=1001</guid>
		<description><![CDATA[I once laughed when a friend used WordPress 2.7&#8242;s auto plugin installer and temporarily hosed his blog.  He had uploaded a zipped file that wasn&#8217;t a plugin at all.  All he had to do was remember his shared hosting login and delete the plugin from the directory.  But it made for some comical  &#8220;OMG, what [...]]]></description>
			<content:encoded><![CDATA[<p>I once laughed when a friend used WordPress 2.7&#8242;s auto plugin installer and temporarily hosed his blog.  He had uploaded a zipped file that wasn&#8217;t a plugin at all.  All he had to do was remember his shared hosting login and delete the plugin from the directory.  But it made for some comical  &#8220;OMG, what did I just do&#8221; moments.</p>
<p>Today I had a similar panic moment.  Half asleep, I uploaded a zipped file called jeromes-query-diagnostics.zip and clicked &#8220;install&#8221; using the plugin installer.   The plugin failed, but to my horror my blog now displayed a hundred lines of some weird text and had a php error up top.  The text appeared in both the admin panel and on the blog itself.  Since the plugin had automatically deactivated itself, I could skip that step.  Here were the additional steps I took in my panicked state.</p>
<ol>
<li>First I deleted the plugin from my plugin folder.  Unfortunately, I still saw lines and lines of text in both my admin panel and on my blog itself.</li>
<li>I unzipped the plugin and read the files in a text editor, nothing there that looked like it changed anything.</li>
<li>I read the error message and it pointed to another plugin.  So I deactivated all plugins.  Still no luck, but the error message changed.</li>
<li>Now the error message pointed to my wp-pluggable file.  I opened that file in a code editor and checked the line causing the error.  Comparing it to a backup, it hadn&#8217;t changed.</li>
<li>Next I uploaded a backup copy of every file in my wp-includes directory.  No luck.</li>
<li>I checked my theme templates for any sign of change in the header, functions, or main templates. No changes compared to backup copies.</li>
<li>I tried Googling the plugin itself to see if anyone had reported a similar error, nope.</li>
<li>Now I googled some of the text and found it belonged to the gnu public license.  I tried renaming the license.txt file in my main directory, no success.</li>
<li>Searching all my directories for license.txt, I found another in my plugin directory.  Duh!  Deleting that fixed the problem.</li>
</ol>
<p>Turns out WordPress thinks anything in the wp-content/plugins directory is a plugin and executes it. The plugin had dumped a text file into the directory without creating it&#8217;s own folder.  Lesson learned.  Check all zipped files locally before using the auto-installer.  Don&#8217;t play with your settings when tired.  Finally, don&#8217;t take your anger out on your kids, even if they are banging the tv in the room with the wii controller while you are trying to fix your blog.  Now I feel bad for yelling at my kids to get the hell out of the room.  With any luck they will grow up hating blogs.</p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/intent/tweet?text=WordPress+2.7+Plugin+Installer+Horror+Story+http%3A%2F%2Fturnipofpower.com%2F%3Fp%3D1001" title="Post to Twitter (http://turnipofpower.com/?p=1001)"><img class="nothumb" src="http://turnipofpower.com/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter-micro3.png" alt="Post to Twitter" /></a> <a class="tt" href="http://plurk.com/?status=WordPress+2.7+Plugin+Installer+Horror+Story+http%3A%2F%2Fturnipofpower.com%2F%3Fp%3D1001" title="Post to Plurk"><img class="nothumb" src="http://turnipofpower.com/wp-content/plugins/tweet-this/icons/en/plurk/tt-plurk.png" alt="Post to Plurk" /></a> <a class="tt" href="http://plurk.com/?status=WordPress+2.7+Plugin+Installer+Horror+Story+http%3A%2F%2Fturnipofpower.com%2F%3Fp%3D1001" title="Post to Plurk">Plurk This Post</a> <a class="tt" href="http://buzz.yahoo.com/buzz?targetUrl=http://turnipofpower.com/wordpress-27-plugin-installer-horror-story/&amp;headline=WordPress+2.7+Plugin+Installer+Horror+Story" title="Post to Yahoo Buzz"><img class="nothumb" src="http://turnipofpower.com/wp-content/plugins/tweet-this/icons/en/buzz/tt-buzz.png" alt="Post to Yahoo Buzz" /></a> <a class="tt" href="http://buzz.yahoo.com/buzz?targetUrl=http://turnipofpower.com/wordpress-27-plugin-installer-horror-story/&amp;headline=WordPress+2.7+Plugin+Installer+Horror+Story" title="Post to Yahoo Buzz">Buzz This Post</a> <a class="tt" href="http://delicious.com/post?url=http://turnipofpower.com/wordpress-27-plugin-installer-horror-story/&amp;title=WordPress+2.7+Plugin+Installer+Horror+Story" title="Post to Delicious"><img class="nothumb" src="http://turnipofpower.com/wp-content/plugins/tweet-this/icons/en/delicious/tt-delicious.png" alt="Post to Delicious" /></a> <a class="tt" href="http://delicious.com/post?url=http://turnipofpower.com/wordpress-27-plugin-installer-horror-story/&amp;title=WordPress+2.7+Plugin+Installer+Horror+Story" title="Post to Delicious">Delicious</a> <a class="tt" href="http://digg.com/submit?url=http://turnipofpower.com/wordpress-27-plugin-installer-horror-story/&amp;title=WordPress+2.7+Plugin+Installer+Horror+Story" title="Post to Digg"><img class="nothumb" src="http://turnipofpower.com/wp-content/plugins/tweet-this/icons/en/digg/tt-digg.png" alt="Post to Digg" /></a> <a class="tt" href="http://digg.com/submit?url=http://turnipofpower.com/wordpress-27-plugin-installer-horror-story/&amp;title=WordPress+2.7+Plugin+Installer+Horror+Story" title="Post to Digg">Digg This Post</a> <a class="tt" href="http://ping.fm/ref/?method=microblog&amp;title=WordPress+2.7+Plugin+Installer+Horror+Story&amp;link=http://turnipofpower.com/wordpress-27-plugin-installer-horror-story/" title="Post to Ping.fm"><img class="nothumb" src="http://turnipofpower.com/wp-content/plugins/tweet-this/icons/en/ping/tt-ping.png" alt="Post to Ping.fm" /></a> <a class="tt" href="http://ping.fm/ref/?method=microblog&amp;title=WordPress+2.7+Plugin+Installer+Horror+Story&amp;link=http://turnipofpower.com/wordpress-27-plugin-installer-horror-story/" title="Post to Ping.fm">Ping This Post</a> <a class="tt" href="http://reddit.com/submit?url=http://turnipofpower.com/wordpress-27-plugin-installer-horror-story/&amp;title=WordPress+2.7+Plugin+Installer+Horror+Story" title="Post to Reddit"><img class="nothumb" src="http://turnipofpower.com/wp-content/plugins/tweet-this/icons/en/reddit/tt-reddit.png" alt="Post to Reddit" /></a> <a class="tt" href="http://reddit.com/submit?url=http://turnipofpower.com/wordpress-27-plugin-installer-horror-story/&amp;title=WordPress+2.7+Plugin+Installer+Horror+Story" title="Post to Reddit">Reddit This Post</a> <a class="tt" href="http://stumbleupon.com/submit?url=http://turnipofpower.com/wordpress-27-plugin-installer-horror-story/&amp;title=WordPress+2.7+Plugin+Installer+Horror+Story" title="Post to StumbleUpon"><img class="nothumb" src="http://turnipofpower.com/wp-content/plugins/tweet-this/icons/en/su/tt-su.png" alt="Post to StumbleUpon" /></a> <a class="tt" href="http://stumbleupon.com/submit?url=http://turnipofpower.com/wordpress-27-plugin-installer-horror-story/&amp;title=WordPress+2.7+Plugin+Installer+Horror+Story" title="Post to StumbleUpon">Stumble This Post</a></p></div>]]></content:encoded>
			<wfw:commentRss>http://turnipofpower.com/wordpress-27-plugin-installer-horror-story/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
		</item>
	</channel>
</rss>

