2.0.6 Invoice error - In the BE - just clcik on any order invoice Fixed 2.0.7

Started by John2400, April 18, 2012, 11:25:43 AM

Previous topic - Next topic

John2400

Quote from: patbe60 on April 29, 2012, 12:31:40 PM
Just try rev 5964.

Actually we are not worried about actually sending the invoice - we are in orders in the back and it does not show up simply when we click on it?   could you explain what you mean by rev 5964? reverse, remove, retype?



jndm

i could solve my problem by setting the cache options to normal caching and 15 minutes in the joomla server configuration

Uke

I had this problem with Joomla 2.5.17 Virtuemart V2.0.26d. On every first click on delivery note or invoice the pdf was damaged / broken. Second click the pdf opens fine.

Have solved it by editing the /libraries/tcpdf/tcpdf.php on my version the line number was:

Uncoment:

22250      // array_push($dom[($dom[$key]['parent'])]['trids'], $key);

or replaced it with:

22251      if (is_null($dom[($dom[$key]['parent'])]['trids'])){ $dom[($dom[$key]['parent'])]['trids'] = array(); }

Thank you for this monster hack!!! I will do it after every update for sure. And it makes sense for me.