| 作者 | 發表 |
| | #1 Wed Nov 12, 2008 2:16 pm |
| 會員 註冊時間: Nov 2008 發表: 2 | 我新装的usebb1.09在会员注册时候总是出现下面的错误提示,我把 管理面板 » 基本设定>>用户权限下的启动审核模式设置为"不需要启动"还是出现如下错误,我对php.ini没有控制修改权,如何去掉这个阿!多谢!! In file sources\functions.php on line 1183:
E_WARNING - mail() [function.mail]: SMTP server response: 550 Local user only or Authentication mechanism |
| | #2 Sat Nov 15, 2008 12:47 am |
| 管理員 註冊時間: Dec 2007 發表: 79 | 這看起來是主機沒有支援mail的功能,目前測試過後並無此問題. |
| | #3 Sat Nov 15, 2008 8:29 pm |
| 會員 註冊時間: Nov 2008 發表: 2 | 那是你的没有问题,我这里就有,好像看到那里有一个注册时候不发送邮件,直接提示成功,也就是绕开smtp这里,但是不知道在那里设置,在suebb.net查到Dietrich说是 This "error" was never reported, in fact it's hard to fix at all. Your configuration has safe mode running which in your case disables the mail() function altogether (previous reports were for the fifth parameter, not the whole function). If you want to fix this, disable user activation and put a return statement at the top of functions::usebb_mail().
It's not possible to completely support safe mode because you can seemingly block virtually anything. Safe mode was never explicitly marked as "supported".
Alter the PHP code, find usebb_mail in sources/functions.php and add "return;" as the first statement.
Note these PHP code changes are not officially supported, this is just a quick hack to disable all emails. Which normally isn't something you would need to do unless the host's PHP is basicly broken or missing essential functionality.
没有明白如何! |