Welcome Guest Login Register Member List
ExpressionEngine Forums
Advanced Search
Username: Password:
Remember Me? forgot password?
You are here: Forum Home  >  Usage  >  Troubleshooting  >  Thread
   
 
fastcgi configuration issues: downcase in nil:NilClass and SQLite3::SQLException:
 
emory
Posted: 09 August 2006 06:08 PM   [ Ignore ]  
Newbie
Rank
Total Posts:  18
Joined  2006-07-26

I’m not sure what I’m doing wrong here.

Tracks runs on webbrick without problems.

I try to setup a vhost to run my instance via fastcgi instead (as I do for my Typo weblog) and it is giving me a hard time.  I have the .htaccess setup properly (it is mostly identical to the one i use for my typo installation) but just doesn’t want to work right.

You can check it out and see the errors I get via http here:

http://tracks.hellyeah.com/

Then I get errors like this:

SQLite3::SQLException: SQL logic error or missing database: INSERT INTO sessions (“updated_at”, “session_id”, “data”) VALUES(‘2006-08-09 14:07:28’, ‘49ef0f95a5d187e8615f90c6804fddbc’, ‘BAh7CCIQZXhwaXJ5X3RpbWV1OglUaW1lDTOdGoDxic0dIg5yZXR1cm4tdG8i
Bi8iCmZsYXNoSUM6J0FjdGlvbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhh
c2h7AAY6CkB1c2VkewA=
‘)

From the web.  I also try to run plain dispatch.cgi from the commandline to return something that looks like renderable HTML with no luck:

$ ./dispatch.cgi
Status: 500 Internal Server Error
Content-Type: text/plain

undefined method `downcase’ for nil:NilClass
../config/../vendor/rails/actionpack/lib/action_controller/request.rb:17:in `method’
../config/../vendor/rails/actionpack/lib/action_controller/base.rb:900:in `log_processing’
../config/../vendor/rails/actionpack/lib/action_controller/base.rb:378:in `process_without_filters’
../config/../vendor/rails/actionpack/lib/action_controller/filters.rb:364:in `process_without_session_management_support’
../config/../vendor/rails/actionpack/lib/action_controller/session_management.rb:117:in `process’
../config/../vendor/rails/railties/lib/dispatcher.rb:38:in `dispatch’

Any ideas?

Profile
 
emory
Posted: 11 August 2006 04:01 AM   [ Ignore ]   [ # 1 ]  
Newbie
Rank
Total Posts:  18
Joined  2006-07-26

Resolved.

Want to know the best way to use fastcgi?

Don’t.  Use mongrel instead.

Profile
 
   
 
 
‹‹ Tracks running very very slow on Windows XP Pro      token changes when preferences do ››

Powered By ExpressionEngine
Template Design By Sonnenvogel.com
Select a theme:

ExpressionEngine Discussion Forum - Version 2.1.2 (20091002)
Script Executed in 0.0983 seconds

Atom Feed
RSS 2.0