LifeType 中文開發論壇

支援 => 安裝與設定 => 主題作者是: hyoo 於 十月 07, 2006, 10:59:31 上午



主題: 1.1 新增使用者出現錯誤
作者: hyoo十月 07, 2006, 10:59:31 上午
我完全是按照虛擬主機安裝說明安裝的...在新增使用者時出現下面錯誤
引用
Exception message: fsockopen() [function.fsockopen]: unable to connect to mail.7hyo.com:25
Error code: 2
-- Backtrace --
/home/y85048/public_html/blog/class/data/validator/rules/emaildnsrule.class.php(69): fsockopen
/home/y85048/public_html/blog/class/data/validator/validator.class.php(107): emaildnsrule.validate
/home/y85048/public_html/blog/class/data/forms/formvalidator.class.php(107): emailvalidator.validate
/home/y85048/public_html/blog/class/action/action.class.php(151): formvalidator.validate
/home/y85048/public_html/blog/class/controller/controller.class.php(309): adminadduseraction.validate
/home/y85048/public_html/blog/admin.php(43): admincontroller.process

Exception message: Cannot modify header information - headers already sent by (output started at /home/y85048/public_html/blog/class/object/exception.class.php:39)
Error code: 2
-- Backtrace --
/home/y85048/public_html/blog/class/view/view.class.php(323): header
/home/y85048/public_html/blog/class/view/admin/adminview.class.php(111): view.render
/home/y85048/public_html/blog/class/view/admin/admintemplatedview.class.php(36): adminview.render
/home/y85048/public_html/blog/class/view/admin/adminadduserview.class.php(25): admintemplatedview.render
/home/y85048/public_html/blog/class/controller/controller.class.php(330): adminadduserview.render
/home/y85048/public_html/blog/admin.php(43): admincontroller.process

Exception message: Cannot modify header information - headers already sent by (output started at /home/y85048/public_html/blog/class/object/exception.class.php:39)
Error code: 2
-- Backtrace --
/home/y85048/public_html/blog/class/view/view.class.php(323): header
/home/y85048/public_html/blog/class/view/admin/adminview.class.php(111): view.render
/home/y85048/public_html/blog/class/view/admin/admintemplatedview.class.php(36): adminview.render
/home/y85048/public_html/blog/class/view/admin/adminadduserview.class.php(25): admintemplatedview.render
/home/y85048/public_html/blog/class/controller/controller.class.php(330): adminadduserview.render
/home/y85048/public_html/blog/admin.php(43): admincontroller.process

Exception message: Cannot modify header information - headers already sent by (output started at /home/y85048/public_html/blog/class/object/exception.class.php:39)
Error code: 2
-- Backtrace --
/home/y85048/public_html/blog/class/view/view.class.php(323): header
/home/y85048/public_html/blog/class/view/admin/adminview.class.php(111): view.render
/home/y85048/public_html/blog/class/view/admin/admintemplatedview.class.php(36): adminview.render
/home/y85048/public_html/blog/class/view/admin/adminadduserview.class.php(25): admintemplatedview.render
/home/y85048/public_html/blog/class/controller/controller.class.php(330): adminadduserview.render
/home/y85048/public_html/blog/admin.php(43): admincontroller.process

Exception message: Cannot modify header information - headers already sent by (output started at /home/y85048/public_html/blog/class/object/exception.class.php:39)
Error code: 2
-- Backtrace --
/home/y85048/public_html/blog/class/view/view.class.php(323): header
/home/y85048/public_html/blog/class/view/admin/adminview.class.php(111): view.render
/home/y85048/public_html/blog/class/view/admin/admintemplatedview.class.php(36): adminview.render
/home/y85048/public_html/blog/class/view/admin/adminadduserview.class.php(25): admintemplatedview.render
/home/y85048/public_html/blog/class/controller/controller.class.php(330): adminadduserview.render
/home/y85048/public_html/blog/admin.php(43): admincontroller.process

Exception message: Cannot modify header information - headers already sent by (output started at /home/y85048/public_html/blog/class/object/exception.class.php:39)
Error code: 2
-- Backtrace --
/home/y85048/public_html/blog/class/view/view.class.php(323): header
/home/y85048/public_html/blog/class/view/admin/adminview.class.php(111): view.render
/home/y85048/public_html/blog/class/view/admin/admintemplatedview.class.php(36): adminview.render
/home/y85048/public_html/blog/class/view/admin/adminadduserview.class.php(25): admintemplatedview.render
/home/y85048/public_html/blog/class/controller/controller.class.php(330): adminadduserview.render
/home/y85048/public_html/blog/admin.php(43): admincontroller.process

Exception message: Cannot modify header information - headers already sent by (output started at /home/y85048/public_html/blog/class/object/exception.class.php:39)
Error code: 2
-- Backtrace --
/home/y85048/public_html/blog/class/view/view.class.php(175): header
/home/y85048/public_html/blog/class/view/view.class.php(325): adminadduserview.sendcontenttype
/home/y85048/public_html/blog/class/view/admin/adminview.class.php(111): view.render
/home/y85048/public_html/blog/class/view/admin/admintemplatedview.class.php(36): adminview.render
/home/y85048/public_html/blog/class/view/admin/adminadduserview.class.php(25): admintemplatedview.render
/home/y85048/public_html/blog/class/controller/controller.class.php(330): adminadduserview.render
/home/y85048/public_html/blog/admin.php(43): admincontroller.process
該如何解決?
lifetype 1.1


主題: Re: 1.1 新增使用者出現錯誤
作者: james十月 07, 2006, 11:17:31 上午
To hyoo:
unable to connect to mail.7hyo.com:25
上面那一段訊息就是問題發生的原因。
可以關閉註冊時寄發確認信函的功能。
或是檢查相關mail設定是否正確。

James.