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
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
Thanks for your response - there was no error message during migration.
bg
klaus kohlbauer
----- Original Message -----
From: “John W. Long” [email protected]
To: [email protected]
Sent: Monday, November 05, 2007 10:54 PM
Subject: Re: [Radiant] Problems with Login
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
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
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
No - I get get the error: Validation failed. Password confirmation
required.
best regards
klaus
----- Original Message -----
From: “John W. Long” [email protected]
To: [email protected]
Sent: Tuesday, November 06, 2007 12:04 AM
Subject: Re: [Radiant] Problems with Login
Change this line:
user.password = user.confirm_password = “abcdef”
To look like this:
user.password = user.password_confirmation = “abcdef”
Then try it again.
Sean
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
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” [email protected]
To: [email protected]
Sent: Tuesday, November 06, 2007 12:04 AM
Subject: Re: [Radiant] Problems with Login