Welcome Guest Login Register Member List
ExpressionEngine Forums
Advanced Search
Username: Password:
Remember Me? forgot password?
You are here: Forum Home  >  Installation  >  Mac OS X  >  Thread
   
2 of 2
Prev
1
2
Auth type not a valid authentication type
 
lukemelia
Posted: 04 April 2007 01:20 PM   [ Ignore ]   [ # 16 ]  
Member
Avatar
RankRankRank
Total Posts:  62
Joined  2006-07-18

Hi Arima,

I haven’t been able to get back to this yet. It’s on my list, but I’ve been swamped.

Luke

Signature 

Luke Melia - Tracks committer - New York, NY - http://www.lukemelia.com/

Profile
 
nomados
Posted: 23 April 2007 11:46 PM   [ Ignore ]   [ # 17 ]  
Newbie
Rank
Total Posts:  8
Joined  2007-04-12

running 10.4.9 w/ everything else the same, and getting the same error message.

1 error prohibited this user from being saved
There were problems with the following fields:
Auth type not a valid authentication type

Perhaps this has somethng to do with Locomotive install 2.0.8?

Profile
 
bsag
Posted: 05 May 2007 05:27 PM   [ Ignore ]   [ # 18 ]  
Administrator
Avatar
RankRankRankRank
Total Posts:  217
Joined  2006-03-05

I’m trying to replicate this, but at the moment I’m having a problem running at all with an SQLite3 db: I just get an Invalid Table Structure error - not sure why, because I’ve used SQLite3 with Locomotive before.

I’ll look into it a bit, but as you may have seen, we might have another method for providing all-in-one installations of Tracks, so hopefully, we won’t have to deal with this kind of problem much longer grin

Profile
 
nomados
Posted: 07 May 2007 03:10 PM   [ Ignore ]   [ # 19 ]  
Newbie
Rank
Total Posts:  8
Joined  2007-04-12

bsag,
I wouldn’t spend any additional time on this for my sake. I’ve been able to install everything proper and get it all running. I look forward to the slingshot dist.

Thanks for all your work.
n

Profile
 
lolindrath
Posted: 20 February 2008 08:13 PM   [ Ignore ]   [ # 20 ]  
Newbie
Avatar
Rank
Total Posts:  2
Joined  2008-02-20

Hello, I don’t know if you’ll remember me but I submitted a couple patches probably two years ago, I’m finally getting back to helping out a bit.

I tried two installs today, both with the trunk. The Ubuntu/Apache/Mongrel Cluster with Sqlite3 worked just fine.

The Debian etch on a usb drive using Webrick gives the same error as this thread. My auth scheme is definitely ‘database’. In user.rb it’s trying to compare ‘database’ to :

'''''''''''''''''''''''''''''''database''''''''''''''''''''''''''''''' 

Anyone know where the extra single quotes are coming from? I’m going to dig deeper when I bit some spare time but this is very odd.

—Lolindrath

Attached: screenshot of the actual error I’m getting

Image Attachments  Screenshot.png
Click thumbnail to see full-size image
Profile
 
lolindrath
Posted: 20 February 2008 08:47 PM   [ Ignore ]   [ # 21 ]  
Newbie
Avatar
Rank
Total Posts:  2
Joined  2008-02-20

This is freaky, it does this on my Debian box but generates the correct schema.rb under Ubuntu.

excerpt from db/schema.rb:

create_table "users", :force => true do |t|
    
t.string   "login",                     :limit => 80,                                                                                                                                                   :null => false
    t
.string   "crypted_password",          :limit => 40,                                                                                                                                                   :null => false
    t
.string   "token",                                   :default => "'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''NULL'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''"
    
t.boolean  "is_admin",                                :default => false,                                                                                                                                :null => false
    t
.string   "first_name",                              :default => "'''''''''''''''''''''''''''''''NULL'''''''''''''''''''''''''''''''"
    
t.string   "last_name",                               :default => "'''''''''''''''''''''''''''''''NULL'''''''''''''''''''''''''''''''"
    
t.string   "auth_type",                               :default => "'''''''''''''''''''''''''''''''database'''''''''''''''''''''''''''''''",                                                             :null => false
    t
.string   "open_id_url",                             :default => "'''''''NULL'''''''"
    
t.string   "remember_token",                          :default => "'NULL'"
    
t.datetime "remember_token_expires_at"
  
end 


To fix it I removed the ‘libsqlite3-ruby1.8’ package from my machine so it would just use the version I installed through gem. This generated the correct schema.rb.

I also found one other small error, I would make a ticket but the guest user doesn’t seem to have new ticket privileges. I’ve attached a fix for when you’re rolling back versions.

To verify do a rake db:migrate VERSION=0 (note: this will DESTROY all your data!), it’ll fail with wrong arguments for remove_column. This patch should fix it:

Index: 031_add_default_context_to_project.rb
===================================================================
--- 
031_add_default_context_to_project.rb       (revision 711)
+++ 
031_add_default_context_to_project.rb       (working copy)
@@ -
4,6 +4,6 @@
   
end

   def self
.down
-    remove_column :projects, :default_context_id, :integer
+    remove_column :projects, :default_context_id
   end
 end 

I still haven’t solved the whole problem though, now it has just one extra set of single quotes, ex: ‘database’ instead of just plain database.

—Lolindrath

Profile
 
gamov
Posted: 01 April 2008 09:17 AM   [ Ignore ]   [ # 22 ]  
Newbie
Rank
Total Posts:  1
Joined  2008-04-01

I have the same problem creating users with the blank db:

Auth type not a valid authentication type (‘database’)

I’m running Locomotive 2.0.8 with bundle March 2007 under a stock MacOS X 10.4.11 ruby-wise.

Kind of frustrating.

Using the sample db to create produces the same problem.

Gam.

Profile
 
Reinier Balt
Posted: 05 April 2008 04:12 PM   [ Ignore ]   [ # 23 ]  
Sr. Member
RankRankRankRank
Total Posts:  440
Joined  2006-10-05

you can log in as guest to enter tickets. See the explanation on http://dev.rousette.org.uk

Profile
 
Reinier Balt
Posted: 05 April 2008 07:17 PM   [ Ignore ]   [ # 24 ]  
Sr. Member
RankRankRankRank
Total Posts:  440
Joined  2006-10-05

lolindrath: applied your patch for next release. thanks

Profile
 
Reinier Balt
Posted: 21 July 2008 12:10 PM   [ Ignore ]   [ # 25 ]  
Sr. Member
RankRankRankRank
Total Posts:  440
Joined  2006-10-05

FWIW, you’re having multiple versions of sqlite3-ruby. I’ve seen reports on other gems where that caused conflicts. Perhaps you can uninstall older versions ?

Profile
 
   
2 of 2
Prev
1
2
 
‹‹ Experiences in getting Tracks to run locally on 10.4.8      Updated Tracks 1.043 for installation with Locomotive ››

Powered By ExpressionEngine
Template Design By Sonnenvogel.com
Select a theme:

ExpressionEngine Discussion Forum - Version 2.1.1 (20081028)
Script Executed in 0.1544 seconds

Atom Feed
RSS 2.0