Change of Status emails

  • Posts: 21
  • Thank you received: 0
8 years 5 months ago #257833

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

Hello, We recently updated to HS 2.6.4 but now no copy of the order is sent on change of status either to admin or the customer. In System>Emails there is no code present for either html version or text version of emails.
How do we correct this please?

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

  • Posts: 83930
  • Thank you received: 13586
  • MODERATOR
8 years 5 months ago #257846

Hi,

So do you mean that this occurred right when you updated ? Or several days later ?
The fact that you don't see any code in the emails could be the problem, but it could also just be your HTML editor playing tricks with you. Try turning off the "codemirror" plugin via the Joomla plugins manager and the code of the emails will display as simple textarea.
If you still don't see any code in the emails, then it means that the code has been removed (the update cannot do that). So download the install package again on our website if you don't have it and install it on yours. It will overwrite the emails code. Also click on the remove customization icon of your emails in the menu System>Emails so that it uses the default email code and not the one you customized via the interface.

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

  • Posts: 21
  • Thank you received: 0
8 years 5 months ago #257857

Thanks Nicolas. We don't have any customization and there is no icon associated with the customization that you mentioned. I only have the headings but nothing to click on. I would prefer not to do any re installation as I don't want to run the risk of having the site down if things don't go as planned. Is it possible to simply place the code in the fields? If so can you email them? Edwin from JMS did the upgrade for me as we also went from Joomla 1.5 to 3. at the same time. After that whole process we haven't had this email functionality.

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

  • Posts: 83930
  • Thank you received: 13586
  • MODERATOR
8 years 5 months ago #257859

Hi,

So what if you turn off the "code mirror" plugin. Do you see the content of the emails ?
If you check directly the files in media/com_hikashop/mail are they empty ?
If yes, you can copy them from the install package's media/mail folder.

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

  • Posts: 21
  • Thank you received: 0
8 years 5 months ago #257971

Tuning off "codemirror" did not work. The files in media/com_hikashop/mail appear to all contain files.
I am not sure how the developer did the upgrade but my subscription appears to be out of date. Assuming this may be the issue, will re installing the same version over the existing version cause any admin settings to change?

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

  • Posts: 83930
  • Thank you received: 13586
  • MODERATOR
8 years 5 months ago #258000

Hi,

If you install the Starter edition, you'll loose the features of your commercial edition.
You can renew your subscription via the menu My account>My subscriptions and you'll get one more year of access to updates and you'll be able to download the install package of your commercial edition for the latest version of HikaShop.

If the files in media/com_hikashop/mail and not empty and that even turning off code mirror doesn't help in displaying the code of the emails in the email edition then I don't know. It could be some security module on your web server blocking that for security reason.
Try to do a backup of your website with akeeba backup and restore it on a local web server with xamp/lamp/mamp/wamp and see if it works for you that way, which would confirm that it comes from something on the server.

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

  • Posts: 21
  • Thank you received: 0
8 years 5 months ago #258127

Hi Nicolas, I bought a new subscription and installed it but no change. Can you think of anything else?

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

  • Posts: 83930
  • Thank you received: 13586
  • MODERATOR
8 years 5 months ago #258128

Hi,

So if you go in the menu Customers>Emails log, do you see the emails that were supposed to be sent ?
If you do, it means that the problem is actually not with HikaShop but either with your email server not able to send the emails, or with email receiver (emails go to spam, or are rejected).
If you don't, then please provide a backend access so that we can check your settings and a link to this thread via our contact form:
www.hikashop.com/support/contact-us.html

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

  • Posts: 21
  • Thank you received: 0
8 years 5 months ago #258177

Hi Nicolas, the emails are sent but there is no content. No copy of the order. Only the subject line.

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

  • Posts: 83930
  • Thank you received: 13586
  • MODERATOR
8 years 5 months ago #258217

Hi,

So do you mean that there is no content in the emails in the menu Customers>Emails log or that there is no content in the emails you receive in your mailbox or in both ?

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

  • Posts: 21
  • Thank you received: 0
8 years 5 months ago #258248

There is no content in the emails I receive and no content in the emails the customer receives.

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

  • Posts: 83930
  • Thank you received: 13586
  • MODERATOR
8 years 5 months ago #258257

Hi,

Ok. Could you provide a backend access along with a link to this thread via our contact form so that we can have a direct look at the problem ?
www.hikashop.com/support/contact-us.html

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

  • Posts: 21
  • Thank you received: 0
8 years 5 months ago #258280

Thank you Nicolas. I have sent the details through.

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

  • Posts: 83930
  • Thank you received: 13586
  • MODERATOR
8 years 5 months ago #258289

Hi,

Thanks.
From what I can see in your backend, it looks as if the files in the folder media/com_hikashop/mail are missing or empty.
Could you also provide a FTP access the same way so that we can look deeper into the issue ?

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

  • Posts: 21
  • Thank you received: 0
8 years 5 months ago #258305

Thank you . I just sent them through.

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

  • Posts: 83930
  • Thank you received: 13586
  • MODERATOR
8 years 5 months ago #258352

Hi,

Thanks for the access.

I was able to understand the issue. It is actually linked to the integration with JMS multisites that you're using on your website which provides invalid data to the email system.
Changing the code:

if(empty($this->mail_folder)) {
			$config = hikashop_config();
			$this->mail_folder = rtrim( str_replace( '{root}', JPATH_ROOT, $config->get('mail_folder',HIKASHOP_MEDIA.'mail'.DS)), '/\\').DS;
		}
to:
if(empty($this->mail_folder)) {
			$config = hikashop_config();
			$this->mail_folder = rtrim( str_replace( '{root}', JPATH_ROOT, $config->get('mail_folder',HIKASHOP_MEDIA.'mail'.DS)), '/\\');
			if(!empty($this->mail_folder))
			$this->mail_folder .= DS;
		}
in the file administrator/components/com_hikashop/classes/mail.php fixes the problem.
We'll include the modification on our end so that it doesn't happen in the future.

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

  • Posts: 21
  • Thank you received: 0
8 years 5 months ago #258377

Thank you Nicolas. I greatly appreciate your attention to this. I had spent a lot of time trying to solve it but it was clearly beyond me. Many thanks and all the best for 2017.

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

Time to create page: 0.270 seconds
Powered by Kunena Forum