# Problems with Login

**URL:** <https://www.ruby-forum.com/t/problems-with-login/119301>\
**Category:** Radiant CMS\
**Created:** [November 5, 2007, 10:28pm UTC](https://www.ruby-forum.com/t/problems-with-login/119301 "2007-11-05T22:28:14Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![kohlbauer](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/e19b73/32.png) [@kohlbauer](https://www.ruby-forum.com/u/kohlbauer)\
**Post date:** [November 5, 2007, 10:28pm UTC](https://www.ruby-forum.com/t/problems-with-login/119301/1 "2007-11-05T22:28:14Z")

</div>

Hello,

I have installed the radiant CMS under Windows Vista; using a Sql Server  
database. The installations process worked well as described. But I am  
not able to login to the system. As I did not find an administrator  
record in ther USERS-Table I have inserted 1 record manually. That was  
not successful too.

Please can you help me to solve that problem. What’s wrong?

Best regards  
klaus kohlbauer

---

<div class="post-metadata">

**Author:** ![kohlbauer](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/e19b73/32.png) [@kohlbauer](https://www.ruby-forum.com/u/kohlbauer)\
**Post date:** [November 5, 2007, 10:55pm UTC](https://www.ruby-forum.com/t/problems-with-login/119301/2 "2007-11-05T22:55:11Z")

</div>

On Nov 5, 2007, at 4:26 PM, kohlbauer wrote:

> I have installed the radiant CMS under Windows Vista; using a Sql  
> Server database. The installations process worked well as described.  
> But I am not able to login to the system. As I did not find an  
> administrator record in ther USERS-Table I have inserted 1 record  
> manually. That was not successful too.

Radiant may not be compatible with Sql Server. Can you run the  
migrations without errors?

rake production db:migrate

–  
John L.  
[http://wiseheartdesign.com](http://wiseheartdesign.com)

---

<div class="post-metadata">

**Author:** ![kohlbauer](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/e19b73/32.png) [@kohlbauer](https://www.ruby-forum.com/u/kohlbauer)\
**Post date:** [November 5, 2007, 11:33pm UTC](https://www.ruby-forum.com/t/problems-with-login/119301/3 "2007-11-05T23:33:10Z")

</div>

Thanks for your response - there was no error message during migration.  
bg  
klaus kohlbauer  
----- Original Message -----  
From: “John W. Long” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
To: [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
Sent: Monday, November 05, 2007 10:54 PM  
Subject: Re: [Radiant] Problems with Login

---

<div class="post-metadata">

**Author:** ![kohlbauer](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/e19b73/32.png) [@kohlbauer](https://www.ruby-forum.com/u/kohlbauer)\
**Post date:** [November 5, 2007, 11:59pm UTC](https://www.ruby-forum.com/t/problems-with-login/119301/4 "2007-11-05T23:59:30Z")

</div>

Hi John,

John W. Long wrote:

> Radiant may not be compatible with Sql Server. Can you run the  
> migrations without errors?

No error messages get shown. From what I remember, you just don’t see  
any of the migration output telling you about each table being created.  
I only realised something was wrong when I tried logging in and then I  
migrated using a sqlite database to see what I should be seeing.

Cheers,  
Mark

---

<div class="post-metadata">

**Author:** ![kohlbauer](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/e19b73/32.png) [@kohlbauer](https://www.ruby-forum.com/u/kohlbauer)\
**Post date:** [November 5, 2007, 11:54pm UTC](https://www.ruby-forum.com/t/problems-with-login/119301/5 "2007-11-05T23:54:49Z")

</div>

Hi Klaus,

kohlbauer wrote:

> Please can you help me to solve that problem. What’s wrong  
> I have Radiant working fine with sql server using a patched version of  
> the activerecord sql server connector. You can get the patch here:  
> [http://dev.rubyonrails.org/ticket/8886](http://dev.rubyonrails.org/ticket/8886)

You will need to apply the patch and replace the version which is in the  
Ruby-\>Radiant-\>Vendor-\>Rails-\>Activerecord directory.

I was setting up my radiant database to use an ado connection to sql  
server.

Let me know how you go.

Cheers,  
Mark

---

<div class="post-metadata">

**Author:** ![kohlbauer](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/e19b73/32.png) [@kohlbauer](https://www.ruby-forum.com/u/kohlbauer)\
**Post date:** [November 6, 2007, 4:03pm UTC](https://www.ruby-forum.com/t/problems-with-login/119301/6 "2007-11-06T16:03:27Z")

</div>

No - I get get the error: Validation failed. Password confirmation  
required.

best regards  
klaus

----- Original Message -----  
From: “John W. Long” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
To: [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
Sent: Tuesday, November 06, 2007 12:04 AM  
Subject: Re: [Radiant] Problems with Login

---

<div class="post-metadata">

**Author:** ![kohlbauer](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/e19b73/32.png) [@kohlbauer](https://www.ruby-forum.com/u/kohlbauer)\
**Post date:** [November 6, 2007, 4:39pm UTC](https://www.ruby-forum.com/t/problems-with-login/119301/7 "2007-11-06T16:39:44Z")

</div>

Change this line:

user.password = user.confirm\_password = “abcdef”

To look like this:

user.password = user.password\_confirmation = “abcdef”

Then try it again.

Sean

---

<div class="post-metadata">

**Author:** ![kohlbauer](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/e19b73/32.png) [@kohlbauer](https://www.ruby-forum.com/u/kohlbauer)\
**Post date:** [November 6, 2007, 12:05am UTC](https://www.ruby-forum.com/t/problems-with-login/119301/8 "2007-11-06T00:05:22Z")

</div>

Can you successfully create a user from the console?

user = user.new  
user.name = “John”  
user.login = “john”  
user.password = user.confirm\_password = “abcdef”  
user.save!

or something like that.

–  
John L.  
[http://wiseheartdesign.com](http://wiseheartdesign.com)

---

<div class="post-metadata">

**Author:** ![kohlbauer](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/e19b73/32.png) [@kohlbauer](https://www.ruby-forum.com/u/kohlbauer)\
**Post date:** [November 6, 2007, 6:09pm UTC](https://www.ruby-forum.com/t/problems-with-login/119301/9 "2007-11-06T18:09:53Z")

</div>

Dear all,  
thanks a lot for your tips - creating the user from the console works.  
Wonderfull commands.  
Best regards  
Klaus Kohlbauer

----- Original Message -----  
From: “John W. Long” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
To: [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
Sent: Tuesday, November 06, 2007 12:04 AM  
Subject: Re: [Radiant] Problems with Login
