Hi,
I get 500.html error, and have done everything: .htaccess, give all
permissions, etc. It neither works on webrick (locally), nor on Apache
(on http). (The public/index.html shows up, but if I go to any pages in
the controller, it does not.)
Maybe it is the problem of different configuration of rails I am
having…
=========================================================
Here is part of config/environment.rb:
Be sure to restart your web server when you modify this file.
Uncomment below to force Rails into production mode when
you don’t control web/app server and can’t set it the proper way
ENV[‘RAILS_ENV’] ||= ‘production’
Specifies gem version of Rails to use when vendor/rails is not present
RAILS_GEM_VERSION = ‘1.2.3’ unless defined? RAILS_GEM_VERSION
Here is the log file form production.log (using webrick):
File too large -
/afs/cs.stanford.edu/group/reconstruction3d/www/Recon3d/public/…/config/…/tmp/sessions//ruby_sess.77cd661a12f07bca
/usr/lib/ruby/1.8/pstore.rb:290:in initialize' /usr/lib/ruby/1.8/pstore.rb:290:in
open’
/usr/lib/ruby/1.8/pstore.rb:290:in transaction' /usr/lib/ruby/1.8/cgi/session/pstore.rb:62:in
initialize’
/usr/lib/ruby/1.8/cgi/session.rb:273:in new' /usr/lib/ruby/1.8/cgi/session.rb:273:in
initialize’
/usr/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/cgi_process.rb:123:in
new' /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/cgi_process.rb:123:in
session’
/usr/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/cgi_process.rb:155:in
stale_session_check!' /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/cgi_process.rb:110:in
session’
/usr/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/base.rb:1052:in
assign_shortcuts_without_flash' /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/flash.rb:140:in
assign_shortcuts’
/usr/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/base.rb:424:in
process_without_filters' /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/filters.rb:624:in
process_without_session_management_support’
/usr/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/session_management.rb:114:in
process' /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/base.rb:330:in
process’
/usr/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/dispatcher.rb:41:in
dispatch' /usr/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/fcgi_handler.rb:168:in
process_request’
/usr/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/fcgi_handler.rb:143:in
process_each_request!' /usr/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/fcgi_handler.rb:109:in
with_signal_handler’
/usr/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/fcgi_handler.rb:142:in
process_each_request!' /usr/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:612:in
each_cgi’
/usr/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:117:in session' /usr/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:104:in
each_request’
/usr/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:36:in each' /usr/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:609: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/gems/rails-1.2.3/lib/fcgi_handler.rb:55:in
process!’
/usr/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/fcgi_handler.rb:25:in
`process!’
/afs/cs.stanford.edu/group/reconstruction3d/www/Recon3d/public/dispatch.fcgi:25