News:

Looking for documentation? Take a look on our wiki

Main Menu

VM 3.6.8 - Not sending emails and TCPDF ERROR

Started by Leilahodgkins, November 07, 2019, 12:51:54 PM

Previous topic - Next topic

Leilahodgkins

Hi there,

We have recently updated Joomla and VM and now we are experiencing some problems with VirtueMart.

Joomla version:  3.9.13
VirtueMart version: 3.6.8
PHP Version: 7.1.33

1.  When we place a new order the confirmation emails are not being sent - not to us or the customer.  This was working fine before the update.
When we change the status of the order, the email is sent so we know the system can send them.

2.  We can no longer print the Invoice or Delivery Note for each order as it just produces the error 'TCPDF ERROR: [Image] Unable to get the size of the image: http://cressidabell.com/images/virtuemart/payment/Paypal-Visa-Mastercard.jpg'
This image does exist in the correct folder on the server and is visible on the front-end of the website.

It is incredibly frustrating that this kind of think occurs just because of an upgrade to the software and it is affecting our workflow.

Please can anyone give any suggestions as to what has caused the issues and how we can fix them.

Many thanks
Leila

StefanSTS

From which version did you update?

Did you update the components VirtueMart Core, AIO and TCPDF?

PS. I can imagine how frustrating it is. That is why I always test on a test system which is the recommended way. No frustration will occur.
--
Stefan Schumacher
www.jooglies.com - VirtueMart Invoice Layouts

Please use only stable versions with even numbers for your live shop! Use Alpha versions only if you know what risk you are taking.

Leilahodgkins


StefanSTS

--
Stefan Schumacher
www.jooglies.com - VirtueMart Invoice Layouts

Please use only stable versions with even numbers for your live shop! Use Alpha versions only if you know what risk you are taking.

Leilahodgkins

What do you mean?  I updated to the latest versions that came up in the Extensions updater.  Virtuemart 3.6.8 plus the other two.  I didn't go looking for files, they came up in the list.

Leilahodgkins

If you are asking what was the previous version, the last time I did an update was July so that would have been 3.5.0

Milbo

He asks, because it makes a difference from version you updated.

The tcpdf error is for us known, if someone just updates the core, but not the Tcpdf. So for example updating from vm3.4.2 to vm3.6.8 directly creates the tcpdf error, in case you did not update tcpdf.
But, when you say that you updated first to vm3.6.0 and tcpdf worked, and then to vm3.6.2, vm3.6.4 and vm3.6.6 and all the time it worked, but updating from vm3.6.6 to vm3.6.8,.... that is indeed very strange, because there was absolutly no coding on that.

Please use one time the package, just install it per joomla installer (dragn drop) over your current installation
http://dev.virtuemart.net/attachments/1232/com_virtuemart.3.6.8.10197_package_or_extract.zip

It should ensure that tcpdf is correctly working.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Milbo

From vm3.5, that explains a lot better your errors.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Leilahodgkins

Thanks for your explanation however I have done what you said and am still experiencing the same problems - no confirmation emails and not able to print the Delivery Note or Invoice.

If I download and install the old 3.5 version will that compound the problems or will it go back to working as before?

Another strange issue that we have noticed is that on past orders (before the update) the 'Paid' column shows a red cross when, of course, these orders have been paid and completed.

Do you have any other ideas or suggestions?

Thanks

Leilahodgkins

#9
So, if I have upgraded to the latest version of everything, why am I still getting an error?  Is there some legacy file from 3.5 that should be removed or updated?

Am I right in thinking that the file TCPDF.php is causing both of my issues - it is causing the confirmation emails to fail?

Is there some way I can fix up TCPDF.php so that it skips that image or just continues if it can't find it?

Any help....

Thanks
Leila

GJC Web Design

you still do not report WHAT version of TCP is installed?

it must be 1.0.8

http://dev.virtuemart.net/attachments/download/1166/com_tcpdf_1.0.8.zip

The images used in the pdf should be either jpg or gif for best compatibility
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation