<?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>AlwaysWordpress &#187; Wordpress Tips</title>
	<atom:link href="http://alwayswordpress.com/category/wordpress-tips/feed" rel="self" type="application/rss+xml" />
	<link>http://alwayswordpress.com</link>
	<description>Premium Wordpress Themes and So Much More.</description>
	<lastBuildDate>Fri, 12 Feb 2010 12:00:21 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>The Menacing White Screen of Death with Wordpress</title>
		<link>http://alwayswordpress.com/blogging/the-menacing-white-screen-of-death-with-wordpress</link>
		<comments>http://alwayswordpress.com/blogging/the-menacing-white-screen-of-death-with-wordpress#comments</comments>
		<pubDate>Thu, 11 Feb 2010 01:26:41 +0000</pubDate>
		<dc:creator>Jason Koertge</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[PHPMYADMIN]]></category>
		<category><![CDATA[Plugins]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[Wordpress Tips]]></category>
		<category><![CDATA[white screen of death]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wordpress deactivate all plugins]]></category>
		<category><![CDATA[wp plugins]]></category>

		<guid isPermaLink="false">http://alwayswordpress.com/?p=332</guid>
		<description><![CDATA[
If you&#8217;ve been working with Wordpress for any length of time, I&#8217;m sure you&#8217;ve come across the menacing white screen of death.  Here&#8217;s how to fix it.
Recently I moved one of my blogs to a new server.  Everything went smoothly, the server environment was the same, the database imported correctly and when the name servers [...]]]></description>
			<content:encoded><![CDATA[<p><a class="post_image_link" href="http://alwayswordpress.com/blogging/the-menacing-white-screen-of-death-with-wordpress" title="Permanent link to The Menacing White Screen of Death with Wordpress"><img class="post_image aligncenter" src="http://alwayswordpress.com/wp-content/uploads/2010/02/white_screen_death.jpg" width="445" height="302" alt="Post image for The Menacing White Screen of Death with Wordpress" /></a>
</p><p>If you&#8217;ve been working with Wordpress for any length of time, I&#8217;m sure you&#8217;ve come across the menacing white screen of death.  Here&#8217;s how to fix it.</p>
<p>Recently I moved one of my blogs to a new server.  Everything went smoothly, the server environment was the same, the database imported correctly and when the name servers propagated, everything seemed in order.  Then the next day I typed up the url and hit enter just to check things out, and BAM! Nothing.</p>
<p><span id="more-332"></span></p>
<p>Right click &gt; View Source Code &gt; Nothing.  There was nothing being displayed.  Hmmm, so I type in my domain name/wp-admin.  Nothing again.  Shoot, I couldn&#8217;t even get logged into the back end.</p>
<p>So, fearing the worst, I check the files on the server.  Everything is there.  I check the database.  It looks normal. What to do next?  Well, if the site files are there, and the database seems normal, then the first place to start is to deactivate all the plugins.</p>
<p>I&#8217;ve experienced several white screens of death and every single time, they&#8217;ve had something to do with a buggy plugin.  I needed to deactivate them, but I had to do it through phpmyadmin because the back-end was just not accessible.</p>
<p>After a google search, I came across this nifty article on <a href="http://perishablepress.com/press/2008/02/18/quickly-disable-or-enable-all-wordpress-plugins-via-the-database/" target="_blank">Perishable Press</a> that provided one quick sql command that took all my worries away (it deactivates all the plugins in one quick, fell swoop).</p>
<p>So, here&#8217;s what you do.</p>
<p><strong>Log into phpmyadmin</strong></p>
<p>Start by logging into your server control panel and locate the phpmyadmin icon.  I use <a href=" http://www.hostmonster.com/track/toocreative" target="_blank">Hostmonster</a>, and this is found under the sub-section called &#8220;Databases&#8221;.  It should be similar for you as well.  Click on it and a new window will come up that takes you right into the back end of your database.  Now, if you&#8217;ve never been here before, don&#8217;t be scared, it seems a little intimidating, but it won&#8217;t bite.  But you should be careful, you can screw up your whole site if you mess with the wrong thing.  Wow, was that contradictory?  NO PRESSURE!! <img src='http://alwayswordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p><strong>Find your database name</strong></p>
<p>Once you&#8217;re in, on the left-hand side, you&#8217;ll find a list of all your databases (if you have multiple &#8211; I have like a million).  Find the database for your blog.  If you need help determining which one is tied to your blog, then you can just check in your wp-config file.  Either go into Dreamweaver, or open your wp-config file in a text editor and look at one of the first fields, it will have your database name.  When you&#8217;ve located your database name in the left hand sidebar, click on it &#8211; it will pull up all the tables in your database.</p>
<p><strong>Run an SQL Query<br />
</strong></p>
<p>Sounds cool, doesn&#8217;t it?  Yep, after this, you can say you&#8217;re a coder.  Well, not really, but who cares.  Along the top there are a series of tabs that read: <em>Structure, SQL, Search, Query, Export, Import</em> and <em>Operations</em>.  Click on the <em>SQL</em> tab.</p>
<p>When you click on the <em>SQL</em> tab, you&#8217;ll be taken to a page with a big white blank box.  Now, don&#8217;t freak out with all that white space, everything is functioning correctly here.  It&#8217;s within that white box that you&#8217;ll paste the following code:</p>
<blockquote><p>SELECT * FROM wp_options WHERE option_name = &#8216;active_plugins&#8217;;</p></blockquote>
<p>Once you paste that code into the box, click on the <em>GO</em> button.  This will pull up a table row that will have all your active plugins listed, it should only be one row and will look something like this:</p>
<p><img class="aligncenter size-full wp-image-337" title="sql_screenshot_wordpress" src="http://alwayswordpress.com/wp-content/uploads/2010/02/sql_screenshot_wordpress.jpg" alt="sql_screenshot_wordpress" width="600" height="224" />Click the edit icon (hint: it looks like the pencil, right next to the radio button on the left).  The next screen, there will be a text area that will have a bunch of garble-dee-gook in it that will look something like this:</p>
<blockquote><p>a:11:{i:0;s:31:&#8221;FeedBurner_FeedSmith_Plugin.php&#8221;;i:1;s:19:&#8221; akismet/akismet.php&#8221; ;i:2;s:19:&#8221;capsman/capsman.php&#8221;;i:3;s:36:&#8221;contact-form-7/wp-contact-form-7.php&#8221;;i:4;s:24:&#8221;flickr-tag/FlickrTag.php&#8221;;i:5;s:36:&#8221;google-sitemap-generator/sitemap.php&#8221;;i:6;s:47:&#8221;really-simple-captcha/really-simple-captcha.php&#8221;;i:7;s:15:&#8221;stats/stats.php&#8221;;i:8;s:35:&#8221;thesis-openhook/thesis-openhook.php&#8221;;i:9;s:37:&#8221;tinymce-advanced/tinymce-advanced.php&#8221;;i:10;s:20:&#8221;wordpress-mobile.php&#8221;;}</p></blockquote>
<p>Select it all, cut it out, paste it in a fresh text document and hit <em>GO</em> in your SQL window. Viola, all your plugins will be deactivated.  Note: I say to paste it into a fresh text document out of a habit of never wanting to lose any code in case I need to go back.  There is no &#8220;undo&#8221; button with this process, but if you keep the code, at least you have a way to go back if you need to.</p>
<p>From here, go back to www.yourdomain.com/wp-admin and log in.  Go to your plugins page and one-by-one, reactivate each plugin until you get an issue and you&#8217;ve found your bug.</p>
<p>The plugin that was causing all the fuss for me was Contact Form 7, which needed an upgrade.  I upgraded it, and the problem was gone!</p>
<p>Post in the comments below your experiences with the menacing White Screen of Death and tell us about your solutions.</p>
]]></content:encoded>
			<wfw:commentRss>http://alwayswordpress.com/blogging/the-menacing-white-screen-of-death-with-wordpress/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
