search for: initialize_query

Displaying 15 results from an estimated 15 matches for "initialize_query".

2006 Sep 30
0
ActionPack CGI and Ruby 1.8.5
...................E.....E..... Finished in 0.042332 seconds. 1) Error: test_binary_file(MultipartCGITest): EOFError: bad boundary end of body part /usr/local/lib/ruby/1.8/cgi.rb:1067:in `read_multipart'' ./test/controller/../../lib/action_controller/cgi_ext/raw_post_data_fix.rb:38:in `initialize_query'' /usr/local/lib/ruby/1.8/cgi.rb:2273:in `initialize'' test/controller/cgi_test.rb:358:in `new'' test/controller/cgi_test.rb:358:in `process'' test/controller/cgi_test.rb:355:in `open'' test/controller/cgi_test.rb:355:in `process''...
2006 Sep 22
3
Mongrel spinning on read_multipart
...atch #<Mongrel::TimeoutError: Timed out thread.> /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb:600:in `loop'' /usr/lib/ruby/1.8/cgi.rb:984:in `read_multipart'' /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/cgi_ext/raw_post_data_fix.rb:20:in `initialize_query'' /usr/lib/ruby/1.8/cgi.rb:2270:in `initialize'' /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel/cgi.rb:47:in `initialize'' /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel/rails.rb:67:in `process'' /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mo...
2006 Apr 14
1
rake test errors
...s/1.8/gems/actionpack-1.12.1/lib/action_controller/ cgi_ext/raw_post_data_fix.rb:57: warning: ambiguous first argument; put parentheses or even spaces /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/ cgi_ext/raw_post_data_fix.rb:8: warning: method redefined; discarding old initialize_query /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/ session/active_record_store.rb:129: warning: private attribute? /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/ session/active_record_store.rb:179: warning: method redefined; discarding old connection /usr...
2006 Mar 06
0
fastcgi upload - multipart problem
...s forever with files greater than 5kb. fastcgi log results : dispatcher failed to catch: bad content body (EOFError) cgi.rb :1021:in ''read_multipart'' Called from gems/1.8/actionpack-1.11.2/lib/action_controller/cgi_ext/raw_post_data_f ix.rb:20:initialize_query my rhtml 1: <%= start_form_tag ({:action => ''create''}, {:multipart => true}) %> ... my rhtml 2: ... <input type="file" name="myfile"> ... controller:...
2006 Jan 10
1
File upload via SSL not possible
We use an apache server (version 2.0.54) with mod_ssl and the latest rails version on a Gentoo Linux OS. We tried to run our application in both, a virtual host using HTTP and another using HTTPS with identical server configurations. With HTTP, we did not have any problem, but HTTPS did not allow us to upload files in rails into a database. The log file displays a fcgi timeout and the HTTP
2007 Dec 16
0
Integration Testing - hang with post parameters
...cgi_ext/query_extension.rb:76:in `read_body'' from /Users/rodney/code/puppy/vendor/rails/actionpack/lib/action_controller/cgi_ext/query_extension.rb:88:in `read_params'' from /Users/rodney/code/puppy/vendor/rails/actionpack/lib/action_controller/cgi_ext/query_extension.rb:46:in `initialize_query'' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/cgi.rb:2276:in `initialize_without_stdinput'' from /Users/rodney/code/puppy/vendor/rails/actionpack/lib/action_controller/cgi_ext/stdinput.rb:19:in `initialize'' from /Users/rodney/code/pupp...
2008 Apr 07
0
Crash uploading file on HTTPS/SSL rails project
...the followin error message: [07/Apr/2008:10:12:39 :: 7218] Dispatcher failed to catch: bad content body (EOFError) /usr/lib/ruby/1.8/cgi.rb:982:in `read_multipart'' /var/www/project/public/../config/../vendor/rails/actionpack/lib/action_controller/cgi_ext/raw_post_data_fix.rb:38:in `initialize_query'' /usr/lib/ruby/1.8/cgi.rb:2271:in `initialize'' (eval):16:in `initialize'' /usr/lib/ruby/1.8/fcgi.rb:600:in `each_cgi'' /usr/lib/ruby/1.8/fcgi.rb:597:in `each_cgi'' /var/www/project/public/../config/../vendor/rails/railties/lib/fcgi_handler.rb...
2006 Jun 02
0
Warning messages after upgraded from rails 1.0 to 1.1
...by/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/cgi_ext/raw_post_data_fix.rb:57: warning: ambiguous first argument; put parentheses or even spaces /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/cgi_ext/raw_post_data_fix.rb:8: warning: method redefined; discarding old initialize_query /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/session/active_record_store.rb:129: warning: private attribute? /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/session/active_record_store.rb:179: warning: method redefined; discarding old connection /usr/lib...
2006 Mar 14
5
Apache2 + FastCGI + SSL: File upload fails with HTTPS
...the site running in HTTPS, cgi.rb throws an EOFError: [13/Mar/2006:23:05:48 :: 22982] Dispatcher failed to catch: bad content body (EOFError) /usr/lib/ruby/1.8/cgi.rb:981:in `read_multipart? /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/cgi_ext/raw_post_data_fix.rb:20:in `initialize_query? /usr/lib/ruby/1.8/cgi.rb:2270:in `initialize? (eval):16:in `initialize? /usr/lib/ruby/1.8/fcgi.rb:600:in `each_cgi? /usr/lib/ruby/1.8/fcgi.rb:597:in `each_cgi? /usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:52:in `process!? /usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler...
2006 Nov 04
0
rake db:migrate is semi-broken
...ems/1.8/gems/actionpack-1.12.5/lib/action_controller/cgi_ext/raw_post_data_fix.rb:57: warning: ambiguous first argument; put parentheses or even spaces /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/cgi_ext/raw_post_data_fix.rb:8: warning: method redefined; discarding old initialize_query /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/session/active_record_store.rb:129: warning: private attribute? /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/session/active_record_store.rb:179: warning: method redefined; discarding old connectio...
2006 May 24
0
Mongrel errors on file upload
...`require'' C:/InstantRails-1.3/ruby/lib/ruby/1.8/cgi.rb:987:in `read_multipart'' C:/InstantRails-1.3/ruby/lib/ruby/1.8/cgi.rb:984:in `read_multipart'' C:/InstantRails-1.3/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/cgi_ext/raw_post_data_fix.rb:20:in `initialize_query'' C:/InstantRails-1.3/ruby/lib/ruby/1.8/cgi.rb:2270:in `initialize'' C:/InstantRails-1.3/ruby/lib/ruby/gems/1.8/gems/mongrel-0.3.11-mswin32/lib/mongrel/cgi.rb:41:in `initialize'' C:/InstantRails-1.3/ruby/lib/ruby/gems/1.8/gems/mongrel-0.3.11-mswin32/lib/mongrel/rails.rb:57:i...
2007 Aug 19
3
fastcgi issue on production
...en you didn''t expect it! You might have expected an instance of Array. The error occurred while evaluating nil.split (NoMethodError) /usr/lib/ruby/1.8/cgi.rb:897:in `parse'' /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/ cgi_ext/raw_post_data_fix.rb:45:in `initialize_query'' /usr/lib/ruby/1.8/cgi.rb:2274:in `initialize'' /usr/lib/ruby/1.8/fcgi.rb:594:in `new'' /usr/lib/ruby/1.8/fcgi.rb:594:in `each_cgi'' /usr/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/fcgi_handler.rb:141:in `process_each_request!'' /usr/lib/ruby/gems/1.8/...
2005 Dec 15
11
CGI Module in Rails
I''m trying to use the CGI module to generate the html in a view but am having trouble. My controller looks like: class MyTestController < ApplicationController def cgitest require ''cgi'' @cgi=CGI.new("html3") end end My cgitest.rhtml view document simply has: <%= @cgi.out{@cgi.html{@cgi.head{}}} %> Loading MyTest/cgitest, Rails tells me that
2006 May 17
3
Rails "Application Error" with apache and mod_fcgid
...by/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/cgi_ext/raw_post_data_fix.rb:57: warning: ambiguous first argument; put parentheses or even spaces /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/cgi_ext/raw_post_data_fix.rb:8: warning: method redefined; discarding old initialize_query Exception `DRb::DRbServerNotFound'' at /usr/lib/ruby/1.8/drb/drb.rb:1647 - DRb::DRbServerNotFound Exception `MissingSourceFile'' at /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21 - no such file to load -- memcache Exception `MissingSourceFile'' at /usr/lib/rub...
2006 Jul 20
6
Ruby on Rails & FastCGI 500 Error
I''m getting an error 500 and I''m at my wits end as to what could be causing it. I''m sure the path to the ruby executable is correct so what else could be causing it? -- Posted via http://www.ruby-forum.com/.