VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: BjornOnPole on September 06, 2013, 15:36:00 PM

Title: Force creation of invoice = blank invoice PDF
Post by: BjornOnPole on September 06, 2013, 15:36:00 PM
Hello,

Whenever I go to VirtueMart > Orders and click on the button 'Force creation of invoice' on an order, I get an blank invoice PDF.

The only thing in the invoice is a header, with the website title, and a footer, with pagination. The rest is blank.

I had this working a while ago, and I have no idea why it does not work anymore. I know it used to give me an option Download/Open instead of just opening the PDF in my browser.

Can anyone help me with this issue?

Joomla! 2.5.14
VirtueMart 2.0.22c
Title: Re: Force creation of invoice = blank invoice PDF
Post by: Milbo on September 06, 2013, 20:25:42 PM
Either you have not enough ram set, or your template is broken somewhere
Title: Re: Force creation of invoice = blank invoice PDF
Post by: jjk on September 06, 2013, 20:48:23 PM
Quote from: BjornOnPole on September 06, 2013, 15:36:00 PM
Whenever I go to VirtueMart > Orders and click on the button 'Force creation of invoice' on an order, I get an blank invoice PDF.

I had the same problem after the update to 2.0.22c. But after updating my override files it works again. I didn't check which file was responsible for this problem, so I'm currently unable to tell you which VM file(s) are involved.
Title: Re: Force creation of invoice = blank invoice PDF
Post by: BjornOnPole on September 09, 2013, 10:28:41 AM
Quote from: Milbo on September 06, 2013, 20:25:42 PM
Either you have not enough ram set, or your template is broken somewhere

Good morning,

Thanks for your reply.

The memory limit is set to 128M (local value) and 32M (master value).
Is that what you meant? And is that considered enough?

I switched templates, both front- and backend, but no change. I also opened the website template folder and disabled the html overrides.

No change though :(
Title: Re: Force creation of invoice = blank invoice PDF
Post by: BjornOnPole on September 09, 2013, 10:29:47 AM
Quote from: jjk on September 06, 2013, 20:48:23 PM
Quote from: BjornOnPole on September 06, 2013, 15:36:00 PM
Whenever I go to VirtueMart > Orders and click on the button 'Force creation of invoice' on an order, I get an blank invoice PDF.

I had the same problem after the update to 2.0.22c. But after updating my override files it works again. I didn't check which file was responsible for this problem, so I'm currently unable to tell you which VM file(s) are involved.

I went into my template folder and disabled the template html overrides. Is that what you meant?
Title: Re: Force creation of invoice = blank invoice PDF
Post by: Milbo on September 09, 2013, 10:33:10 AM
all questions: Yes.

Strange, does your printscreen work?
Title: Re: Force creation of invoice = blank invoice PDF
Post by: BjornOnPole on September 09, 2013, 14:17:03 PM
Quote from: Milbo on September 09, 2013, 10:33:10 AM
all questions: Yes.

Strange, does your printscreen work?
Yes, that works.
Title: Re: Force creation of invoice = blank invoice PDF
Post by: lp24 on September 11, 2013, 12:30:41 PM
I have the exact problem.
Print works fine, but get blank PDF's on delivery note and invoice creation.
Title: Re: Force creation of invoice = blank invoice PDF
Post by: ncopeman on September 13, 2013, 19:34:56 PM
Quote from: lp24 on September 11, 2013, 12:30:41 PM
I have the exact problem.
Print works fine, but get blank PDF's on delivery note and invoice creation.

Exactly the same here.

It works fine with Paypal Express payments but not on PayPal Payments Pro credit/debit card payments.

Joomla 2.5.14
VM 2.0.22c
Title: Re: Force creation of invoice = blank invoice PDF
Post by: BjornOnPole on September 19, 2013, 16:21:53 PM
I still have this problem :( Anyone know a fix?

I tested it with all my payment methods, but it does not work on any of them.
Title: Re: Force creation of invoice = blank invoice PDF
Post by: BjornOnPole on September 20, 2013, 09:12:35 AM
We've found the problem;

The website got moved around a little bit, and the safepath was targeted at the wrong path.
Once we set the safe path up right, it started working!