Ollivier Robert wrote:
> I've been following mental for some time and now attempted to migrate
> my own site under it.
>
> Did a pg_dump of my database, ran db:migrate to get the latest schema,
> launch mongrel_rails on it, went to the admin interface and... <boom>
>
> Any idea? Something I missed?
> -----
> ActiveRecord::SubclassNotFound in Admin/page#index
>
> Showing app/views/admin/page/_node.rhtml where line #44 raised:
>
> The single-table inheritance mechanism failed to locate the subclass:
> 'FilenotfoundpagePage'. This error is raised because the column
> 'class_name' is reserved for storing the class in case of inheritance.
> Please rename this column if you didn't intend it to be used for
> storing the inheritance class or overwrite Page.inheritance_column to
> use another column for that information.
Mmm. That's a problem with one of the migrations. (You did run `rake
db:migrate` didn't you?)
See if this works. Open up your database. And execute the following:
update pages
set class_name='FileNotFoundPage'
where class_name='FilenotfoundpagePage';
--
John Long
http://wiseheartdesign.com
_______________________________________________
Radiant mailing list
Post: [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site: http://lists.radiantcms.org/mailman/listinfo/radiant