Forum: Radiant CMS Setup problem

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Tim P. (Guest)
on 2006-06-05 20:32
(Received via mailing list)
Hi Guys

Just installed Radient, its pretty awsome, really loving your work.

However I have the following problem...

The admin section works without a hitch, but whenever I go to view the
end of the site I get the following error message...

NoMethodError in SiteController#show_page
undefined method `content_type' for #<Layout:0xb7921fe8>

iation_proxy.rb:110:in `method_missing'
#{RAILS_ROOT}/app/models/behavior.rb:49:in `process'
#{RAILS_ROOT}/lib/advanced_delegation.rb:10:in `process'
#{RAILS_ROOT}/app/controllers/site_controller.rb:23:in `show_page'

Which seems odd, as the admin section works perfectly!

Anyone know why this might be happening?


Tim P.

This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
Joshua Messer (Guest)
on 2006-06-05 22:08
(Received via mailing list)
This happened to me, but I had updated an older version and forgot to
update the database. On a fresh install, I'm not sure what would cause
this. There is a "content_type" field in the Layouts table of the
database, but it's blank for all my layouts so I dunno.
Ollivier R. (Guest)
on 2006-06-06 00:59
(Received via mailing list)
On 6/5/06, Tim P. <removed_email_address@domain.invalid> wrote:
> NoMethodError in SiteController#show_page
> undefined method `content_type' for #<Layout:0xb7921fe8>

rake migrate should probably fix your problem.  It is necessary
whenever the schema change.
This topic is locked and can not be replied to.