VirtueMart Forum

VirtueMart 2 + 3 + 4 => Installation, Migration & Upgrade => Topic started by: multiaction on March 28, 2017, 09:34:42 AM

Title: after update to VM 3.2 no mails are send
Post by: multiaction on March 28, 2017, 09:34:42 AM
Hi,
I updated to VM 3.2 (Joomla 3.6.5) and now order mails are not sending anymore...
I tested mail configuration (SMTP) and that part sends test mails, so i am thinking its a virtuemart thing....

Anyone an idea? Or has the same?

Regards

Alex
Title: Re: after update to VM 3.2 no mails are send
Post by: jenkinhill on March 28, 2017, 12:18:26 PM
Are emails sent when manually updating the order status in VM backened? If so then it may be that your payment plugin is not returning a "confirmed" order status (if it returns pending then the emails will not be sent as that signifies that payment has not been made), or that the settings for "Default Order Status to send email to" in VM Configuration/Emails are incorrect.
Title: Re: after update to VM 3.2 no mails are send
Post by: multiaction on March 28, 2017, 13:06:22 PM
Hi thanks for your reply, but it did work before the update...
I setted that mails are sended for every status.

But when order is done it doesnt send mail, also not when order is cancelled.

When i manually set order status and check the 'inform customer' checkbox, then mail is send.

Regards

Alex
Title: Re: after update to VM 3.2 no mails are send
Post by: AH on March 28, 2017, 14:20:36 PM
please check your configuration to see if the emails - status options are set as you require

Maybe they did change on update?
Title: Re: after update to VM 3.2 no mails are send
Post by: multiaction on March 28, 2017, 14:24:50 PM
Yes it is.... for example (the most easy to simulate)... i set email on cancelling order... So i cancel the order, status of order is cancelled by shop, but neither shop as customer gets email.

Regards

Alex
Title: Re: after update to VM 3.2 no mails are send
Post by: Milbo on March 28, 2017, 18:51:03 PM
the order update change in the BE uses the checkbox.... But the checkbox is preset according to the settings in the vm config. Please check the email debug mode, maybe it is enabled
Title: Re: after update to VM 3.2 no mails are send
Post by: multiaction on March 28, 2017, 22:51:35 PM
Hi, I dont know what you mean with: the order update change in the BE uses the checkbox.
But debug mode on emails is NOT enabled.

Regards

Alex
Title: Re: after update to VM 3.2 no mails are send
Post by: Milbo on March 29, 2017, 20:01:12 PM
When you change the order status in the Backend order list, then you may notice that the checkboxes change. But only when you do that PER item. When you use the bulk, then it takes the checkboxes of the bar above the table,...
Title: Re: after update to VM 3.2 no mails are send
Post by: multiaction on March 30, 2017, 11:36:08 AM
Ok, i understand, but my mails doesnt still work

Regards

Alex
Title: Re: after update to VM 3.2 no mails are send
Post by: Milbo on March 30, 2017, 22:31:53 PM
Do you use some 3rd party software?
Title: Re: after update to VM 3.2 no mails are send
Post by: multiaction on March 31, 2017, 14:58:54 PM
Yes sure, A VAT checker and a change customergroup changer at VAT-check is ok.
But the mail did it before in the previous version with those plugins.

Paymant plugin still sets order status on paid, but mail is not received anymore

Regards

Alex
Title: Re: after update to VM 3.2 no mails are send
Post by: jenkinhill on March 31, 2017, 15:03:29 PM
No other reports of mail stopping. Have you tried using PHP Mail instead of SMTP?
Title: Re: after update to VM 3.2 no mails are send
Post by: cat1910 on May 03, 2017, 18:14:40 PM
Same problem for me, no more emails going out of virtuemart since the update to VM3.6.2.
Everything was ok before the update.
Other emails with Joomla, Breezing Forms, Acymailing, etc. are ok.
That's a big problem.
Joomla 3.6.5 // php 5.6
Title: Re: after update to VM 3.2 no mails are send
Post by: cvrak on May 13, 2017, 11:47:55 AM
I have a similar problem:
After fighting many days trying to fix various problems (another post in the forum), I created a clean installation:
  1. Clean install Joomla 3.7.0
  2. Install latest versions of Gantry template, JCE editor, DJ Slider, BT Login, Sourcerer,
  3. Make multilingual
  4. Clean install VM 3.2.1
  5. Import VM data from old installation (there were about 630 products I didn't want to loose)
  6. Make some template and css adjustments.
  7. install VM winbank getway component

Everything worked ok.
I tested some purchases with demo bank account, everything ok.

But, when I set the actual bank account I didn't get orders emails.
When I checked VM backend, the order was pending. I changed the status to Confirmed, no emails received.
Checking the pdf invoice I've found out the fooolowing errors:

Warning: Illegal string offset 'relative' in
/var/www/vhosts/site name/libraries/cms/html/html.php on line 620
Warning: Illegal string offset 'pathOnly' in
/var/www/vhosts/site name/libraries/cms/html/html.php on line 621
Warning: Illegal string offset 'detectBrowser' in
/var/www/vhosts/site name/libraries/cms/html/html.php on line 622
Warning: Illegal string offset 'detectDebug' in
/var/www/vhosts/site name/libraries/cms/html/html.php on line 623
Warning: Illegal string offset 'relative' in
/var/www/vhosts/site name/libraries/cms/html/html.php on line 626
Warning: Illegal string offset 'detectBrowser' in
/var/www/vhosts/site name/libraries/cms/html/html.php on line 626
Warning: Illegal string offset 'detectDebug' in
/var/www/vhosts/site name/libraries/cms/html/html.php on line 626
Warning: Illegal string offset 'pathOnly' in
/var/www/vhosts/site name/libraries/cms/html/html.php on line 629

How this can be solved?
Thanks

My system configuration is Joomla 3.7.0  VM 3.2.1   PHP 7
Title: Re: after update to VM 3.2 no mails are send
Post by: jenkinhill on May 13, 2017, 12:46:50 PM
Those errors come from using outdated template files. See http://forum.virtuemart.net/index.php?topic=137327.msg480890#msg480890  and following messages.
Title: Re: after update to VM 3.2 no mails are send
Post by: Milbo on May 15, 2017, 11:54:56 AM
It should help to use vm3.2.2 http://dev.virtuemart.net/projects/virtuemart/files
Title: Re: after update to VM 3.2 no mails are send
Post by: cvrak on May 15, 2017, 12:18:27 PM
Hi Milbo,

After a lot of reading in the forum, I figured out that it's VM policy not to send emails about pending orders. Ok, no problem with it.
But as I've posted yesterday (http://forum.virtuemart.net/index.php?topic=135264.0) there is another serious problem.
When I try to modify a pending order to Confirmed or Confirmed by shopper, I get TCPDF ERROR: [Image] Unable to get the size of the image: images/E-shop_pic_02.jpg , and no mail is send to vendor and shopper.
I checked the image path, I deleted the image, I loaded a new image with different name, etc. Nothing changed.
I think it's crucial for the ventor and also for the shopper to be notified about a pending -->confirmed order.
I've just installed VM 3.2, the problem is still there.
I'm totally lost. Any suggestions?

Thanks
Title: Re: after update to VM 3.2 no mails are send
Post by: Milbo on May 15, 2017, 15:18:53 PM
You tried to search with google or similar for "TCPDF ERROR: [Image] Unable to get the size of the image"
Title: Re: after update to VM 3.2 no mails are send
Post by: cvrak on May 15, 2017, 15:29:02 PM
Quote from: Milbo on May 15, 2017, 15:18:53 PM
You tried to search with google or similar for "TCPDF ERROR: [Image] Unable to get the size of the image"

yes, found many posts in VM forum, no solution
Title: Re: after update to VM 3.2 no mails are send
Post by: Milbo on May 15, 2017, 19:56:34 PM
I assume it is a simple error in a layout override.
Title: Re: after update to VM 3.2 no mails are send
Post by: cvrak on May 15, 2017, 20:10:57 PM
Maybe, but how can be solved?
Title: Re: after update to VM 3.2 no mails are send
Post by: AccessIPD on June 13, 2017, 21:16:40 PM
Same issue here. This is the 3rd post I'm commenting on, seems to be a problem with 3.2.2 - any updates? I have a nactive store and getting a little desperate.
Title: Re: after update to VM 3.2 no mails are send
Post by: Milbo on June 14, 2017, 10:38:27 AM
Same issue, do you mean that no email is sent? or do you mean, the TCPDF ERROR: [Image] Unable to get the size of the image ?? Did you used the new installer? http://dev.virtuemart.net/attachments/download/1083/com_virtuemart.3.2.3_extract_first.9579.zip

Please check also your payment/shipment images. The new folder is /images/virtuemart/payment respectivly /images/virtuemart/shipment . the old folder was /images/stories/virtuemart/payment respectivly shipment. Just copy your images to the new location.

The new updater does this now automatically.

I also try an updated version of the tcpdf, which does not directly trhow an error and stops for a missing image.
Title: Re: after update to VM 3.2 no mails are send
Post by: Milbo on June 14, 2017, 11:31:57 AM
It took me realy a while to reproduce the error, but it was only possible by hacking the code. At least tcpdf wont stop directly for a missing image and write an error to the log and just display the pdf without image.
Title: Re: after update to VM 3.2 no mails are send
Post by: Milbo on June 14, 2017, 14:55:54 PM
Please try this new tcpdf library http://dev.virtuemart.net/attachments/download/1084/com_tcpdf_1.0.4.zip