Do not get email status changes

  • Posts: 39
  • Thank you received: 0
  • Hikashop Business
7 years 10 months ago #259096

-- HikaShop version -- : 2.6.4
-- Joomla version -- : 3.6.5
-- PHP version -- : 5.6.29

I have been unable to get the emails when I change the order status.
When changing the email address to myself on a order I do not receive an email
I tried changing the php to 7.1 but that broke the cart with a 500 error

Please Log in or Create an account to join the conversation.

  • Posts: 39
  • Thank you received: 0
  • Hikashop Business
7 years 10 months ago #259097

FYI
Playing around with PHP versions
7.0.14 works with the Cart
7.1.0 breaks the Cart

Please Log in or Create an account to join the conversation.

  • Posts: 26159
  • Thank you received: 4028
  • MODERATOR
7 years 10 months ago #259102

Hi,

If you have a 500 error page it means that you have a PHP Fatal error.
You should take a look in your PHP error log in order to get the error message and the concerne file (and line).

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 39
  • Thank you received: 0
  • Hikashop Business
7 years 10 months ago #259134

Yes, I had realized that which is why I posted the FYI
I am running 7.0.14 which is fine

My original question about the email not being sent still remains unsolved.

I have checked the Customer email log and the emails do exist there however I do not get mail coming out of Hikashop using the change order status message box.

I have checked the Joomla mail php script and that works fine and checked the website contact forms for errors

Please advise

Thanks

Please Log in or Create an account to join the conversation.

  • Posts: 82906
  • Thank you received: 13378
  • MODERATOR
7 years 10 months ago #259138

Hi,

I myself just tested HikaShop with PHP 7.1 and I didn't find that problem. I was able to change the status of an order without a 500 error.
What was the exact error message you had ?

Please Log in or Create an account to join the conversation.

  • Posts: 39
  • Thank you received: 0
  • Hikashop Business
7 years 10 months ago #259168

Sorry Nicholas,

I should never have brought the issue of 500 errors into this discussion as it is not relevant to my email problem. The 500 error happens when I am running the purchase through the cart and go to the payment screen. Happens with 7.1 but not 7.0

Anyway this is not my problem.

My problem is with the email not going out even though the log says it should have

Any troubleshooting guidance on this matter would be most useful

Lord Bless
Colin Chong

Please Log in or Create an account to join the conversation.

  • Posts: 82906
  • Thank you received: 13378
  • MODERATOR
7 years 10 months ago #259169

Hi,

What do you mean by " the log says it should have" ?
Which log says that ?
Are you maybe talking about the email server log ? It should contain the reason the email couldn't be sent, if the issue comes from the email server.
Do you see the email in the menu Customers>Emails history ?
Is its information correct there ?
Also, you say that it happens with PHP 7.1 and not with the 7.0. This means that you must probably use another php.ini
Do you receive other emails ? Because it might simply be due to your php.ini email settings not set properly for your PHP 7.1

Please Log in or Create an account to join the conversation.

  • Posts: 39
  • Thank you received: 0
  • Hikashop Business
7 years 10 months ago #259187

What do you mean by " the log says it should have" ?
Which log says that ?
Are you maybe talking about the email server log ? It should contain the reason the email couldn't be sent, if the issue comes from the email server.
Do you see the email in the menu Customers>Emails history ?
Is its information correct there ?

Yes I did mean the Customers Email History. The emails do appear there and the information appears correct, see attached

Also, you say that it happens with PHP 7.1 and not with the 7.0. This means that you must probably use another php.ini
Do you receive other emails ? Because it might simply be due to your php.ini email settings not set properly for your PHP 7.1


No, I did not say that it happens with PHP 7.1 and not with 7.0
This is a completely different issue that happens when purchasing items and going through the Cart process.
The last payment step generates a 500 error with 7.1
This is not the problem I am asking help with, please forget I even mentioned this

Can we deal with the first 2 lines of my original post

I have been unable to get the emails when I change the order status.
When changing the email address to myself on a order I do not receive an email

Attachments:
Last edit: 7 years 10 months ago by colingchong.

Please Log in or Create an account to join the conversation.

  • Posts: 82906
  • Thank you received: 13378
  • MODERATOR
7 years 10 months ago #259235

Hi,

If you see the email in the Customer>Emails history area of HikaShop, it means that HikaShop correctly generated the email and then successfully sent it to the email server, and it's the email server which wasn't able to send the email.
First, check that you didn't get the email in your spam box.
Then, the next step is to check the email server log for more information about the sending of the email.
If you don't have access to your email server log (if you're on a shared hosting, you most likely don't) and even if you're on a dedicated server, it's probable you don't either), you'll have to ask your hosting company about that. Give then the information of one email that was sent by HikaShop but not received so that they can identify the email in their logs.
If you don't receive other emails from your website (like when you create a new account), it's probably something linked to the Emails settings in the Joomla configuration which have to be adapted to your email server.
If you do receive other emails from your website, it's probably something linked to the Emails settings in the HikaShop configuration which have to be adapted to your email server.
So you might want to also provide screenshot of all these settings when you contact your hosting company.

Please Log in or Create an account to join the conversation.

  • Posts: 39
  • Thank you received: 0
  • Hikashop Business
7 years 10 months ago #259319

Thanks,
That's very useful.
When I went to check the email settings
System ->Emails
and click on any of the options
I see this message on the page

Notice: A non well formed numeric value encountered in /home/colinc20/public_html/administrator/components/com_hikashop/helpers/helper.php on line 865

What would be happening here

Thanks

Lord Bless
Colin

Please Log in or Create an account to join the conversation.

  • Posts: 82906
  • Thank you received: 13378
  • MODERATOR
7 years 10 months ago #259344

Hi,

This means that your server runs on PHP 7.1. That notice will display with HikaShop 2.6.4 on PHP 7.1
But it won't change anything for the email sending.

Please Log in or Create an account to join the conversation.

  • Posts: 39
  • Thank you received: 0
  • Hikashop Business
7 years 9 months ago #261954

I have talked with my Hosting people and have gone through all the steps that you suggested and it looks like your last comment is correct

"If you do receive other emails from your website, it's probably something linked to the Emails settings in the HikaShop configuration which have to be adapted to your email server."

How do I go about accessing this configuration?

Thanks

Please Log in or Create an account to join the conversation.

  • Posts: 39
  • Thank you received: 0
  • Hikashop Business
7 years 9 months ago #261956

I should also mention that the customer is not receiving confirmation emails after paying. The order does go to confirmed status so they are good to go but as they are not receiving these confirmation emails they cannot download digital files.

Please Log in or Create an account to join the conversation.

  • Posts: 82906
  • Thank you received: 13378
  • MODERATOR
7 years 9 months ago #261998

Hi,

The emails settings of HikaShop are available in the Email section under the "Main" tab of the HikaShop configuration:
www.hikashop.com/support/documentation/5...fig.html#main_emails
The most common problem is the bounce email address being wrong, leading to the email server of your hosting refusing the emails.
But it could be almost any setting in there. Your hosting company should be able to tell you how to set these settings so that it works correctly with their email server.

Please Log in or Create an account to join the conversation.

  • Posts: 39
  • Thank you received: 0
  • Hikashop Business
7 years 9 months ago #262740

Hi Nicolas,

It was the Bounce address, I had it set to a email address that no longer existed.

Thanks for all your help

Lord Bless
Colin

Please Log in or Create an account to join the conversation.

Time to create page: 0.091 seconds
Powered by Kunena Forum