After upgrading a site from 0.6.4 to 0.6.5, I can no longer
effectively use the Radiant admin interface.
Clicking on any of the Pages give the error below, and layouts just
present the unprocessed radius tag <r:content /> The site itself
appears to be fine.
This is as vanilla a Radiant install as possible, just archive,
markdown, and textile for extensions, and no customization (just edits
via the interface).
RubyGems Environment:
- RUBYGEMS VERSION: 1.1.1
- RUBY VERSION: 1.8.5 (2007-06-07 patchlevel 52) [x86_64-linux]
- INSTALLATION DIRECTORY: /usr/lib64/ruby/gems/1.8
- RUBY EXECUTABLE: /usr/bin/ruby
VPS is Slicehost, running Fedora Core release 6 (Zod),
I followed these steps :
1. Update the Radiant gem:
% gem update radiant
2. Change the RADIANT_GEM_VERSION constant in config/environment.rb
to "0.6.5".
3. Run the update rake task:
rake radiant:update
4. Run migrations:
rake db:migrate
6. Restart the server
Schema version is 16, but I didn't look to see what it was before the
upgrade
Any ideas what might be the problem?
Note that If I change the config/environment.rb in the radiant install
back to 0.6.4 and restart, the interface appears to work ok, although
I'm reluctant to try much in that state.
~Phi
ERROR DUMP :
Processing PageController#edit (for IP-ADDRESS at 2008-04-19 20:46:35)
[GET]
Session ID: c99e993f29869
Parameters: {"action"=>"edit", "id"=>"9", "controller"=>"admin/page"}
Rendering template within layouts/application
Rendering admin/page/edit
ActionView::TemplateError (undefined method `keywords' for
#<ArchivePage:0x2aeda50eebc0>) on line #3 of admin/page/
_meta_row.html.erb:
1: <tr>
2: <th class="label"><label for="page_<%= meta_row[:field] %>"><%=
meta_row[:label] || meta_row[:field].humanize %></label></th>
3: <td class="field"><%= send(meta_row[:type], "page",
meta_row[:field], *meta_row[:args])%></td>
4: </tr>
/usr/lib64/ruby/gems/1.8/gems/radiant-0.6.5/vendor/rails/
activerecord/lib/active_record/attribute_methods.rb:205:in
`method_missing'
/usr/lib64/ruby/gems/1.8/gems/radiant-0.6.5/vendor/rails/
actionpack/lib/action_view/helpers/form_helper.rb:562:in `send'
/usr/lib64/ruby/gems/1.8/gems/radiant-0.6.5/vendor/rails/
actionpack/lib/action_view/helpers/form_helper.rb:562:in
`value_before_type_cast'
...
/usr/lib64/ruby/gems/1.8/gems/mongrel-1.0.1/bin/mongrel_rails:243
/usr/bin/mongrel_rails:16:in `load'
/usr/bin/mongrel_rails:16
Rendering /.../public/500.html (500 Internal Server Error)
_______________________________________________
Radiant mailing list
Post: [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site: http://lists.radiantcms.org/mailman/listinfo/radiant