After shutting down pimki and restarting again, accessing the home page of pimki causes a major error and no content
page can be displayed. I'm running pimki 1.8.2 on WinXP with ruby 1.8
Error message: undefined method `categories' for nil:NilClass
Action: show
Request: GET /joewiki/show/HomePage HTTP/1.1 Host: localhost:2500 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1;
en-US; rv:1.8.0.4) Gecko/20060508 Firefox/1.5.0.4 Accept:
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 Accept-Language:
en-us,en;q=0.5 Accept-Encoding: gzip,deflate Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 Keep-Alive: 300 Connection:
keep-alive
Backtrace:
c:/ruby/lib/ruby/gems/1.8/gems/Pimki-1.8.200/app/controllers/wiki.rb:88:in `parse_category'
c:/ruby/lib/ruby/gems/1.8/gems/Pimki-1.8.200/app/controllers/wiki.rb:450:in `set_menu_pages'
c:/ruby/lib/ruby/gems/1.8/gems/Pimki-1.8.200/app/controllers/wiki.rb:587:in `show'
c:/ruby/lib/ruby/gems/1.8/gems/Pimki-1.8.200/libraries/action_controller_servlet.rb:135:in `perform_action'
c:/ruby/lib/ruby/gems/1.8/gems/Pimki-1.8.200/libraries/action_controller_servlet.rb:41:in `do_GET'
c:/ruby/lib/ruby/1.8/webrick/httpservlet/abstract.rb:35:in `service'
c:/ruby/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
c:/ruby/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
c:/ruby/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
c:/ruby/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
c:/ruby/lib/ruby/1.8/webrick/server.rb:95:in `start'
c:/ruby/lib/ruby/1.8/webrick/server.rb:92:in `start'
c:/ruby/lib/ruby/1.8/webrick/server.rb:23:in `start'
c:/ruby/lib/ruby/1.8/webrick/server.rb:82:in `start'
c:/ruby/lib/ruby/gems/1.8/gems/Pimki-1.8.200/libraries/web_controller_server.rb:90:in `start_server'
c:/ruby/lib/ruby/gems/1.8/gems/Pimki-1.8.200/libraries/web_controller_server.rb:30:in `initialize'
c:/ruby/lib/ruby/gems/1.8/gems/Pimki-1.8.200/./pimki.rb:180
c:/ruby/bin/pimki.rb:18 |