Invoice hack, step by step
Posted: 17 Oct 2008, 03:09
Hi Joomlers,
Is there a way tot test step by step the printing of a invoice?
I'am trying now for a year to make this hack working on my site. I installed before and they work fine but on my own site NOT. The only thing i get is a pdf (not in the browser but FF download it). When i rename the pdf to html i'll see this in the file:
I read in the VirtueMart forum that you can set after the url the tekst: &testmode=1 When i do that i see the pdf template in the browser and it looks like:
Everythings woking exept generate the pdf file. I normaly (on other sites) get a page with the invoice and i can print that. I know that this forum is for J1.5 but thats my next step. Joomla settings: Gzip is off, extra tab is there, add invoice ok, delete order etc. is working fine. I have read the forum 100 times and tested all the written options but non are working for me
Please help me with this problem. What steps can i do to test the process step by step.
Micha
Is there a way tot test step by step the printing of a invoice?
I'am trying now for a year to make this hack working on my site. I installed before and they work fine but on my own site NOT. The only thing i get is a pdf (not in the browser but FF download it). When i rename the pdf to html i'll see this in the file:
Code: Select all
Parse error: syntax error, unexpected T_STRING in /home/babymore/public_html/administrator/components/com_virtuemart/classes/ps_delivery.php(514) : eval()'d code on line 81
Fatal error: Class 'PDF' not found in /home/babymore/public_html/administrator/components/com_virtuemart/classes/ps_delivery.php on line 515
Code: Select all
Image('/home/babymore/public_html/components/com_virtuemart/shop_image/vendor/ff51738d681b768b6cd30b643aeb28f9.jpg',20,15,70);
$this->SetX(-107);
$this->SetFont('Arial','B',15);
$this->Cell(80,10,' Factuur',0,0,'R');
$this->Ln(40);
$this->SetX(-107);
$this->SetFont('Arial','B',9);
if("2" != '') {
$this->Cell(24,5,'Factuur nr.',0,0,'C');
} else {
$this->Cell(24,5,'Datum',0,0,'L');
}
$this->Cell(28,5,'Order nr.',0,0,'C');
--- cut -----
Please help me with this problem. What steps can i do to test the process step by step.
Micha