Neverending i2/lighttpd problems

So after recompiling ruby a few times to get ssl and readline working,
fighting with lighty for awhile, and learning a bit more about linux
in the process, I think I’m really close to getting i2 up and running.
However, when I try to access my wiki, I get either a blank page or
an error 500 and the stack trace below gets sent to the log. If I
can’t get this working soon I’m just going to scrap it and get the
lamest php wiki running that I can find.

setup info: WHEL3, ruby 1.8.4, rails 1.0, mysql 4.1.12, lighttpd-1.4.8
on port 3000, i2 from the regular old rails subversion repository.
I’m using a lighty config file very similiar to the sample from James
helpful essay: http://duncandavidson.com/essay/2005/12/railsonlighty

I am able to load things from the database via .script/console, and I
have setup i2 according to the readme included so there is the initial
wiki record.

Stack trace below from production.log, I’m not sure which exception is
the real problem:

Processing BooksController#premiere (for 12.21.94.10 at 2006-02-25
02:47:37) [GET
]
Parameters: {“action”=>“premiere”, “controller”=>“books”}

ArgumentError (Unknown key(s): condition):
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/core
_ext/hash/keys.rb:48:in assert_valid_keys' /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/base. rb:1169:in validate_find_options’
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/base.
rb:1164:in extract_options_from_args!' /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/base. rb:379:in find’
/app/controllers/books_controller.rb:7:in premiere' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/bas e.rb:853:in perform_action_without_filters’
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/fil
ters.rb:332:in perform_action_without_benchmark' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/ben chmarking.rb:69:in perform_action_without_rescue’
/usr/local/lib/ruby/1.8/benchmark.rb:293:in measure' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/ben chmarking.rb:69:in perform_action_without_rescue’
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/res
cue.rb:82:in perform_action' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/bas e.rb:369:in process_without_session_management_support’
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/ses
sion_management.rb:116:in process' /usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:38:in dispat
ch’
/usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:141:in
pro cess_request' /usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:53:in proc
ess!’
/usr/local/lib/ruby/site_ruby/1.8/fcgi.rb:600:in each_cgi' /usr/local/lib/ruby/site_ruby/1.8/fcgi.rb:597:in each_cgi’
/usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:52:in
proc ess!' /usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:22:in proc
ess!’
/usr/apps/madrails_wiki/public/dispatch.fcgi:24

Processing PagesController#show (for 12.21.94.10 at 2006-02-25 02:47:42)
[GET]
Parameters: {“page_title”=>“Home Page”, “action”=>“show”,
“controller”=>“pages”
, “book_url_name”=>“wiki”}
Rendering within layouts/application
Rendering pages/show

ActionView::TemplateError (undefined method `existing_page_titles’ for
nil:NilCla
ss) on line #3 of app/views/pages/show.rhtml:
1: <% @title = @page.title %>
2:
3: <%= markup(@page.current_version.body) %>
4:
5:


6: <%= @page.versions.size == 1 ? “Created” : “Updated” %>

#{RAILS_ROOT}/app/helpers/application_helper.rb:28:in `markup'
#{RAILS_ROOT}/app/views/pages/show.rhtml:3
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:2

68:in compile_and_render_template' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:2 44:in render_template’
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:2
05:in render_file' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/bas e.rb:655:in render_file’
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/bas
e.rb:595:in render_with_no_layout' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/lay out.rb:220:in render_without_benchmark’
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/ben
chmarking.rb:53:in render' /usr/local/lib/ruby/1.8/benchmark.rb:293:in measure’
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/ben
chmarking.rb:53:in render' #{RAILS_ROOT}/app/controllers/pages_controller.rb:15:in show’
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/bas
e.rb:853:in perform_action_without_filters' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/fil ters.rb:332:in perform_action_without_benchmark’
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/ben
chmarking.rb:69:in perform_action_without_rescue' /usr/local/lib/ruby/1.8/benchmark.rb:293:in measure’
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/ben
chmarking.rb:69:in perform_action_without_rescue' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/res cue.rb:82:in perform_action’
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/bas
e.rb:369:in process_without_session_management_support' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/ses sion_management.rb:116:in process’
/usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:38:in
dispat ch' /usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:141:in pro
cess_request’
/usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:53:in
proc ess!' /usr/local/lib/ruby/site_ruby/1.8/fcgi.rb:600:in each_cgi’
/usr/local/lib/ruby/site_ruby/1.8/fcgi.rb:597:in each_cgi' /usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:52:in proc
ess!’
/usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:22:in
`proc
ess!’
/usr/apps/madrails_wiki/public/dispatch.fcgi:24

thanks!
Rob