* Hal Fulton <> [0617 02:17]:
> Hi, all...
>
> For the second night, I'm playing with Typo. It seems pretty cool,
> but I'm having trouble configuring it.
>
> Basically I create all three databases (I'm using MySQL).
>
> But then when I start the server (and go to /admin in the browser),
> it behaves differently for each database!
>
> -e production
>
> Runs, but asks me for a login. Don't know how to login or
> create an account.
It only asks you to signup if a User doesn't exist yet:
eris% grep -C 2 verify_user_exists app/controllers/articles_controller.rb
cache_sweeper :blog_sweeper,

nly => "comment"
before_filter :verify_user_exists
before_filter :verify_config
private
def verify_user_exists
redirect_to :controller => "accounts", :action => "signup" if User.find_all.length == 0
end
eris%
So presumably your live db has a user record in it already.
> -e test
>
> Says '/' isn't found.
Wouldn't expect that to work sensibly - the test db is for the testsuite, I'm not sure it's going to do
sane things if you actually try to use it.
--
'Avoid parking tickets by leaving your windscreen wipers turned to 'fast wipe' whenever you leave your car parked illegally.'
-- Top Tips
Rasputin :: Jack of All Trades - Master of Nuns