忘记密码页面抛出错误,部署Spree后
问题描述:
我设置了smtp邮件,发送测试邮件成功。 登录一切正常,但是当我尝试忘记密码功能,我得到一个忘记密码页面抛出错误,部署Spree后
很抱歉出事了。
屏幕。
狂欢版本:1.3.2 导轨:导轨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"=>"[email protected]"}, "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 [email protected] (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'
有什么建议? 谢谢!
答
不知道如何,但现在它工作。没有做任何事情。 Mabye问题与SMTP邮件程序。