TWE-Commerce 的程式錯誤修正
1.TWE使用SMTP寄信,產生錯誤訊息:
SMTP -> FROM SERVER: 220 mail.cssqn.net ESMTP SMTP -> FROM SERVER: 250-mail.cssqn.net 250-PIPELINING 250-8BITMIME 250-SIZE 10485760 250 AUTH LOGIN PLAIN CRAM-MD5 SMTP -> FROM SERVER: 250 ok SMTP -> FROM SERVER: 250 ok SMTP -> FROM SERVER: 250 ok SMTP -> FROM SERVER: 354 go ahead SMTP -> FROM SERVER: 250 ok 1099534874 qp 29400 SMTP -> FROM SERVER: 250 flushed
Warning: Cannot modify header information – headers already sent by (output started at /usr/local/apache2/htdocs/twisters/twosco/includes/classes/class.smtp.php:132) in /usr/local/apache2/htdocs/twisters/twosco/admin/includes/functions/general.php on line 146
SMTP mail SERVER如果都可以寄信可以將這兩個檔案修改
classes/class.phpmailer.php
var $SMTPDebug = true; 內容改為→ var $SMTPDebug= false;
classes/class.smtp.php
var $do_debug ;內容改為→ var $do_debug = false