Results 1 to 4 of 4

Hybrid View

  1. #1
    Join Date
    Apr 2006
    Posts
    359
    Plugin Contributions
    0

    Default Product Review Pending Approval: Email Titled Unreadable...

    I have just been testing out the Product Review function on my two language store.

    The English side works fine, sending out an email that the title is readable, like this: Product Review Pending Approval:War and Peace

    But when sending a review for approval from the Japanese side, I get this:
    vrXHp8LUpMGkzqXspdOl5aG8OiClxqXtpeqluaXIpM/Dr6GppaylpKXJpdalw6WvIC

    ...nothing at all is readable in the title. The body of the email can be read, just the title is a complete mess... As it is both the set text (Product Review Pending) AND the product name that are garbled, I imagine the file that creates/combines them might be the culprit... I am not sure where to start troubleshooting this...

    Does any one have any ideas on what I might try to do?

  2. #2
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Product Review Pending Approval: Email Titled Unreadable...

    does this line exist anywhere in your /includes/functions/functions_email.php?

    Code:
          $mail->CharSet =  (defined('CHARSET')) ? CHARSET : "iso-8859-1";
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Apr 2006
    Posts
    359
    Plugin Contributions
    0

    Default Re: Product Review Pending Approval: Email Titled Unreadable...

    Hello again, Good Dr!

    I tell ya, I seem to get all these rather weird niggling tiny monsters...

    Yes, I found just a singe occurrence in the section below. I wonder what that then leads us to...

    As always, MANY thanks!

    // now lets build the mail object with the phpmailer class
    $mail = & new PHPMailer();
    $lang_code = ($_SESSION['languages_code'] == '' ? 'en' : $_SESSION['languages_code'] );
    $mail->SetLanguage($lang_code,DIR_WS_CLASSES . 'support/');
    $mail->CharSet = (defined('CHARSET')) ? CHARSET : "iso-8859-1";
    if ($debug_mode=='on') $mail->SMTPDebug = true;
    if (EMAIL_TRANSPORT=='smtp' || EMAIL_TRANSPORT=='smtpauth') {
    $mail->IsSMTP(); // set mailer to use SMTP
    $mail->Host = EMAIL_SMTPAUTH_MAIL_SERVER; // specify main (could also do backup server... future feature?)
    if (EMAIL_TRANSPORT=='smtpauth') {
    $mail->SMTPAuth = true; // turn on SMTP authentication
    $mail->Username = (zen_not_null(EMAIL_SMTPAUTH_MAILBOX)) ? EMAIL_SMTPAUTH_MAILBOX : EMAIL_FROM; // SMTP username
    $mail->Password = EMAIL_SMTPAUTH_PASSWORD; // SMTP

  4. #4
    Join Date
    Apr 2006
    Posts
    359
    Plugin Contributions
    0

    Default Re: Product Review Pending Approval: Email Titled Unreadable...

    I just did a test with the Tell a Friend function and got the same result... Two emails were sent out, one to Yahoo mail (web based) and my regular account. The web based mail title was readable...

    So these two current troubles seems to be some how similar to the other problem I was having <http://www.zen-cart.com/forum/showthread.php?t=43928&page=2> that I resolved after installing the Japanese Admin and reentering the Japanese names for all the products...

    But the fact that the set text AND the product title are garbled adds a new twist...

 

 

Similar Threads

  1. "Reviews Pending Approval" Link is active, but no reviews pending... problem...
    By dontknowwhatimdoing in forum Customization from the Admin
    Replies: 7
    Last Post: 12 Aug 2008, 05:01 AM
  2. Pending Approval
    By Blake81 in forum General Questions
    Replies: 1
    Last Post: 11 Jun 2008, 11:58 PM
  3. Reviews Pending Approval Stuck
    By benn600 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 24 May 2008, 08:48 AM
  4. Approval pending
    By milksamsa in forum General Questions
    Replies: 1
    Last Post: 14 Jul 2006, 02:10 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg