Skip to content

when add/update a faq, post a 500 error #3

@archonwang

Description

@archonwang

my enviroment:
Os:cent os 5.4
db:mysql
faq version: 0.3.5

steps as follows:

  1. login, faq tab
  2. new faq
  3. input something and save
    error page 500

I check the log and found something like this

Processing EzfaqController#new (for 192.168.3.74 at 2011-06-29 11:17:31) [GET]
Parameters: {"action"=>"new", "id"=>"dmy", "controller"=>"ezfaq"}
Rendering template within layouts/base
Rendering ezfaq/new
Completed in 67ms (View: 61, DB: 1) | 200 OK [http://192.168.2.135/ezfaq/new/dmy]

Processing EzfaqController#new (for 192.168.3.74 at 2011-06-29 11:17:52) [POST]
Parameters: {"faq"=>{"related_issue_id"=>"", "related_version_id"=>"", "assigned_to_id"=>"", "category_id"=>"", "due_date"=>"", "question"=>"testtext", "related_message_id"=>"", "difficulty"=>"5", "answer"=>"<p align="left">testtext

\r\n

testtext

\r\n"}, "commit"=>"创建", "action"=>"new", "authenticity_token"=>"ej2ZdRbvj4JTADD5LXUHWVD0NS8Kl0YjZhEXKBIGleE=", "id"=>"dmy", "difficulty_label"=>"difficult", "controller"=>"ezfaq", "attachments"=>{"1"=>{"description"=>""}}}

ActionView::MissingTemplate (Missing template faq_mailer/faq_add.text.plain.rhtml in view path app/views):
vendor/plugins/ezfaq_plugin/app/models/faq_mailer.rb:37:in faq_add' vendor/plugins/ezfaq_plugin/app/models/faq_mailer.rb:36:infaq_add'
vendor/plugins/ezfaq_plugin/app/controllers/ezfaq_controller.rb:80:in new' /usr/local/ruby/lib/ruby/1.8/webrick/httpserver.rb:104:inservice'
/usr/local/ruby/lib/ruby/1.8/webrick/httpserver.rb:65:in run' /usr/local/ruby/lib/ruby/1.8/webrick/server.rb:173:instart_thread'
/usr/local/ruby/lib/ruby/1.8/webrick/server.rb:162:in start' /usr/local/ruby/lib/ruby/1.8/webrick/server.rb:162:instart_thread'
/usr/local/ruby/lib/ruby/1.8/webrick/server.rb:95:in start' /usr/local/ruby/lib/ruby/1.8/webrick/server.rb:92:ineach'
/usr/local/ruby/lib/ruby/1.8/webrick/server.rb:92:in start' /usr/local/ruby/lib/ruby/1.8/webrick/server.rb:23:instart'
/usr/local/ruby/lib/ruby/1.8/webrick/server.rb:82:in `start'

Rendering /usr/local/redmine-1.2/public/500.html (500 Internal Server Error)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions