Help ... registration_mail

Iâ??ve been trying to setup RForum .

When I tried to register, I got error saying â??Application error (Rails)â?
upon submitting the form. And this is what I found in the log file :

ActionView::ActionViewError in UserController#register
No rhtml, rxml, rjs or delegate template found for registration_mail
RAILS_ROOT: ./script/…/config/…

john gao wrote:

Iâ??ve been trying to setup RForum .

When I tried to register, I got error saying â??Application error (Rails)â?
upon submitting the form. And this is what I found in the log file :

ActionView::ActionViewError in UserController#register
No rhtml, rxml, rjs or delegate template found for registration_mail
RAILS_ROOT: ./script/…/config/…

I find debug for my setup.

I add a cn.yaml , but there no have rthml in view/mail/cn

I am getting a smilar error when trying to sign up new users. (I’ve
upgraded from 0.2 to lates SVN). Also get something pretty much the same
when trying to send a message to an existing users:

ActionView::ActionViewError (No rhtml, rxml, rjs or delegate template
found for user_message):

The full extent of the two error messages below:

ActionView::ActionViewError (No rhtml, rxml, rjs or delegate template
found for user_message):
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_view/base.rb:387:in
find_template_extension_for' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_view/base.rb:321:inpick_template_extension’
/app/helpers/mod_view.rb:17:in render_file' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_view/base.rb:272:inrender’
/usr/local/lib/ruby/gems/1.8/gems/actionmailer-1.2.1/lib/action_mailer/base.rb:363:in
render' /usr/local/lib/ruby/gems/1.8/gems/actionmailer-1.2.1/lib/action_mailer/base.rb:358:inrender_message’
/usr/local/lib/ruby/gems/1.8/gems/actionmailer-1.2.1/lib/action_mailer/base.rb:306:in
create!' /usr/local/lib/ruby/gems/1.8/gems/actionmailer-1.2.1/lib/action_mailer/base.rb:267:ininitialize’
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in
new' /usr/local/lib/ruby/gems/1.8/gems/actionmailer-1.2.1/lib/action_mailer/base.rb:227:inmethod_missing’
/app/controllers/user_controller.rb:100:in show' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/base.rb:910:inperform_action_without_filters’
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/filters.rb:368:in
perform_action_without_benchmark' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/benchmarking.rb:69:inperform_action_without_rescue’
/usr/local/lib/ruby/1.8/benchmark.rb:293:in measure' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/benchmarking.rb:69:inperform_action_without_rescue’
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/rescue.rb:82:in
perform_action' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/base.rb:381:inprocess_without_filters’
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/filters.rb:377:in
process_without_session_management_support' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/session_management.rb:117:inprocess’
/usr/local/lib/ruby/gems/1.8/gems/rails-1.1.2/lib/dispatcher.rb:38:in
dispatch' /usr/local/lib/ruby/gems/1.8/gems/rails-1.1.2/lib/fcgi_handler.rb:150:inprocess_request’
/usr/local/lib/ruby/gems/1.8/gems/rails-1.1.2/lib/fcgi_handler.rb:54:in
process!' /usr/local/lib/ruby/gems/1.8/gems/fcgi-0.8.6.1/./fcgi.rb:600:ineach_cgi’
/usr/local/lib/ruby/gems/1.8/gems/fcgi-0.8.6.1/./fcgi.rb:597:in
each_cgi' /usr/local/lib/ruby/gems/1.8/gems/rails-1.1.2/lib/fcgi_handler.rb:53:inprocess!’
/usr/local/lib/ruby/gems/1.8/gems/rails-1.1.2/lib/fcgi_handler.rb:23:in
`process!’
/public/dispatch.fcgi:24

ActionView::ActionViewError (No rhtml, rxml, rjs or delegate template
found for registration_mail):
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_view/base.rb:387:in
find_template_extension_for' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_view/base.rb:321:inpick_template_extension’
/app/helpers/mod_view.rb:17:in render_file' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_view/base.rb:272:inrender’
/usr/local/lib/ruby/gems/1.8/gems/actionmailer-1.2.1/lib/action_mailer/base.rb:363:in
render' /usr/local/lib/ruby/gems/1.8/gems/actionmailer-1.2.1/lib/action_mailer/base.rb:358:inrender_message’
/usr/local/lib/ruby/gems/1.8/gems/actionmailer-1.2.1/lib/action_mailer/base.rb:306:in
create!' /usr/local/lib/ruby/gems/1.8/gems/actionmailer-1.2.1/lib/action_mailer/base.rb:267:ininitialize’
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in
new' /usr/local/lib/ruby/gems/1.8/gems/actionmailer-1.2.1/lib/action_mailer/base.rb:227:inmethod_missing’
/app/controllers/user_controller.rb:79:in register' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/base.rb:910:inperform_action_without_filters’
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/filters.rb:368:in
perform_action_without_benchmark' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/benchmarking.rb:69:inperform_action_without_rescue’
/usr/local/lib/ruby/1.8/benchmark.rb:293:in measure' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/benchmarking.rb:69:inperform_action_without_rescue’
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/rescue.rb:82:in
perform_action' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/base.rb:381:inprocess_without_filters’
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/filters.rb:377:in
process_without_session_management_support' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/session_management.rb:117:inprocess’
/usr/local/lib/ruby/gems/1.8/gems/rails-1.1.2/lib/dispatcher.rb:38:in
dispatch' /usr/local/lib/ruby/gems/1.8/gems/rails-1.1.2/lib/fcgi_handler.rb:150:inprocess_request’
/usr/local/lib/ruby/gems/1.8/gems/rails-1.1.2/lib/fcgi_handler.rb:54:in
process!' /usr/local/lib/ruby/gems/1.8/gems/fcgi-0.8.6.1/./fcgi.rb:600:ineach_cgi’
/usr/local/lib/ruby/gems/1.8/gems/fcgi-0.8.6.1/./fcgi.rb:597:in
each_cgi' /usr/local/lib/ruby/gems/1.8/gems/rails-1.1.2/lib/fcgi_handler.rb:53:inprocess!’
/usr/local/lib/ruby/gems/1.8/gems/rails-1.1.2/lib/fcgi_handler.rb:23:in
`process!’
/public/dispatch.fcgi:24

John Gao wrote:

Iâ??ve been trying to setup RForum .

When I tried to register, I got error saying â??Application error (Rails)â?
upon submitting the form. And this is what I found in the log file :

ActionView::ActionViewError in UserController#register
No rhtml, rxml, rjs or delegate template found for registration_mail
RAILS_ROOT: ./script/…/config/…

I have similar problem. Did you found solution?

reads second post in thread again and plays dumb

Yes it works now :slight_smile:

Mr. Kibenimatik wrote:

John Gao wrote:

Iâ??ve been trying to setup RForum .

When I tried to register, I got error saying â??Application error (Rails)â?
upon submitting the form. And this is what I found in the log file :

ActionView::ActionViewError in UserController#register
No rhtml, rxml, rjs or delegate template found for registration_mail
RAILS_ROOT: ./script/…/config/…

I have similar problem. Did you found solution?

Hi,

I had the same issue when trying to send email via ActionMailer. I DID
have the required .rhtml file it was complaining was missing from.

What I needed to fix is comment out the following line in the
/config/environment.rb file and it worked straight away:

config.frameworks -= [ :action_web_service, :action_mailer ]