Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
archonwang opened this issue Jun 29, 2011 · 0 comments
Open

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

archonwang opened this issue Jun 29, 2011 · 0 comments

Comments

@archonwang
Copy link

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant