Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
Forum Search
Google Site Search
 All Forums
 Technical
 PHP (Unix / Linux / Apache) versions
 Confirmation E-mail not coming from 2nd language
Author « Topic »  

Erie33
Starting Member

Japan
20 Posts

Posted - 05/21/2021 :  01:42:04  
I have updated to ver.7.2.6. for 2 language website.
The main language cart works fine and sends order confirmation E-mail back to our staff.
The second language cart works fine, but does not send confirmation E-mail back to us.
Theses two carts share the same database.
So the store admin shows the order also from the second language, so the cart is working.
Is there any area I need to set-up for the 2nd language to get confirmation E-mails of sales order?
I also set-up Edit E-mail section of the shop admin for both language.

Vince
Administrator

42756 Posts

Posted - 05/23/2021 :  02:45:19  
Hi there
All the details for sending email are set in the database so both language versions should use the same details. So do check the SPAM folder to make sure it's not just a case of the other language being treated as SPAM. If the emails are not there, try adding this to your includes.php file...
debugmode=TRUE
...and then try sending an email. That should display debug information for the email server so if you copy and paste that here it may help to solve this.

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

Erie33
Starting Member

Japan
20 Posts

Posted - 05/23/2021 :  19:31:41  
Hi Vince
Thank you for your reply.
I added $debugmode=TRUE; to both English and Japanese page.
English page has no problem, sending confirmation E-mail without error.
Japanese pages had some error descriptions.

Products page
Notice: Undefined index: scSQL in /usr/home/our test site/html/cart-j/vsadmin/inc/incproducts.php on line 497
( related to language?)
prodderail page
Uninitialized string offset: 0 in /usr/home/out test site/html/cart-j/vsadmin/inc/incproddetail.php on line 1388
( it is aboutayout options. I setup identical layout style in the both includes.php. )
thanks.php
POST parameters
POST: emailorder : 2175
POST: thesessionid : 3a1mpbjot9h1mnvhsa778poqit
GET parameters

The confirmation did not go. However, when I looked at the admin, the order was there.
I am wondering why the error shows our test site link, although I set up the link to our new server's IP address in the store admin and includes.php.

Vince
Administrator

42756 Posts

Posted - 05/24/2021 :  02:14:33  
Hi Erie33
Those warnings are not important and are just because the $debugmode parameter will tell PHP to display Warnings also. I've fixed them but it won't affect anything.
quote:
I am wondering why the error shows our test site link, although I set up the link to our new server's IP address in the store admin and includes.php.
This is most likely the problem, no? If you are not on the site that you think then you more than likely do not have the correct settings for the mailserver in the database.

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

Erie33
Starting Member

Japan
20 Posts

Posted - 05/26/2021 :  00:19:28  
Hi Vince
Thank you for the fixing. Should I download from the latest PHP updater?
As for the e-mail setting, I can receive the E-mails when sent order from the English site, but not from the Japanese site.
There are both on the same server, same domain, and they are in the both root as /html/cart-e/ and html/cart-j/

Vince
Administrator

42756 Posts

Posted - 05/26/2021 :  00:33:11  
Hi there
Ok, can you try updating both sites and if that doesn't help anything, please send the FTP login to my email vince AT ecommercetemplates DOT com and I'll investigate.

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

Vince
Administrator

42756 Posts

Posted - 05/27/2021 :  03:00:33  
Hi Erie33
I got the FTP login details and tried both the Email Friend function and a test order on each site and I get all of the emails through. Including the test order confirmation for the cart-j order. I think this may just be a case of checking your SPAM folder and you may find the email there.

I made a couple of changes to the 2021/css/ectstyle.css file to remove the checkout button as you requested. Also I set a class for input.ectbutton and button.ectbutton to keep the button styles consistent.

Because I made a test order this is now showing Out of Stock. But because you have HTML in the out of stock text this is not displaying properly...
http://150.60.230.74/cart-e/proddetail.php?prod=1247-24_u2603_21208614
But, in v7.3.3 button elements are used instead of input[button] elements so it WILL display properly. If you don't want to update, then remove the HTML from this in the includes.php file...
$xxOutStok='<font color="red">Reserved</font>';

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

Erie33
Starting Member

Japan
20 Posts

Posted - 05/28/2021 :  00:32:37  
Hi Vince
Thank you for testing for out sites.
I have uploaded v7.3.3 and checkout button looks good. Out of stock ( our reserved) also shows fine.
Thank you for the great update.

As for the second language E-mail, I asked our host support.
They found some E-mails not going through due to the following error.

SMTPUTF8 is required, but was not offered

In our includes.php, there are two lines with utf-8
$emailencoding="utf-8";
$adminencoding="utf-8";
I don't think I can remove these, because it will cause encrypted Japanese letters.
Moreover, these lines are also in the includes.php of our English site, which is working fine.

Do you have any idea where I should correct?

Vince
Administrator

42756 Posts

Posted - 05/28/2021 :  03:20:43  
Have you tried using PHPMailer? To use this, go to your admin main settings page and under Email Settings, for "Email SMTP Service:" choose "Use PHP Mailer". You will then need to fill in the settings which your host should be able to provide you with.

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

Erie33
Starting Member

Japan
20 Posts

Posted - 05/31/2021 :  01:48:49  
Hi Vince
I set up PHP Mailer, and the 2nd language cart sent E-mail back to us.
Thank you so much!

By the way, when I failed to fill in State/Province for the personal detail information, a pop up came up saying
" (Our IP address) contents. Please select state/province"
Is there any way to stop showing our IP address in the error pop-up?
I will send the screenshot.

Vince
Administrator

42756 Posts

Posted - 05/31/2021 :  10:08:03  
Hi Erie33
quote:
Is there any way to stop showing our IP address in the error pop-up?
I answered this via email, but for anyone else reading this the alert that the browser displays will have the URL at the top to guard against spoofing of the website URL I believe, and it has an IP address as you are viewing the site via an IP. Once you are viewing the site on the actual URL it will look more normal.

It's good to hear the email is working properly!

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.03 seconds. Snitz Forums 2000