generaldesoftware / RedMine-plantillas-plugin

This plugin allow you choose a wiki template when you add a new page.
23 stars 21 forks source link

ChiliProject 2.5 500 error #3

Closed klou closed 12 years ago

klou commented 12 years ago

Error is generated after installing the plugin and attempting to access any wiki.

With Thin:

Processing WikiController#show (for 23.23.23.225 at 2012-01-24 15:47:43) [GET]
  Parameters: {"project_id"=>"tmlgeneral", "action"=>"show", "controller"=>"wiki"}

NoMethodError (undefined method `new_record?' for nil:NilClass):
  /usr/lib/ruby/1.8/rack/adapter/rails.rb:74:in `call'
  /usr/lib/ruby/1.8/thin/connection.rb:76:in `pre_process'
  /usr/lib/ruby/1.8/thin/connection.rb:74:in `catch'
  /usr/lib/ruby/1.8/thin/connection.rb:74:in `pre_process'
  /usr/lib/ruby/1.8/thin/connection.rb:57:in `process'
  /usr/lib/ruby/1.8/thin/connection.rb:42:in `receive_data'
  /usr/lib/ruby/1.8/eventmachine.rb:257:in `run_machine'
  /usr/lib/ruby/1.8/eventmachine.rb:257:in `run'
  /usr/lib/ruby/1.8/thin/backends/base.rb:57:in `start'
  /usr/lib/ruby/1.8/thin/server.rb:156:in `start'
  /usr/lib/ruby/1.8/thin/controllers/controller.rb:80:in `start'
  /usr/lib/ruby/1.8/thin/runner.rb:174:in `send'
  /usr/lib/ruby/1.8/thin/runner.rb:174:in `run_command'
  /usr/lib/ruby/1.8/thin/runner.rb:140:in `run!'
  /usr/bin/thin1.8:6

Rendering /opt/chiliproject/public/500.html (500 Internal Server Error)

With webrick:

NoMethodError (undefined method `new_record?' for nil:NilClass):
  /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
  /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
  /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
  /usr/lib/ruby/1.8/webrick/server.rb:162:in `start'
  /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
  /usr/lib/ruby/1.8/webrick/server.rb:95:in `start'
  /usr/lib/ruby/1.8/webrick/server.rb:92:in `each'
  /usr/lib/ruby/1.8/webrick/server.rb:92:in `start'
  /usr/lib/ruby/1.8/webrick/server.rb:23:in `start'
  /usr/lib/ruby/1.8/webrick/server.rb:82:in `start'

Rendering /opt/chiliproject/public/500.html (500 Internal Server Error)

ChiliProject 2.5.0 Plantillas 0.0.2 WikiNG 0.0.1b Redmine Wiki Extensions 0.3.8

gchaves commented 12 years ago

We will study how to repair it in the next version of the plugin. Thank you for the advise of the error.

gchaves commented 12 years ago

Sorry but the plugin doesn`t suport this version of ChiliProject.