Hi all,
I've been having a lot of trouble with Rails Errors for over I week, and
I finally realized that they are caused by Safari 3.1, since everything
works fine with FireFox... Pretty much every AJAX request makes the fcgi
process crash...
Moreover, I do *not* use getElementsByClassName (which is known to be
the cause of many problems), rails is up to date, and so is Prototype
(1.6.0.1).
Here is what the log says:
/!\ FAILSAFE /!\ Thu Mar 27 13:47:50 +0100 2008
Status: 500 Internal Server Error
can't modify frozen string
/hsphere/local/home/cukch/rails/vendor/rails/actionpack/lib/action_controller/request.rb:462:in
`gsub!'
/hsphere/local/home/cukch/rails/vendor/rails/actionpack/lib/action_controller/request.rb:462:in
`clean_up_ajax_request_body!'
/hsphere/local/home/cukch/rails/vendor/rails/actionpack/lib/action_controller/request.rb:380:in
`parse_formatted_request_parameters'
/hsphere/local/home/cukch/rails/vendor/rails/actionpack/lib/action_controller/cgi_process.rb:78:in
`request_parameters'
/hsphere/local/home/cukch/rails/vendor/rails/actionpack/lib/action_controller/request.rb:287:in
`parameters'
/hsphere/local/home/cukch/rails/vendor/rails/actionpack/lib/action_controller/request.rb:22:in
`request_method'
/hsphere/local/home/cukch/rails/vendor/rails/actionpack/lib/action_controller/request.rb:35:in
`method'
/hsphere/local/home/cukch/rails/vendor/rails/actionpack/lib/action_controller/routing.rb:1483:in
`extract_request_environment'
/hsphere/local/home/cukch/rails/vendor/rails/actionpack/lib/action_controller/routing.rb:1424:in
`recognize'
/hsphere/local/home/cukch/rails/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:170:in
`handle_request'
/hsphere/local/home/cukch/rails/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:115:in
`dispatch'
/hsphere/local/home/cukch/rails/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:126:in
`dispatch_cgi'
/hsphere/local/home/cukch/rails/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:9:in
`dispatch'
dispatch.cgi:10
I have no idea what this is caused by. The solution that was recommended
is switching to Mongrel, and of course I would do it if I could... But I
am on a shared host, so it is not possible...
Does anyone has any idea how to solve this? I have tried for over a
week, and nothing helps. I tried switching from fastcgi to plain old
cgi, but the bugs remain the same (but plain old cgi is indeed used, for
the request take a lot longer).
Thank you very much if you can help!
Nauhaie