Welcome Guest | Login

Radiant commentable_behavior [Application error (Rails)]

Hi I have been building my website using radiant CMS. I am trying to make use of the commentable_behavior to include comments on my blog page. The behavior seems to have installed fine and as far as I can tell the form works prior to submitting it. When I try and submit a comment to an article I recieve Application error (Rails. Inside my production log the error reads as follows:

ArgumentError (syntax error on line 1, col 10: `   filter: Textile'):
   /usr/local/lib/ruby/1.8/yaml.rb:133:in `load'
   /usr/local/lib/ruby/1.8/yaml.rb:133:in `load'
   /home/mydirectory/radiant/radiant/app/models/behavior.rb:80:in `page_config'
   /vendor/plugins/comments_behaviors/lib/comments_util.rb:56:in `config'
   /vendor/plugins/comments_behaviors/lib/comments_util.rb:30:in `use_akismet?'
   /vendor/plugins/comments_behaviors/lib/comments_util.rb:26:in `valid_post?'
   /vendor/plugins/comments_behaviors/lib/commentable_behavior.rb:25:in `process'
   /home/mydirectory/radiant/radiant/lib/advanced_delegation.rb:10:in `send'
   /home/mydirectory/radiant/radiant/lib/advanced_delegation.rb:10:in `process'
   /home/mydirectory/radiant/radiant/app/controllers/site_controller.rb:36:in `show_uncached_page'
   /home/mydirectory/radiant/radiant/app/controllers/site_controller.rb:22:in `show_page'
   /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/base.rb:941:in `send'
   /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/base.rb:941:in `perform_action_without_filters'
   /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/filters.rb:368:in `perform_action_without_benchmark'
   /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
   /usr/local/lib/ruby/1.8/benchmark.rb:293:in `measure'
   /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
   /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/rescue.rb:82:in `perform_action'
   /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/base.rb:408:in `send'
   /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/base.rb:408:in `process_without_filters'
   /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/filters.rb:377:in `process_without_session_management_support'
   /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/session_management.rb:117:in `process'
   /usr/local/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/dispatcher.rb:38:in `dispatch'
   /usr/local/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/fcgi_handler.rb:150:in `process_request'
   /usr/local/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/fcgi_handler.rb:54:in `process!'
   /usr/local/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:612:in `each_cgi'
   /usr/local/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:609:in `each'
   /usr/local/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:609:in `each_cgi'
   /usr/local/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/fcgi_handler.rb:53:in `process!'
   /usr/local/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/fcgi_handler.rb:23:in `process!'
   dispatch.fcgi:24

Thanks for your help!

2007-02-14 10:14 PM

found that the problem was in the extended config tab. I included extra spaces between underneath status: 1 not keeping them flush.

should look like...

status: 1
filter: Textile

2007-02-14 11:06 PM


Hello Guest! In order to post you must be an active client with us, please log in or sign up.