Menu

Voucher Pdf export error

Help
Nahom
2015-04-11
2016-04-07
  • Nahom

    Nahom - 2015-04-11

    Notice (8): Undefined index: User [APP/Controller/Component/TokenAuthComponent.php, line 63]
    Notice (8): Undefined variable: output_instr [APP/View/Vouchers/export_pdf.ctp, line 4]
    Notice (8): Undefined variable: output_instr [APP/View/Vouchers/export_pdf.ctp, line 4]
    Notice (8): Undefined variable: output_instr [APP/View/Vouchers/export_pdf.ctp, line 68]
    Notice (8): Undefined index: [APP/Vendor/label_pdf.php, line 82]TCPDF ERROR: Incorrect unit:

    The above error is shown when you try to export any vourcher under any setting

     
  • Jean-Luc Douw

    Jean-Luc Douw - 2015-05-06

    Hello, Got kind of the same problem here:

    Notice (8): Undefined index: Realm [APP/Controller/VouchersController.php, line 203]Code Context if(!array_key_exists($realm,$voucher_data)){
    $r = $this->Realm->findById($realm_id);
    $voucher_data[$realm] = $r['Realm'];

    VouchersController::export_pdf() - APP/Controller/VouchersController.php, line 203
    ReflectionMethod::invokeArgs() - [internal], line ??
    Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490
    Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
    Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
    [main] - APP/webroot/index.php, line 92

    Notice (8): Undefined index: icon_file_name [APP/View/Vouchers/export_pdf.ctp, line 73]Code Context $d = $voucher_data["$key"];
    foreach($d['vouchers'] as $v){
    $pdf->Logo = 'img/realms/'.$d['icon_file_name'];

    include - APP/View/Vouchers/export_pdf.ctp, line 73
    View::_evaluate() - CORE/Cake/View/View.php, line 961
    View::_render() - CORE/Cake/View/View.php, line 923
    View::render() - CORE/Cake/View/View.php, line 473
    Controller::render() - CORE/Cake/Controller/Controller.php, line 960
    Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 200
    Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
    [main] - APP/webroot/index.php, line 92

    TCPDF ERROR: [Image] Unable to get image: /usr/share/nginx/html/cakephp-2.6.2/rd_cake/webroot/img/realms/

     
  • Jean-Luc Douw

    Jean-Luc Douw - 2016-04-07

    I'm still having this problem, any one got a solution?

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.