mpdf not working on server but an another server it work on perfectly. what can I do?
public function get_qty_print_dataa(){ 
    $val = array();
    $id = $this->uri->segment(3);
    $val['qty_data'] = $this->common->get_qta_data('invoice','id',$id);
    $this->load->view('admin/print_qty_vieww',$val);
    $html = $this->load->view('admin/print_qty_vieww',$val,true);
    $str = "invoicee_".$val['qty_data']['invoiceno'].".pdf";
    $f_name = str_replace(' ', '', $str);
    $pdfFilePath= "public/admin/pfd_files/".$f_name;
    $this->load->library('m_pdf'); //load mPDF library
    $this->m_pdf->pdf->WriteHTML($html); //generate the PDF from the given html
    $this->m_pdf->pdf->Output($pdfFilePath, "F");  // save to folder
    $this->m_pdf->pdf->Output($f_name, "D"); //download it.
    //echo json_encode($html);         
}