Forum: Ruby-Forum.com Help ... registration_mail

0f5eae183bed6d6a18eede49344cd8fe?d=identicon&s=25 John Gao (softf5ajivanet)
on 2006-05-23 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/..
0f5eae183bed6d6a18eede49344cd8fe?d=identicon&s=25 John Gao (softf5ajivanet)
on 2006-05-23 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
38007b98b4915b915e1be2480c886f2f?d=identicon&s=25 Stian Hole (stian)
on 2006-07-14 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
38007b98b4915b915e1be2480c886f2f?d=identicon&s=25 Stian Hole (stian)
on 2006-07-14 16:46
*reads second post in thread again and plays dumb*

Yes it works now :)
0d99985aa927b6dc2f4b3f7ee525ed23?d=identicon&s=25 Mr. Kibenimatik (kibenimatik)
on 2006-07-31 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?
8bf02e620ed38ce165ac440981107e97?d=identicon&s=25 Adam Hill (Guest)
on 2006-08-21 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 ]
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.