這是SquirrelMail的信箱
我是使用OpenCart Version 1.4.9.1
Apache版本2.2.3
MySQL版本5.0.77
phpMyAdmin - 2.11.11
PHP 5.1.6
網頁:UTF-8
網站:http://www.wallet.com.tw
我之前是使用ECSHOP,
無意間在網路搜尋時,發現這款OPENCART購物車程式,
真是驚為天人,非常簡潔漂亮~
經下載測試後,碰到一個問題:
收到訂單的信件的抬頭是亂碼,信件內容是成常顯示~
請問要如何修改?謝謝!!
JaKa獨賣網|Tokyo Shopping|Namesdomain域名註冊|GoDaddy域名經銷只要59.99美金|視訊美女|
請問亂碼問題有解嗎?
我有嘗試用樓上網友提供的 mail类替代方案http://www.cartplugins.com/?p=24
但還是沒有解決咧....
還出現了下列 error
Notice: Undefined variable: to in /raid/vhost/cookingmama.com.tw/www/store/system/library/mail.php on line 191Warning: implode() [function.implode]: Invalid arguments passed in /raid/vhost/cookingmama.com.tw/www/store/system/library/mail.php on line 191Warning: Cannot modify header information - headers already sent by (output started at /raid/vhost/cookingmama.com.tw/www/store/index.php:92) in /raid/vhost/cookingmama.com.tw/www/store/system/engine/controller.php on line 27
可以請教各位該怎麼辦呢?
我有嘗試用樓上網友提供的 mail类替代方案http://www.cartplugins.com/?p=24
但還是沒有解決咧....
還出現了下列 error
Notice: Undefined variable: to in /raid/vhost/cookingmama.com.tw/www/store/system/library/mail.php on line 191Warning: implode() [function.implode]: Invalid arguments passed in /raid/vhost/cookingmama.com.tw/www/store/system/library/mail.php on line 191Warning: Cannot modify header information - headers already sent by (output started at /raid/vhost/cookingmama.com.tw/www/store/index.php:92) in /raid/vhost/cookingmama.com.tw/www/store/system/engine/controller.php on line 27
可以請教各位該怎麼辦呢?
謝謝alex的回覆
我已經check mail.php 確定為UTF-8編碼
but 打開後看了半天, 發現
第55行開始 , 有兩行有關UTF-8 的 前後都有個問號( ?)
這是程式本身所需要的 還是我下載的版本解壓縮後的問題呢? (我摘錄如下)
***********************************************
public function setSender($sender) {
$sender="=?UTF-8?B?".base64_encode($sender)."?=";
$this->sender = $sender;
}
public function setSubject($subject) {
$subject = preg_replace('/(,|:|\.|\"|\'|!|&|-)/s',' ',$subject);
$subject ="=?UTF-8?B?".base64_encode($subject)."?=";
$this->subject = $subject;
}
***********************************************
我用的opencart 版本是從這裡下載的1.4.9.1 版http://blog.dnono.com/
主機商系統環境
PHP版本:5.2.9
Apache版本:2.0.63
MySQL版本:5.1.35
支援元件:GD、Curl、PHP mail、Zend Optimizer
目前使用原本的mail.php 會產生 主旨亂碼問題,
但使用 mail类替代方案http://www.cartplugins.com/?p=24
還是有error....
請賜教..... >_<
我已經check mail.php 確定為UTF-8編碼
but 打開後看了半天, 發現
第55行開始 , 有兩行有關UTF-8 的 前後都有個問號( ?)
這是程式本身所需要的 還是我下載的版本解壓縮後的問題呢? (我摘錄如下)
***********************************************
public function setSender($sender) {
$sender="=?UTF-8?B?".base64_encode($sender)."?=";
$this->sender = $sender;
}
public function setSubject($subject) {
$subject = preg_replace('/(,|:|\.|\"|\'|!|&|-)/s',' ',$subject);
$subject ="=?UTF-8?B?".base64_encode($subject)."?=";
$this->subject = $subject;
}
***********************************************
我用的opencart 版本是從這裡下載的1.4.9.1 版http://blog.dnono.com/
主機商系統環境
PHP版本:5.2.9
Apache版本:2.0.63
MySQL版本:5.1.35
支援元件:GD、Curl、PHP mail、Zend Optimizer
目前使用原本的mail.php 會產生 主旨亂碼問題,
但使用 mail类替代方案http://www.cartplugins.com/?p=24
還是有error....
請賜教..... >_<
http://chyilong.no-ip.info/index.php?ro ... duct_id=52
這個mail.php給你因該可以解決了.我之前也是這樣.
順遍野可以測試一下.我的opencart是否正常
這個mail.php給你因該可以解決了.我之前也是這樣.
順遍野可以測試一下.我的opencart是否正常
Who is online
Users browsing this forum: No registered users and 79 guests