News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Force creation of invoice = blank invoice PDF

Started by BjornOnPole, September 06, 2013, 15:36:00 PM

Previous topic - Next topic

BjornOnPole

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

Milbo

Either you have not enough ram set, or your template is broken somewhere
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

jjk

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.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

BjornOnPole

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 :(

BjornOnPole

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?

Milbo

all questions: Yes.

Strange, does your printscreen work?
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

BjornOnPole


lp24

I have the exact problem.
Print works fine, but get blank PDF's on delivery note and invoice creation.

ncopeman

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

BjornOnPole

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.

BjornOnPole

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!