Forums » RForum » Help ... registration_mail

Help ... registration_mail
Posted by John Gao (softf5ajivanet)
on 23.05.2006 11:57
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/..


Re: Help ... registration_mail
Posted by Stian Hole (stian)
on 14.07.2006 03:45
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:in 
`pick_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:in 
`render'
    /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:in 
`render_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:in 
`initialize'
    /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:in 
`method_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:in 
`perform_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:in 
`perform_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:in 
`perform_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:in 
`process_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:in 
`process'
    /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:in 
`process_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:in 
`each_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:in 
`process!'
    /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:in 
`pick_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:in 
`render'
    /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:in 
`render_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:in 
`initialize'
    /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:in 
`method_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:in 
`perform_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:in 
`perform_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:in 
`perform_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:in 
`process_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:in 
`process'
    /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:in 
`process_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:in 
`each_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:in 
`process!'
    /usr/local/lib/ruby/gems/1.8/gems/rails-1.1.2/lib/fcgi_handler.rb:23:in 
`process!'
    /public/dispatch.fcgi:24


Re: Help ... registration_mail
Posted by Stian Hole (stian)
on 14.07.2006 16:46
*reads second post in thread again and plays dumb*

Yes it works now :)
Re: Help ... registration_mail
Posted by Adam Hill (Guest)
on 21.08.2006 06:25
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 ]
Re: Help ... registration_mail
Posted by John Gao (softf5ajivanet)
on 23.05.2006 12:35
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
Re: Help ... registration_mail
Posted by Mr. Kibenimatik (kibenimatik)
on 31.07.2006 13:13
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?