【问题标题】:Forgot password page throws error, after Spree deployedSpree 部署后忘记密码页面抛出错误
【发布时间】:2013-03-24 10:34:58
【问题描述】:

我设置了 smtp 邮件,测试邮件发送成功。 登录一切正常,但是当我尝试忘记密码功能时,我得到了一个

很抱歉出了点问题。

屏幕。

大礼包版本:1.3.2 Rails:Rails 3.2.13

这是 /log/production.log

Started GET "/user/password/new" for 81.182.63.72 at 2013-03-24 10:18:28 +0000
Processing by Spree::UserPasswordsController#new as HTML
  Rendered /home/gwuix2/picurwebaruhaz/shared/bundle/ruby/1.9.1/bundler/gems/spree_auth_devise-78342b5fa7c5/app/views/spree/user_passwords/new.html.erb within spree/layouts/spree_application (3.1ms)
  Rendered /home/gwuix2/picurwebaruhaz/shared/bundle/ruby/1.9.1/gems/spree_core-1.3.2/app/views/spree/shared/_head.html.erb (2.7ms)
  Rendered /home/gwuix2/picurwebaruhaz/shared/bundle/ruby/1.9.1/gems/spree_core-1.3.2/app/views/spree/shared/_search.html.erb (2.1ms)
  Rendered /home/gwuix2/picurwebaruhaz/shared/bundle/ruby/1.9.1/gems/spree_core-1.3.2/app/views/spree/shared/_nav_bar.html.erb (3.1ms)
  Rendered /home/gwuix2/picurwebaruhaz/shared/bundle/ruby/1.9.1/gems/spree_core-1.3.2/app/views/spree/shared/_main_nav_bar.html.erb (1.0ms)
  Rendered spree/shared/_header.html.erb (5.1ms)
  Rendered spree/shared/_footer.html.erb (0.2ms)
  Rendered /home/gwuix2/picurwebaruhaz/shared/bundle/ruby/1.9.1/gems/spree_core-1.3.2/app/views/spree/shared/_google_analytics.html.erb (0.9ms)
Completed 200 OK in 97ms (Views: 17.0ms | ActiveRecord: 0.5ms)
Started POST "/user/password" for 81.182.63.72 at 2013-03-24 10:18:30 +0000
Processing by Spree::UserPasswordsController#create as HTML
  Parameters: {"utf8"=>"✓", "authenticity_token"=>"g4fttrrEVPehE6usYfWupw+b8J3F4Y+79FBTqNWpD+I=", "user"=>{"email"=>"example@gmail.com"}, "commit"=>"Új jelszót kérek"}
  Rendered /home/gwuix2/picurwebaruhaz/shared/bundle/ruby/1.9.1/bundler/gems/spree_auth_devise-78342b5fa7c5/app/views/spree/user_mailer/reset_password_instructions.text.erb (0.8ms)

Sent mail to example@gmail.com (92ms)
Completed 500 Internal Server Error in 242ms

Errno::ECONNREFUSED (Connection refused - connect(2)):
  /home/gwuix2/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/net/smtp.rb:540:in `initialize'

有什么建议吗? 谢谢!

【问题讨论】:

    标签: ruby-on-rails ruby email smtp spree


    【解决方案1】:

    不知道如何,但现在可以了。没有做任何事情。 Mabye 问题与 SMTP 邮件程序有关。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2015-03-08
      • 2012-01-07
      • 1970-01-01
      • 2022-01-10
      • 1970-01-01
      • 1970-01-01
      • 2020-04-18
      • 1970-01-01
      相关资源
      最近更新 更多