Hey,
When I''m trying to upload images I get this following error and my ruby
server shuts down:
Processing UploadController#new (for 127.0.0.1 at 2007-10-23 14:50:47)
[GET]
Session ID: 3c39b2b1da22bc63513f83f8ced2e93a
Parameters: {"action"=>"new",
"controller"=>"upload"}
User Columns (0.002187) SHOW FIELDS FROM users
User Load (0.000983) SELECT * FROM users WHERE (users.`id` = 2)
LIMIT 1
Logo Columns (0.002538) SHOW FIELDS FROM logos
Rendering within layouts/upload
Rendering upload/new
Completed in 0.28104 (3 reqs/sec) | Rendering: 0.06342 (22%) | DB:
0.00571 (2%) | 200 OK [http://localhost/upload/new]
Processing ApplicationController#index (for 127.0.0.1 at 2007-10-23
14:50:48) [GET]
Session ID: 3c39b2b1da22bc63513f83f8ced2e93a
Parameters: {}
ActionController::RoutingError (no route found to match
"/images/logo.png" with {:method=>:get}):
.//vendor/rails/actionpack/lib/action_controller/routing.rb:1266:in
`recognize_path''
.//vendor/rails/actionpack/lib/action_controller/routing.rb:1256:in
`recognize''
.//vendor/rails/railties/lib/dispatcher.rb:40:in `dispatch''
/var/lib/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/rails.rb:78:in
`process''
/var/lib/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/rails.rb:76:in
`synchronize''
/var/lib/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/rails.rb:76:in
`process''
/var/lib/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:618:in
`process_client''
/var/lib/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:617:in `each''
/var/lib/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:617:in
`process_client''
/var/lib/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:736:in `run''
/var/lib/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:736:in
`initialize''
/var/lib/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:736:in `new''
/var/lib/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:736:in `run''
/var/lib/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:720:in
`initialize''
/var/lib/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:720:in `new''
/var/lib/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:720:in `run''
/var/lib/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/configurator.rb:271:in
`run''
/var/lib/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/configurator.rb:270:in
`each''
/var/lib/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/configurator.rb:270:in
`run''
/var/lib/gems/1.8/gems/mongrel-1.0.1/bin/mongrel_rails:127:in `run''
/var/lib/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/command.rb:211:in
`run''
/var/lib/gems/1.8/gems/mongrel-1.0.1/bin/mongrel_rails:243
.//vendor/rails/activesupport/lib/active_support/dependencies.rb:489:in
`load''
.//vendor/rails/activesupport/lib/active_support/dependencies.rb:489:in
`load''
.//vendor/rails/activesupport/lib/active_support/dependencies.rb:343:in
`new_constants_in''
.//vendor/rails/activesupport/lib/active_support/dependencies.rb:489:in
`load''
.//vendor/rails/railties/lib/commands/servers/mongrel.rb:60
/usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require''
/usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `require''
.//vendor/rails/activesupport/lib/active_support/dependencies.rb:496:in
`require''
.//vendor/rails/activesupport/lib/active_support/dependencies.rb:343:in
`new_constants_in''
.//vendor/rails/activesupport/lib/active_support/dependencies.rb:496:in
`require''
.//vendor/rails/railties/lib/commands/server.rb:39
script/server:5:in `require''
script/server:5
Rendering
./script/../config/../vendor/rails/actionpack/lib/action_controller/templates/rescues/layout.rhtml
(404 Page Not Found)
terminate called after throwing an instance of ''int''
Aborted (core dumped)
Never had this problem before. Would appreciate any help?
Cheers
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---