I'm trying to use smtp...
I get a message "A password confirmation link has been sent to your email
address" but nothing arrives... Can I log the dialog between the smtp and the
actionmailer?
Is there any other things I shall do except from this...
config/environments/production.rb
# mail server config
config.action_mailer.default_charset = "utf-8"
config.action_mailer.raise_delivery_errors = true
config.action_mailer.delivery_method = :smtp
config.action_mailer.smtp_settings = {
:address => "smtp.th.com",
:port => 25,
:domain => "siamect.com",
:user_name => "[email protected]",
:password => "sorry I dont say",
:authentication => :login
}
Thanks Martin
On Thursday 11 June 2009 07:29:38 pm Martin Pettersson wrote:
> Thanks
> I had only set the activate date in mysql but I guess that was not enough
> to make a real activation.
>
> I can log in now a look at my profile. Still it doesn't work in Firefox.
>
> I have done the the UltraSphinks rakes more times than what is healthy
> for me... search still didn't work, but.... when I activated my account
> using the scritpt/console I sav an error about readline.so... so I went to
> ruby-1.9.1-p129/ext/readline and run ruby extconf.rb, make make install to
> get rid of that message.
> I don't know if that was the problem for the search too, because after that
> I ran the rakes again and search works now... :)
>
> The big log files... I run activemq... and it seems to be ok for now...
> same size as yesterday...
>
> So it seems like everything works except I cannot log in using firefox...
>
> Thanks exa for this...
> Martin
>
> On Thursday 11 June 2009 01:16:20 pm Marius Mårnes Mathiesen wrote:
> > Martin,
> >
> > On 10. juni. 2009, at 17.52, Martin Pettersson wrote:
> > > Dear All
> > > it' getting closer... :)
> > > but...
> > > I still cannot log in using firefox...it works with konqueror but
> > > when I try to look at my profile I get "This user profile is not
> > > public"
> >
> > Ah, okay, this means the user account hasn't been activated. When
> > signing up, an email is sent to the user requiring him to activate his
> > account by visiting a URL.
> > Unless mailing is enabled (which it isn't in the development
> > environment), you probably didn't receive this email.
> >
> > To activate the user account manually, you can use the script/console
> > command and enter something like
> >
> > me = User.find_by_login("<your_login>")
> > me.activate
> >
> > The user account not being activated probably explains your not being
> > able to log in too.
> >
> > > search doesn't work either. Ultrasphinx is installed.
> >
> > There are a few rake tasks that need to be run in order for the index
> > to be created and the daemon to be started. The README has a section
> > on this:
> >
> > for RAILS_ENV in development test production ; do
> > RAILS_ENV=$RAILS_ENV rake ultrasphinx:configure
> > RAILS_ENV=$RAILS_ENV rake ultrasphinx:index
> > done
> > RAILS_ENV=production rake ultrasphinx:daemon:start &
> >
> > > Here is a sample:
> > > /var/www/gitorious/vendor/plugins/activemessaging/lib/
> > > activemessaging/gateway.rb:34:in `block (2 levels) in start'
> > > ActiveMessaging: thread[default]: Exception from connection.receive:
> > > can't convert TypeError into String
> > > /home/git/.gem/ruby/1.9.1/gems/stomp-1.1/lib/stomp/connection.rb:
> > > 170:in `+'
> > > /home/git/.gem/ruby/1.9.1/gems/stomp-1.1/lib/stomp/connection.rb:
> > > 170:in `rescue in __old_receive'
> > > /home/git/.gem/ruby/1.9.1/gems/stomp-1.1/lib/stomp/connection.rb:
> > > 164:in `__old_receive'
> > > /home/git/.gem/ruby/1.9.1/gems/stomp-1.1/lib/stomp/connection.rb:
> > > 176:in `receive'
> > > /var/www/gitorious/vendor/plugins/activemessaging/lib/
> > > activemessaging/gateway.rb:34:in `block (2 levels) in start'
> > > ActiveMessaging: thread[default]: Exception from connection.receive:
> > > can't convert TypeError into String
> > > /home/git/.gem/ruby/1.9.1/gems/stomp-1.1/lib/stomp/connection.rb:
> > > 170:in `+'
> > > /home/git/.gem/ruby/1.9.1/gems/stomp-1.1/lib/stomp/connection.rb:
> > > 170:in `rescue in __old_receive'
> >
> > This looks like an issue in the Stomp gem, which message queueing
> > system do you use?
> >
> > Regards,
> > - Marius
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Gitorious" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/gitorious?hl=en
-~----------~----~----~----~------~----~------~--~---