# User Engine - Fails to create users

**URL:** <https://www.ruby-forum.com/t/user-engine-fails-to-create-users/56693>\
**Category:** Engines\
**Created:** [April 3, 2006, 12:28am UTC](https://www.ruby-forum.com/t/user-engine-fails-to-create-users/56693 "2006-04-03T00:28:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![roland](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/3ab097/32.png) [@roland](https://www.ruby-forum.com/u/roland)\
**Post date:** [April 3, 2006, 12:28am UTC](https://www.ruby-forum.com/t/user-engine-fails-to-create-users/56693/1 "2006-04-03T00:28:21Z")

</div>

Hello,

I have been using login\_engine and user\_engine for some time and  
everything worked fine till I upgraded to Rails 1.1.0.

I had to upgrade engines, login\_engine, and user\_engine to rev 326  
(which is the latest).

However, I am not able to create users or to allow users to sign up  
because of the new engines.

I think it has something to do with User.transaction and the library  
loading because no error si reported whatsoever in the logs.’

If you know of any fix please let me know because I would apprechiate  
any help.

Thanks a bunch,

Roland

---

<div class="post-metadata">

**Author:** ![roland](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/3ab097/32.png) [@roland](https://www.ruby-forum.com/u/roland)\
**Post date:** [April 20, 2006, 11:18pm UTC](https://www.ruby-forum.com/t/user-engine-fails-to-create-users/56693/2 "2006-04-20T23:18:06Z")

</div>

Roland M. wrote:

> Hello,
> 
> I have been using login\_engine and user\_engine for some time and  
> everything worked fine till I upgraded to Rails 1.1.0.
> 
> I had to upgrade engines, login\_engine, and user\_engine to rev 326  
> (which is the latest).
> 
> However, I am not able to create users or to allow users to sign up  
> because of the new engines.
> 
> I think it has something to do with User.transaction and the library  
> loading because no error si reported whatsoever in the logs.’
> 
> If you know of any fix please let me know because I would apprechiate  
> any help.
> 
> Thanks a bunch,
> 
> Roland

I’ve having the exact same problem, although I’ve narrowed mine down a  
bit. It seems to be related to FastCGI somehow, if I run the app under  
SCGI everything is fine. It also makes no difference whether or not I  
use PStore or ActiveRecordStore for sessions (it looks as though the  
user object is never being put into the session when run under FastCGI)

Kev

---

<div class="post-metadata">

**Author:** ![roland](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/3ab097/32.png) [@roland](https://www.ruby-forum.com/u/roland)\
**Post date:** [April 21, 2006, 12:15am UTC](https://www.ruby-forum.com/t/user-engine-fails-to-create-users/56693/3 "2006-04-21T00:15:53Z")

</div>

Kevin A. wrote:

> I’ve having the exact same problem, although I’ve narrowed mine down a  
> bit. It seems to be related to FastCGI somehow, if I run the app under  
> SCGI everything is fine. It also makes no difference whether or not I  
> use PStore or ActiveRecordStore for sessions (it looks as though the  
> user object is never being put into the session when run under FastCGI)
> 
> Kev

I’m not sure if this was the same issue now. Anyway I managed to find a  
fix for it here [LoginEngine dying on Rails 1.1? - Engines - Ruby-Forum](http://www.ruby-forum.com/topic/59846#66662)

Hope it helps others out too!

Kev
