<?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>Michael Klett &#187; rails webdev</title>
	<atom:link href="http://michaelklett.com/tag/rails-webdev/feed/" rel="self" type="application/rss+xml" />
	<link>http://michaelklett.com</link>
	<description></description>
	<lastBuildDate>Sun, 27 Sep 2009 18:12:14 +0000</lastBuildDate>
	
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Solving a blank page problem with the Comatose CMS</title>
		<link>http://michaelklett.com/2007/07/26/solving-a-blank-page-problem-with-the-comatose-cms/</link>
		<comments>http://michaelklett.com/2007/07/26/solving-a-blank-page-problem-with-the-comatose-cms/#comments</comments>
		<pubDate>Thu, 26 Jul 2007 21:28:00 +0000</pubDate>
		<dc:creator>Michael Klett</dc:creator>
				<category><![CDATA[Home]]></category>
		<category><![CDATA[rails webdev]]></category>

		<guid isPermaLink="false">http://michaelklett.com/2007/07/26/solving-a-blank-page-problem-with-the-comatose-cms</guid>
		<description><![CDATA[I&#8217;ve hit this on 2 different installs of the Comatose CMS plugin for Ruby on Rails (now hosted on Google Code ) so I thought I&#8217;d write it down.  Just after the install, I can go to the admin page (example.com/comatose_admin) just fine.  But if I try to go to the root of [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve hit this on 2 different installs of the Comatose CMS plugin for Ruby on Rails (now hosted on <a href="http://code.google.com/p/comatose-plugin/">Google Code</a> ) so I thought I&#8217;d write it down.  Just after the install, I can go to the admin page (example.com/comatose_admin) just fine.  But if I try to go to the root of the site, where I expect to see the default Comatose &#8220;Home Page&#8221;, I instead see a blank page.  My logs show a 404 error too.</p>
<p>What&#8217;s happening is that comatose is checking the database for a page with a full<em>path of &#8221; (empty string).  But my database has the &#8220;Home Page&#8221; full</em>path stored as NULL, so it doesn&#8217;t find it.  I don&#8217;t know if this is a config problem with my database or an error in the migration script at this point.</p>
<p>The easy fix is to edit the &#8220;Home Page&#8221; in comatose<em>admin and immediately save it.  The full</em>path value is replaced with an empty string and the 404 error is solved.</p>
]]></content:encoded>
			<wfw:commentRss>http://michaelklett.com/2007/07/26/solving-a-blank-page-problem-with-the-comatose-cms/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
