# LoginEngine dying on Rails 1.1?

**URL:** <https://www.ruby-forum.com/t/loginengine-dying-on-rails-1-1/56374>\
**Category:** Engines\
**Created:** [March 30, 2006, 6:13pm UTC](https://www.ruby-forum.com/t/loginengine-dying-on-rails-1-1/56374 "2006-03-30T18:13:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chad\_Westfall](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/bb73d2/32.png) [@Chad\_Westfall](https://www.ruby-forum.com/u/Chad_Westfall)\
**Post date:** [March 30, 2006, 6:13pm UTC](https://www.ruby-forum.com/t/loginengine-dying-on-rails-1-1/56374/1 "2006-03-30T18:13:09Z")

</div>

I too am having some issues with the user engine. I’m using rails  
1.1 and the trunk for engines, login\_engine, and user\_engine. When I  
try and access the user/login action the only thing I see is the  
message “You need to log in.”. It’s almost like the redirect isn’t  
working or something. I’m not taken to the login form. Also if I  
try and access the user/signup action, I’m returned a blank screen  
(no signup form). My database base migration work well and the db  
looks correct. Not sure what to do from here? I’m new to Rails and  
the engines. Any assistance would be greatly appreciated.

Thanks in advance,  
Chad

---

<div class="post-metadata">

**Author:** ![Chad\_Westfall](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/bb73d2/32.png) [@Chad\_Westfall](https://www.ruby-forum.com/u/Chad_Westfall)\
**Post date:** [March 30, 2006, 6:28pm UTC](https://www.ruby-forum.com/t/loginengine-dying-on-rails-1-1/56374/2 "2006-03-30T18:28:20Z")

</div>

Please disregard my post. It was a dumb mistake in my  
application.rhtml. Sorry!  
-Chad

---

<div class="post-metadata">

**Author:** ![Chad\_Westfall](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/bb73d2/32.png) [@Chad\_Westfall](https://www.ruby-forum.com/u/Chad_Westfall)\
**Post date:** [July 10, 2006, 8:07am UTC](https://www.ruby-forum.com/t/loginengine-dying-on-rails-1-1/56374/3 "2006-07-10T08:07:43Z")

</div>

I had the same error, a blank page when using user\_engine for the first  
time. When I saw this post after a google search, I immediately knew  
what was wrong, but there might possibly be a beginner greener than me  
asking for an answer…

The application.rhtml in /app/views/layouts/ should not be  
blank, it should have

\<%= @content\_for\_layout %\>

in it so the page can be rendered.

The reason it’s a bit confusing is that user\_login doesn’t require a  
application.rhtml, but user\_engine does. So you have user\_login working,  
install according to the readme for user\_engine, get the  
application.rhtml error, create a blank file for application.rhtml, and  
then you’re at this post. At least that’s what I did, hopefully someday  
I’ll stop hitting every wall while walking down the rails hallway.
