VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: rayant on March 06, 2017, 12:42:21 PM

Title: Problem with Virtuemart 3.0.16 - Email / TCPDF Related
Post by: rayant on March 06, 2017, 12:42:21 PM
I have a problem on Virtuemart 3.0.16.

Vendor is not getting emails and I think the problem is happening when the customer pays with paypal because when the customer paysthe order remain pending.

I tried to test by changing the order to complete and I get this error :

TCPDF ERROR: Unable to create output file: components/invoices/vminvoice_1703064CM3032.pdf

The chmod of invoices is 777

Can anyone help me regarding this issue please ?

Thanks
Title: Re: Problem with Virtuemart 3.0.16 - Email / TCPDF Related
Post by: jenkinhill on March 06, 2017, 12:49:20 PM
Failure to create the pdf invoice is often due to a lack of PHP memory on the server. Look at the server error log to check this.

No directory should be set to 777 and no server should require it  - that is the equivalent of leaving the front and back doors of your house open while you go away on holiday! 775 is the max that should be required.

A pending status from Paypal would never generate order emails or an invoice. That is a separate issue with your Paypal plugin or configuration.