1 頁 (共 1 頁)

[問題]如何修復這個 debug 的問題呢~?

發表於 : 2004-01-06 16:45
垃圾
[center]Failed sending email :: PHP ::

DEBUG MODE

Line : 234
File : C:\Program Files\Apache Group\Apache2\MyWebSite\bbs\includes\emailer.php[/center]
無論在 "註冊後" 或是 "回覆PM後",都會彈出這個信息的!
求高手賜我一個解決辦法吧!

Re: [問題]如何修復這個 debug 的問題呢~?

發表於 : 2004-01-06 16:55
messagebox
垃圾 寫:
[center]Failed sending email :: PHP ::

DEBUG MODE

Line : 234
File : C:\Program Files\Apache Group\Apache2\MyWebSite\bbs\includes\emailer.php[/center]
無論在 "註冊後" 或是 "回覆PM後",都會彈出這個信息的!
求高手賜我一個解決辦法吧!
php.ini的SMTP或SENDMAIL請設定正確

發表於 : 2004-01-06 20:46
垃圾
是這個嗎?
[Syslog]
; Whether or not to define the various syslog variables (e.g. $LOG_PID,
; $LOG_CRON, etc.). Turning it off is a good idea performance-wise. In
; runtime, you can define these variables by calling define_syslog_variables().
define_syslog_variables = Off

[mail function]
; For Win32 only.
SMTP = mail.netvigator.com.tw ; for Win32 only
sendmail_from= bbs_750@hotxxxx.com ; for Win32 only

; For Win32 only.
;sendmail_from = bbs_750@hotxxxx.com

; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
;sendmail_path =
正確嗎?
有錯的話該如何修正呢~!


因為我已經設定了,但問題仍然出現呀!

發表於 : 2004-01-06 20:53
messagebox
垃圾 寫:是這個嗎?
[Syslog]
; Whether or not to define the various syslog variables (e.g. $LOG_PID,
; $LOG_CRON, etc.). Turning it off is a good idea performance-wise. In
; runtime, you can define these variables by calling define_syslog_variables().
define_syslog_variables = Off

[mail function]
; For Win32 only.
SMTP = mail.netvigator.com.tw ; for Win32 only
sendmail_from= bbs_750@hotxxxx.com ; for Win32 only

; For Win32 only.
;sendmail_from = bbs_750@hotxxxx.com

; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
;sendmail_path =
正確嗎?
有錯的話該如何修正呢~!


因為我已經設定了,但問題仍然出現呀!
mail.netvigator.com.tw 的 SMTP SERVICE 允許你使用 bbs_750@hotxxxx.com 來送信??
不太可能吧~~~我私人用的都不會允許其他網域要求的轉信了~~~

發表於 : 2004-01-06 22:43
垃圾
這是假如的呀~!

其他資料是完全正確的,發送 PM 後,那個錯誤的訊息仍然彈出,但對方成功接收 PM 吧~!

我主要是不想見到這個錯誤訊息呀!
幫幫忙吧~!

發表於 : 2004-01-06 23:10
messagebox
假如喔~~了解~~

那麻煩你去詢問你的SMTP的網路管理員~~
說為什麼你們不給我寄信~~

這是消極一點的作法~
開啟includes/emailer.php
尋找到這一行
message_die(GENERAL_ERROR, 'Failed sending email', '', __LINE__, __FILE__);
在前面加上2個斜線
//

這一行因為版本不同有改變~這好像是2.02的
反正你就是找到'Failed sending email'把他註解掉就好了


既然你那麼堅持你資料正確~~卻又不肯提供出來測試~~
那我就當你正確囉~~

不過說一句比較難聽的~~~
就是因為MAIL()函式出錯才會有那個訊息~
MAIL為什麼出錯~~因為信送不出去~~
為什麼信送不出去~~你的IP被SMTP SERVICE檔掉~或者~你根本沒有使用這個SERVICE的權限~

本來完全不打算回的~~
以我而言~~我很討厭那種將錯誤訊息~或是什麼訊息貼出來~
卻是貼個XXX???等等的~~
例如問你host/ip 回個123.123.123.123
這跟不貼有什麼差別呢~~

我會向你提出問題~~希望你提供資料~~一定有我的用處~~
你提供假的~~跟不提供有何差別~~

我承認我真的很不開心~~
我很認真的想找出原因~~
卻換來一句~"這是假如的呀"~
試問你怎麼想~~
你若是不想公佈你的私人資料~~你大可說不方便公開~~
根本沒必要來這種假設的東西~~

這個主題我不會在回了~~~因為我能幫的就到這邊~~
回這一篇只是不想讓人加以為我是不負責的人~~
丟出答案被質疑卻不知如何解決~~~

並不是我不負責~~而是資訊真的太少~~

之前有叫我幫忙過的都知道~~我問的資料絕對不會比這次少~~~
甚至人家也是將她們PHPMYADMIN或是VNC的帳號密碼都讓我知道~
她們主機被入侵過??沒有~~

知道你SMTP或信箱又如何~~~用你名義寄發廣告信??~
我自己都有 SMTP SERVER 我無聊喔~~
要造假MAIL~~還不容易~~~找一台機器~~送個假檔頭就好了~
我何必那麼麻煩~~~