Anyone know what causes this?


#1

In my app I’ve started to get a 500 error whenever trying to post to a
create method

/!\ FAILSAFE /!\ Sat Apr 11 18:42:28 +0100 2009
Status: 500 Internal Server Error
string not matched

According to the log it doesn’t even get as far as the POST

anyone know what might be causing this?

I also have nested resources in my app - when creating one of them
they seem to work fine! ?

here’s the full trace from the log:

/!\ FAILSAFE /!\ Sat Apr 11 18:42:28 +0100 2009
Status: 500 Internal Server Error
string not matched
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/
action_controller/vendor/rack-1.0/rack/utils.rb:73:in []=' /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/ action_controller/vendor/rack-1.0/rack/utils.rb:73:innormalize_params’
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/
action_controller/vendor/rack-1.0/rack/utils.rb:89:in
normalize_params' /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/ action_controller/vendor/rack-1.0/rack/utils.rb:58:inparse_nested_query’
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/
action_controller/vendor/rack-1.0/rack/utils.rb:56:in each' /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/ action_controller/vendor/rack-1.0/rack/utils.rb:56:inparse_nested_query’
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/
action_controller/vendor/rack-1.0/rack/request.rb:132:in POST' /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/ action_controller/vendor/rack-1.0/rack/methodoverride.rb:15:incall’
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/
action_controller/params_parser.rb:15:in call' /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/ action_controller/rewindable_input.rb:25:incall’
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/
action_controller/session/cookie_store.rb:93:in call' /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/ action_controller/reloader.rb:9:incall’
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/
action_controller/failsafe.rb:11:in call' /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/ action_controller/vendor/rack-1.0/rack/lock.rb:11:incall’
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/
action_controller/vendor/rack-1.0/rack/lock.rb:11:in synchronize' /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/ action_controller/vendor/rack-1.0/rack/lock.rb:11:incall’
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/
action_controller/dispatcher.rb:106:in call' /Users/Gavin/.gem/ruby/1.8/gems/rails-2.3.2/lib/rails/rack/ static.rb:31:incall’
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/
action_controller/vendor/rack-1.0/rack/urlmap.rb:46:in call' /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/ action_controller/vendor/rack-1.0/rack/urlmap.rb:40:ineach’
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/
action_controller/vendor/rack-1.0/rack/urlmap.rb:40:in call' /Users/Gavin/.gem/ruby/1.8/gems/rails-2.3.2/lib/rails/rack/ log_tailer.rb:17:incall’
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/
action_controller/vendor/rack-1.0/rack/content_length.rb:13:in call' /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/ action_controller/vendor/rack-1.0/rack/chunked.rb:15:incall’
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/
action_controller/vendor/rack-1.0/rack/handler/mongrel.rb:61:in
process' /Users/Gavin/.gem/ruby/1.8/gems/mongrel-1.1.5/lib/mongrel.rb: 159:inprocess_client’
/Users/Gavin/.gem/ruby/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:
158:in each' /Users/Gavin/.gem/ruby/1.8/gems/mongrel-1.1.5/lib/mongrel.rb: 158:inprocess_client’
/Users/Gavin/.gem/ruby/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:
285:in run' /Users/Gavin/.gem/ruby/1.8/gems/mongrel-1.1.5/lib/mongrel.rb: 285:ininitialize’
/Users/Gavin/.gem/ruby/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:
285:in new' /Users/Gavin/.gem/ruby/1.8/gems/mongrel-1.1.5/lib/mongrel.rb: 285:inrun’
/Users/Gavin/.gem/ruby/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:
268:in initialize' /Users/Gavin/.gem/ruby/1.8/gems/mongrel-1.1.5/lib/mongrel.rb: 268:innew’
/Users/Gavin/.gem/ruby/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:
268:in run' /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/ action_controller/vendor/rack-1.0/rack/handler/mongrel.rb:34:inrun’
/Users/Gavin/.gem/ruby/1.8/gems/rails-2.3.2/lib/commands/server.rb:
111
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
gem_original_require' /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:inrequire’
script/server:3


#2

Thanks for that Jason

It looks like the same issue - and I certainly get the 500 error when
I paste the “?b%5Ba%5D=&b%5Ba%5Dc=” query in the address bar.

I’m not using WidgeEditor though

I changed my model name (and controller etc.) from item to print and
that seems to have solved it!

I have no idea why though?