DOMPDF, ich kann nicht zwei PDFs gleichzeitig erstellen
Wenn ich versuche, zwei PDF-Dateien gleichzeitig zu erstellen, werden Fehler ausgegeben ...
Schwerwiegender Fehler: Nicht erfasste Ausnahme 'DOMPDF_Exception' mit der Meldung 'Kein übergeordnetes Element auf Blockebene gefunden. Nicht gut.' in C: \ wamp \ www \ si2i \ application \ libraries \ dompdf \ include \ inline_positioner.cls.php in Zeile 38 (!) DOMPDF_Exception: Kein übergeordnetes Element auf Blockebene gefunden. Nicht gut. in C: \ wamp \ www \ si2i \ application \ libraries \ dompdf \ include \ inline_positioner.cls.php in Zeile 38
Hier ist der Code:
$this->load->library('pdf');
$this->pdf->set_base_path($data['path']);
$this->pdf->load_view('adm/invoice/si2i',$data);
$this->pdf->render();
$output = $this->pdf->output();
file_put_contents("uploads/invoice/invoice_".$invoice_file_name.".pdf", $output);
$this->load->library('pdf');
$this->pdf->set_base_path($data['path']);
$this->pdf->load_view('adm/invoice/si2i',$data);
$this->pdf->render();
$output = $this->pdf->output();
file_put_contents("uploads/invoice/invoice_".$invoice_file_name.".pdf", $output);
Bitte hilf mir..
Danke im Voraus...