Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Radiant CMS - Application Error when logging in #398

Open
brittanyblair opened this issue Feb 15, 2016 · 3 comments
Open

Radiant CMS - Application Error when logging in #398

brittanyblair opened this issue Feb 15, 2016 · 3 comments

Comments

@brittanyblair
Copy link

I've installed the Radiant CMS on my Ruby on Rails app, and the install was (seemingly) successful. However when I navigate to: www.myserver.com/admin, I typed in my username and password, hit the submit button, and get the below error:

Application error

Change this error message for exceptions thrown outside of an action (like in Dispatcher setups or broken Ruby code) in public/500.html

Does anyone know why this might be? See the gist of my console log below:

> [2016-02-15 06:49:12] WARN  Could not determine content-length of
> response body. Set content-length of the response or set
> Response#chunked = true /!\ FAILSAFE /!\  2016-02-15 06:49:16 +0000  
> Status: 500 Internal Server Error   undefined method `options?' for
> #<Rack::Cache::Request:0x00000003a1a380>
@gomarotec
Copy link

I have the same problem!

=> Ctrl-C to shutdown server
Thin web server (v1.6.4 codename Gob Bluth)
Maximum connections set to 1024
Listening on 0.0.0.0:8080, CTRL+C to stop
/!\ FAILSAFE /!\ 2016-04-06 09:54:14 +0000
Status: 500 Internal Server Error
undefined method options?' for #<Rack::Cache::Request:0x00000004f63ae8> /usr/local/rvm/gems/ruby-1.9.3-p551/gems/rack-cache-1.6.1/lib/rack/cache/context.rb:71:incall!'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/rack-cache-1.6.1/lib/rack/cache/context.rb:51:in call' /usr/local/rvm/gems/ruby-1.9.3-p551/gems/actionpack-2.3.18/lib/action_controller/string_coercion.rb:25:incall'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/rack-1.1.6/lib/rack/head.rb:9:in call' /usr/local/rvm/gems/ruby-1.9.3-p551/gems/rack-1.1.6/lib/rack/methodoverride.rb:24:incall'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/actionpack-2.3.18/lib/action_controller/params_parser.rb:15:in call' /usr/local/rvm/gems/ruby-1.9.3-p551/gems/actionpack-2.3.18/lib/action_controller/session/cookie_store.rb:99:incall'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/actionpack-2.3.18/lib/action_controller/failsafe.rb:26:in call' /usr/local/rvm/gems/ruby-1.9.3-p551/gems/rack-1.1.6/lib/rack/lock.rb:11:inblock in call'
internal:prelude:10:in synchronize' /usr/local/rvm/gems/ruby-1.9.3-p551/gems/rack-1.1.6/lib/rack/lock.rb:11:incall'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/actionpack-2.3.18/lib/action_controller/dispatcher.rb:106:in call' /usr/local/rvm/gems/ruby-1.9.3-p551/gems/rails-2.3.18/lib/rails/rack/static.rb:31:incall'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/rack-1.1.6/lib/rack/urlmap.rb:47:in block in call' /usr/local/rvm/gems/ruby-1.9.3-p551/gems/rack-1.1.6/lib/rack/urlmap.rb:41:ineach'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/rack-1.1.6/lib/rack/urlmap.rb:41:in call' /usr/local/rvm/gems/ruby-1.9.3-p551/gems/rails-2.3.18/lib/rails/rack/log_tailer.rb:17:incall'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/rack-1.1.6/lib/rack/content_length.rb:13:in call' /usr/local/rvm/gems/ruby-1.9.3-p551/gems/rack-1.1.6/lib/rack/chunked.rb:15:incall'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/thin-1.6.4/lib/thin/connection.rb:86:in block in pre_process' /usr/local/rvm/gems/ruby-1.9.3-p551/gems/thin-1.6.4/lib/thin/connection.rb:84:incatch'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/thin-1.6.4/lib/thin/connection.rb:84:in pre_process' /usr/local/rvm/gems/ruby-1.9.3-p551/gems/thin-1.6.4/lib/thin/connection.rb:53:inprocess'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/thin-1.6.4/lib/thin/connection.rb:39:in receive_data' /usr/local/rvm/gems/ruby-1.9.3-p551/gems/eventmachine-1.2.0.1/lib/eventmachine.rb:194:inrun_machine'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/eventmachine-1.2.0.1/lib/eventmachine.rb:194:in run' /usr/local/rvm/gems/ruby-1.9.3-p551/gems/thin-1.6.4/lib/thin/backends/base.rb:73:instart'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/thin-1.6.4/lib/thin/server.rb:162:in start' /usr/local/rvm/gems/ruby-1.9.3-p551/gems/rack-1.1.6/lib/rack/handler/thin.rb:14:inrun'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/rails-2.3.18/lib/commands/server.rb:111:in <top (required)>' script/server:3:inrequire'
script/server:3:in `

'

@jimmckerchar
Copy link

I'm also experiencing this issue. I followed the step-by step guide here >> https://github.com/radiant/radiant/wiki/Installing-on-Ubuntu

but when i try to log in using the username/password configured during installation, i get this in the terminal...

 SQL (0.1ms)   SELECT DISTINCT class_name FROM pages WHERE class_name <> '' AND class_name IS NOT NULL
/!\ FAILSAFE /!\  2016-06-21 09:54:12 +0100
  Status: 500 Internal Server Error
  undefined method `options?' for #<Rack::Cache::Request:0x00000005974780>
    /home/work/.rvm/gems/ruby-1.9.3-p551@radiant/gems/rack-cache-1.6.1/lib/rack/cache/context.rb:71:in `call!'
    /home/work/.rvm/gems/ruby-1.9.3-p551@radiant/gems/rack-cache-1.6.1/lib/rack/cache/context.rb:51:in `call'
    /home/work/.rvm/gems/ruby-1.9.3-p551@radiant/gems/actionpack-2.3.18/lib/action_controller/string_coercion.rb:25:in `call'
    /home/work/.rvm/gems/ruby-1.9.3-p551@radiant/gems/rack-1.1.6/lib/rack/head.rb:9:in `call'
    /home/work/.rvm/gems/ruby-1.9.3-p551@radiant/gems/rack-1.1.6/lib/rack/methodoverride.rb:24:in `call'
    /home/work/.rvm/gems/ruby-1.9.3-p551@radiant/gems/actionpack-2.3.18/lib/action_controller/params_parser.rb:15:in `call'
    /home/work/.rvm/gems/ruby-1.9.3-p551@radiant/gems/actionpack-2.3.18/lib/action_controller/session/cookie_store.rb:99:in `call'
    /home/work/.rvm/gems/ruby-1.9.3-p551@radiant/gems/actionpack-2.3.18/lib/action_controller/failsafe.rb:26:in `call'
    /home/work/.rvm/gems/ruby-1.9.3-p551@radiant/gems/rack-1.1.6/lib/rack/lock.rb:11:in `block in call'
    <internal:prelude>:10:in `synchronize'
    /home/work/.rvm/gems/ruby-1.9.3-p551@radiant/gems/rack-1.1.6/lib/rack/lock.rb:11:in `call'
    /home/work/.rvm/gems/ruby-1.9.3-p551@radiant/gems/actionpack-2.3.18/lib/action_controller/dispatcher.rb:114:in `block in call'
    /home/work/.rvm/gems/ruby-1.9.3-p551@radiant/gems/actionpack-2.3.18/lib/action_controller/reloader.rb:34:in `run'
    /home/work/.rvm/gems/ruby-1.9.3-p551@radiant/gems/actionpack-2.3.18/lib/action_controller/dispatcher.rb:108:in `call'
    /home/work/.rvm/gems/ruby-1.9.3-p551@radiant/gems/rails-2.3.18/lib/rails/rack/static.rb:31:in `call'
    /home/work/.rvm/gems/ruby-1.9.3-p551@radiant/gems/rack-1.1.6/lib/rack/urlmap.rb:47:in `block in call'
    /home/work/.rvm/gems/ruby-1.9.3-p551@radiant/gems/rack-1.1.6/lib/rack/urlmap.rb:41:in `each'
    /home/work/.rvm/gems/ruby-1.9.3-p551@radiant/gems/rack-1.1.6/lib/rack/urlmap.rb:41:in `call'
    /home/work/.rvm/gems/ruby-1.9.3-p551@radiant/gems/rails-2.3.18/lib/rails/rack/log_tailer.rb:17:in `call'
    /home/work/.rvm/gems/ruby-1.9.3-p551@radiant/gems/rack-1.1.6/lib/rack/content_length.rb:13:in `call'
    /home/work/.rvm/gems/ruby-1.9.3-p551@radiant/gems/rack-1.1.6/lib/rack/handler/webrick.rb:48:in `service'
    /home/work/.rvm/rubies/ruby-1.9.3-p551/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
    /home/work/.rvm/rubies/ruby-1.9.3-p551/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
    /home/work/.rvm/rubies/ruby-1.9.3-p551/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'

thanks

@ukoloff
Copy link

ukoloff commented Jul 28, 2016

I found that adding gem 'rack-cache', '~>1.2.0' to Gemfile fixes this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants