HighDots Forums  

500 Internal Error

Ruby On Rails Talk Ruby On Rails programming language mailing list


Discuss 500 Internal Error in the Ruby On Rails Talk forum.

Reply
 
Thread Tools Display Modes
  #1  
Old   
nbsimsah
 
Posts: n/a

Default 500 Internal Error - 02-06-2010 , 01:50 AM






I have on ubuntu a digital library application Kete which gives in the
log/production.log:

Please help, thnx.

/!\ FAILSAFE /!\ Fri Feb 05 19:05:08 +0200 2010
Status: 500 Internal Server Error
No connection to server (localhost:11211 DEAD (Errno::ECONNREFUSED:
Connection refused - connect(2)), will retry at Fri Feb 05 19:05:38
+0200 2010)
/usr/local/lib/ruby/gems/1.8/gems/memcache-client-1.7.7/lib/
memcache.rb:855:in `with_socket_management'
/usr/local/lib/ruby/gems/1.8/gems/memcache-client-1.7.7/lib/
memcache.rb:732:in `cache_get'
/usr/local/lib/ruby/gems/1.8/gems/memcache-client-1.7.7/lib/
memcache.rb:253:in `get'
/usr/local/lib/ruby/gems/1.8/gems/memcache-client-1.7.7/lib/
memcache.rb:878:in `with_server'
/usr/local/lib/ruby/gems/1.8/gems/memcache-client-1.7.7/lib/
memcache.rb:251:in `get'
/home/kete/apps/kato/vendor/rails/actionpack/lib/action_controller/
session/mem_cache_store.rb:61:in `initialize'
/usr/local/lib/ruby/1.8/cgi/session.rb:280:in `new'
/usr/local/lib/ruby/1.8/cgi/session.rb:280:in
`initialize_without_cgi_reader'
/home/kete/apps/kato/vendor/rails/actionpack/lib/action_controller/
cgi_ext/session.rb:39:in `initialize'
/home/kete/apps/kato/vendor/rails/actionpack/lib/action_controller/
cgi_process.rb:132:in `new'
/home/kete/apps/kato/vendor/rails/actionpack/lib/action_controller/
cgi_process.rb:132:in `session'
/home/kete/apps/kato/vendor/rails/actionpack/lib/action_controller/
cgi_process.rb:168:in `stale_session_check!'
/home/kete/apps/kato/vendor/rails/actionpack/lib/action_controller/
cgi_process.rb:116:in `session'
/home/kete/apps/kato/vendor/rails/actionpack/lib/action_controller/
base.rb:1139:in `assign_shortcuts_without_flash'
/home/kete/apps/kato/vendor/rails/actionpack/lib/action_controller/
flash.rb:166:in `assign_shortcuts'
/home/kete/apps/kato/vendor/rails/actionpack/lib/action_controller/
base.rb:523:in `process_without_filters'
/home/kete/apps/kato/vendor/rails/actionpack/lib/action_controller/
filters.rb:568:in `process_without_session_management_support'
/home/kete/apps/kato/vendor/rails/actionpack/lib/action_controller/
session_management.rb:130:in `process'
/home/kete/apps/kato/vendor/rails/actionpack/lib/action_controller/
base.rb:389:in `process'
/home/kete/apps/kato/vendor/rails/actionpack/lib/action_controller/
dispatcher.rb:149:in `handle_request'
/home/kete/apps/kato/vendor/rails/actionpack/lib/action_controller/
dispatcher.rb:107:in `dispatch'
/home/kete/apps/kato/vendor/rails/actionpack/lib/action_controller/
dispatcher.rb:104:in `synchronize'
/home/kete/apps/kato/vendor/rails/actionpack/lib/action_controller/
dispatcher.rb:104:in `dispatch'
/home/kete/apps/kato/vendor/rails/actionpack/lib/action_controller/
dispatcher.rb:120:in `dispatch_cgi'
/home/kete/apps/kato/vendor/rails/actionpack/lib/action_controller/
dispatcher.rb:35:in `dispatch'
/usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/
phusion_passenger/railz/request_handler.rb:50:in `process_request'
/usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/
phusion_passenger/abstract_request_handler.rb:207:in `main_loop'
/usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/
phusion_passenger/railz/application_spawner.rb:378:in
`start_request_handler'
/usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/
phusion_passenger/railz/application_spawner.rb:336:in
`handle_spawn_application'
/usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/
phusion_passenger/utils.rb:183:in `safe_fork'
/usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/
phusion_passenger/railz/application_spawner.rb:334:in
`handle_spawn_application'
/usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/
phusion_passenger/abstract_server.rb:352:in `__send__'
/usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/
phusion_passenger/abstract_server.rb:352:in `main_loop'
/usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/
phusion_passenger/abstract_server.rb:196:in `start_synchronously'
/usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/
phusion_passenger/abstract_server.rb:163:in `start'
/usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/
phusion_passenger/railz/application_spawner.rb:213:in `start'
/usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/
phusion_passenger/spawn_manager.rb:262:in `spawn_rails_application'
/usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/
phusion_passenger/abstract_server_collection.rb:126:in `lookup_or_add'
/usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/
phusion_passenger/spawn_manager.rb:256:in `spawn_rails_application'
/usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/
phusion_passenger/abstract_server_collection.rb:80:in `synchronize'
/usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/
phusion_passenger/abstract_server_collection.rb:79:in `synchronize'
/usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/
phusion_passenger/spawn_manager.rb:255:in `spawn_rails_application'
/usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/
phusion_passenger/spawn_manager.rb:154:in `spawn_application'
/usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/
phusion_passenger/spawn_manager.rb:287:in `handle_spawn_application'
/usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/
phusion_passenger/abstract_server.rb:352:in `__send__'
/usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/
phusion_passenger/abstract_server.rb:352:in `main_loop'
/usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/
phusion_passenger/abstract_server.rb:196:in `start_synchronously'
/usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.5/bin/passenger-
spawn-server:61

--
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 (AT) googlegroups (DOT) com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe (AT) googlegroups (DOT) com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.


Reply With Quote
  #2  
Old   
Frederick Cheung
 
Posts: n/a

Default Re: 500 Internal Error - 02-06-2010 , 05:29 AM






On Feb 6, 6:50*am, nbsimsah <sim... (AT) gmail (DOT) com> wrote:
Quote:
I have on ubuntu a digital library application Kete which gives in the
log/production.log:

Please help, thnx.

/!\ FAILSAFE /!\ *Fri Feb 05 19:05:08 +0200 2010
* Status: 500 Internal Server Error
* No connection to server (localhost:11211 DEAD (Errno::ECONNREFUSED:
Connection refused - connect(2)), will retry at Fri Feb 05 19:05:38
+0200 2010)
Looks like your app is trying to use memcache but it couldn't talk to
the memcache server.

Fred

--
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 (AT) googlegroups (DOT) com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe (AT) googlegroups (DOT) com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply With Quote
  #3  
Old   
Priyanka Pathak
 
Posts: n/a

Default Re: 500 Internal Error - 02-06-2010 , 05:44 AM



Hello,
As per your post, i think you are trying to run application on
the already used port. so try to use some alternate port and try to run
application.
--
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 (AT) googlegroups (DOT) com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe (AT) googlegroups (DOT) com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply With Quote
  #4  
Old   
nbsimsah
 
Posts: n/a

Default Re: 500 Internal Error - 02-06-2010 , 06:47 AM



Hi Fred,

I can't telnet localhost 112111 either. I will dig in and notify what
happened. Thank you for the prompt suggestion

Ahmet

On Feb 6, 12:29*pm, Frederick Cheung <frederick.che... (AT) gmail (DOT) com>
wrote:
Quote:
On Feb 6, 6:50*am, nbsimsah <sim... (AT) gmail (DOT) com> wrote:

I have on ubuntu a digital library application Kete which gives in the
log/production.log:

Please help, thnx.

/!\ FAILSAFE /!\ *Fri Feb 05 19:05:08 +0200 2010
* Status: 500 Internal Server Error
* No connection to server (localhost:11211 DEAD (Errno::ECONNREFUSED:
Connection refused - connect(2)), will retry at Fri Feb 05 19:05:38
+0200 2010)

Looks like your app is trying to use memcache but it couldn't talk to
the memcache server.

Fred
--
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 (AT) googlegroups (DOT) com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe (AT) googlegroups (DOT) com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply With Quote
  #5  
Old   
nbsimsah
 
Posts: n/a

Default Re: 500 Internal Error - 02-07-2010 , 08:22 PM



By the adventrous KETE installation on Ubuntu server, 500 error is
gone, but I'm missing still some crucial intallation steps (?) Upon
ruby script/server command the server generates the following error.
The development database is empty. I entered in to basket table just a
dummy name.

Thanks being patient with me.
----------------------------------------------------------------
=> Booting WEBrick...
Rails Error: Unable to access log file. Please ensure that /home/kete/
apps/
kato/
log/development.log exists and is chmod 0666. The log level has been
raised to
W
ARN and the output directed to STDERR until the problem is fixed.

=> Rails 2.1.2 application started on http://0.0.0.0:3000
=> Ctrl-C to shutdown server; call with --help for options
[2010-02-08 04:52:15] INFO WEBrick 1.3.1
[2010-02-08 04:52:15] INFO ruby 1.8.7 (2009-06-12) [i686-linux]
[2010-02-08 04:52:15] INFO WEBrick::HTTPServer#start: pid=18687
port=3000

------------------------------------------------------------------

NameError in Index pageController#index

uninitialized constant Basket::HELP_BASKET

RAILS_ROOT: /home/kete/apps/kato
Application Trace | Framework Trace | Full Trace

vendor/rails/activesupport/lib/active_support/dependencies.rb:493:in
`const_missing'
app/models/basket.rb:49
app/controllers/application.rb:143:in `load_standard_baskets'

vendor/rails/activesupport/lib/active_support/dependencies.rb:493:in
`const_missing'
vendor/rails/activesupport/lib/active_support/dependencies.rb:216:in
`load_without_new_constant_marking'
vendor/rails/activesupport/lib/active_support/dependencies.rb:216:in
`load_file'
vendor/rails/activesupport/lib/active_support/dependencies.rb:355:in
`new_constants_in'
vendor/rails/activesupport/lib/active_support/dependencies.rb:215:in
`load_file'
vendor/rails/activesupport/lib/active_support/dependencies.rb:96:in
`require_or_load'
vendor/rails/activesupport/lib/active_support/dependencies.rb:261:in
`load_missing_constant'
vendor/rails/activesupport/lib/active_support/dependencies.rb:468:in
`const_missing'
vendor/rails/activesupport/lib/active_support/dependencies.rb:480:in
`const_missing'
vendor/rails/activesupport/lib/active_support/dependencies.rb:486:in
`send'
vendor/rails/activesupport/lib/active_support/dependencies.rb:486:in
`const_missing'
vendor/rails/activesupport/lib/active_support/callbacks.rb:173:in
`send'
vendor/rails/activesupport/lib/active_support/callbacks.rb:173:in
`evaluate_method'
vendor/rails/activesupport/lib/active_support/callbacks.rb:161:in
`call'
vendor/rails/actionpack/lib/action_controller/filters.rb:191:in `call'
vendor/rails/actionpack/lib/action_controller/filters.rb:591:in
`run_before_filters'
vendor/rails/actionpack/lib/action_controller/filters.rb:577:in
`call_filters'
vendor/rails/actionpack/lib/action_controller/filters.rb:572:in
`perform_action_without_benchmark'
vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in
`perform_action_without_rescue'
/usr/local/lib/ruby/1.8/benchmark.rb:293:in `measure'
vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in
`perform_action_without_rescue'
vendor/rails/actionpack/lib/action_controller/rescue.rb:201:in
`perform_action_without_caching'
vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:
13:in `perform_action'
vendor/rails/activerecord/lib/active_record/connection_adapters/
abstract/query_cache.rb:33:in `cache'
vendor/rails/activerecord/lib/active_record/query_cache.rb:8:in
`cache'
vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:
12:in `perform_action'
vendor/rails/actionpack/lib/action_controller/base.rb:529:in `send'
vendor/rails/actionpack/lib/action_controller/base.rb:529:in
`process_without_filters'
vendor/rails/actionpack/lib/action_controller/filters.rb:568:in
`process_without_session_management_support'
vendor/rails/actionpack/lib/action_controller/session_management.rb:
130:in `process'
vendor/rails/actionpack/lib/action_controller/base.rb:389:in `process'
vendor/rails/actionpack/lib/action_controller/dispatcher.rb:149:in
`handle_request'
vendor/rails/actionpack/lib/action_controller/dispatcher.rb:107:in
`dispatch'
vendor/rails/actionpack/lib/action_controller/dispatcher.rb:104:in
`synchronize'
vendor/rails/actionpack/lib/action_controller/dispatcher.rb:104:in
`dispatch'
vendor/rails/actionpack/lib/action_controller/dispatcher.rb:120:in
`dispatch_cgi'
vendor/rails/actionpack/lib/action_controller/dispatcher.rb:35:in
`dispatch'
vendor/rails/railties/lib/webrick_server.rb:112:in `handle_dispatch'
vendor/rails/railties/lib/webrick_server.rb:78:in `service'
/usr/local/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
/usr/local/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
/usr/local/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
/usr/local/lib/ruby/1.8/webrick/server.rb:162:in `start'
/usr/local/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
/usr/local/lib/ruby/1.8/webrick/server.rb:95:in `start'
/usr/local/lib/ruby/1.8/webrick/server.rb:92:in `each'
/usr/local/lib/ruby/1.8/webrick/server.rb:92:in `start'
/usr/local/lib/ruby/1.8/webrick/server.rb:23:in `start'
/usr/local/lib/ruby/1.8/webrick/server.rb:82:in `start'
vendor/rails/railties/lib/webrick_server.rb:62:in `dispatch'
vendor/rails/railties/lib/commands/servers/webrick.rb:66
/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:in
`require'
vendor/rails/activesupport/lib/active_support/dependencies.rb:510:in
`require'
vendor/rails/activesupport/lib/active_support/dependencies.rb:355:in
`new_constants_in'
vendor/rails/activesupport/lib/active_support/dependencies.rb:510:in
`require'
vendor/rails/railties/lib/commands/server.rb:39
/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:in
`require'
script/server:3

vendor/rails/activesupport/lib/active_support/dependencies.rb:493:in
`const_missing'
app/models/basket.rb:49
vendor/rails/activesupport/lib/active_support/dependencies.rb:216:in
`load_without_new_constant_marking'
vendor/rails/activesupport/lib/active_support/dependencies.rb:216:in
`load_file'
vendor/rails/activesupport/lib/active_support/dependencies.rb:355:in
`new_constants_in'
vendor/rails/activesupport/lib/active_support/dependencies.rb:215:in
`load_file'
vendor/rails/activesupport/lib/active_support/dependencies.rb:96:in
`require_or_load'
vendor/rails/activesupport/lib/active_support/dependencies.rb:261:in
`load_missing_constant'
vendor/rails/activesupport/lib/active_support/dependencies.rb:468:in
`const_missing'
vendor/rails/activesupport/lib/active_support/dependencies.rb:480:in
`const_missing'
vendor/rails/activesupport/lib/active_support/dependencies.rb:486:in
`send'
vendor/rails/activesupport/lib/active_support/dependencies.rb:486:in
`const_missing'
app/controllers/application.rb:143:in `load_standard_baskets'
vendor/rails/activesupport/lib/active_support/callbacks.rb:173:in
`send'
vendor/rails/activesupport/lib/active_support/callbacks.rb:173:in
`evaluate_method'
vendor/rails/activesupport/lib/active_support/callbacks.rb:161:in
`call'
vendor/rails/actionpack/lib/action_controller/filters.rb:191:in `call'
vendor/rails/actionpack/lib/action_controller/filters.rb:591:in
`run_before_filters'
vendor/rails/actionpack/lib/action_controller/filters.rb:577:in
`call_filters'
vendor/rails/actionpack/lib/action_controller/filters.rb:572:in
`perform_action_without_benchmark'
vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in
`perform_action_without_rescue'
/usr/local/lib/ruby/1.8/benchmark.rb:293:in `measure'
vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in
`perform_action_without_rescue'
vendor/rails/actionpack/lib/action_controller/rescue.rb:201:in
`perform_action_without_caching'
vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:
13:in `perform_action'
vendor/rails/activerecord/lib/active_record/connection_adapters/
abstract/query_cache.rb:33:in `cache'
vendor/rails/activerecord/lib/active_record/query_cache.rb:8:in
`cache'
vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:
12:in `perform_action'
vendor/rails/actionpack/lib/action_controller/base.rb:529:in `send'
vendor/rails/actionpack/lib/action_controller/base.rb:529:in
`process_without_filters'
vendor/rails/actionpack/lib/action_controller/filters.rb:568:in
`process_without_session_management_support'
vendor/rails/actionpack/lib/action_controller/session_management.rb:
130:in `process'
vendor/rails/actionpack/lib/action_controller/base.rb:389:in `process'
vendor/rails/actionpack/lib/action_controller/dispatcher.rb:149:in
`handle_request'
vendor/rails/actionpack/lib/action_controller/dispatcher.rb:107:in
`dispatch'
vendor/rails/actionpack/lib/action_controller/dispatcher.rb:104:in
`synchronize'
vendor/rails/actionpack/lib/action_controller/dispatcher.rb:104:in
`dispatch'
vendor/rails/actionpack/lib/action_controller/dispatcher.rb:120:in
`dispatch_cgi'
vendor/rails/actionpack/lib/action_controller/dispatcher.rb:35:in
`dispatch'
vendor/rails/railties/lib/webrick_server.rb:112:in `handle_dispatch'
vendor/rails/railties/lib/webrick_server.rb:78:in `service'
/usr/local/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
/usr/local/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
/usr/local/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
/usr/local/lib/ruby/1.8/webrick/server.rb:162:in `start'
/usr/local/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
/usr/local/lib/ruby/1.8/webrick/server.rb:95:in `start'
/usr/local/lib/ruby/1.8/webrick/server.rb:92:in `each'
/usr/local/lib/ruby/1.8/webrick/server.rb:92:in `start'
/usr/local/lib/ruby/1.8/webrick/server.rb:23:in `start'
/usr/local/lib/ruby/1.8/webrick/server.rb:82:in `start'
vendor/rails/railties/lib/webrick_server.rb:62:in `dispatch'
vendor/rails/railties/lib/commands/servers/webrick.rb:66
/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:in
`require'
vendor/rails/activesupport/lib/active_support/dependencies.rb:510:in
`require'
vendor/rails/activesupport/lib/active_support/dependencies.rb:355:in
`new_constants_in'
vendor/rails/activesupport/lib/active_support/dependencies.rb:510:in
`require'
vendor/rails/railties/lib/commands/server.rb:39
/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:in
`require'
script/server:3

Request

Parameters:

{"urlified_name"=>"kete"}

Show session dump

---
flash: !map:ActionController::Flash::FlashHash {}



On Feb 6, 12:29*pm, Frederick Cheung <frederick.che... (AT) gmail (DOT) com>
wrote:
Quote:
On Feb 6, 6:50*am, nbsimsah <sim... (AT) gmail (DOT) com> wrote:

I have on ubuntu a digital library application Kete which gives in the
log/production.log:

Please help, thnx.

/!\ FAILSAFE /!\ *Fri Feb 05 19:05:08 +0200 2010
* Status: 500 Internal Server Error
* No connection to server (localhost:11211 DEAD (Errno::ECONNREFUSED:
Connection refused - connect(2)), will retry at Fri Feb 05 19:05:38
+0200 2010)

Looks like your app is trying to use memcache but it couldn't talk to
the memcache server.

Fred
--
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 (AT) googlegroups (DOT) com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe (AT) googlegroups (DOT) com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply With Quote
  #6  
Old   
Craig White
 
Posts: n/a

Default Re: [Rails] Re: 500 Internal Error - 02-07-2010 , 08:33 PM



On Sun, 2010-02-07 at 17:22 -0800, nbsimsah wrote:
Quote:
By the adventrous KETE installation on Ubuntu server, 500 error is
gone, but I'm missing still some crucial intallation steps (?) Upon
ruby script/server command the server generates the following error.
The development database is empty. I entered in to basket table just a
dummy name.

Thanks being patient with me.
----------------------------------------------------------------
=> Booting WEBrick...
Rails Error: Unable to access log file. Please ensure that /home/kete/
apps/
kato/
log/development.log exists and is chmod 0666. The log level has been
raised to
W
ARN and the output directed to STDERR until the problem is fixed.
----
chmod -R 666 /home/kete/apps/kato/log
----
Quote:
------------------------------------------------------------------

NameError in Index pageController#index

uninitialized constant Basket::HELP_BASKET

RAILS_ROOT: /home/kete/apps/kato
Application Trace | Framework Trace | Full Trace

vendor/rails/activesupport/lib/active_support/dependencies.rb:493:in
`const_missing'
app/models/basket.rb:49
app/controllers/application.rb:143:in `load_standard_baskets'
----
line 49 in /home/kete/apps/kato/app/models/basket.rb has something
referring to HELP_BASKET

It doesn't work - it is causing an error.

You are going to have to learn how to solve these errors.

Craig


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

--
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 (AT) googlegroups (DOT) com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe (AT) googlegroups (DOT) com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.