Solving a blank page problem with the Comatose CMS

I’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’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 “Home Page”, I instead see a blank page. My logs show a 404 error too.

What’s happening is that comatose is checking the database for a page with a fullpath of ” (empty string). But my database has the “Home Page” fullpath stored as NULL, so it doesn’t find it. I don’t know if this is a config problem with my database or an error in the migration script at this point.

The easy fix is to edit the “Home Page” in comatoseadmin and immediately save it. The fullpath value is replaced with an empty string and the 404 error is solved.

This entry was posted in Home and tagged . Bookmark the permalink. Both comments and trackbacks are currently closed.