Ungraded version to 3.4.0 (premium) - wkhtmltopdf stopped working

(2 posts) (2 voices)

Tags:

No tags yet.

  1. Nothing else changed. It was working smoothly, I upgraded myDBR and now I get:

    Warning: constant() [function.constant]: Couldn't find constant PHPExcel_Worksheet_PageSetup::PAPERSIZE_letter in /public_html/mydbr/lib/export.php on line 1179

    Warning: Cannot modify header information - headers already sent by (output started at /public_html/mydbr/lib/export.php:1179) in /public_html/mydbr/lib/export.php on line 1964

    Warning: Cannot modify header information - headers already sent by (output started at /public_html/mydbr/lib/export.php:1179) in /public_html/mydbr/lib/export.php on line 2004

    Warning: Cannot modify header information - headers already sent by (output started at /public_html/mydbr/lib/export.php:1179) in /public_html/mydbr/lib/export.php on line 2012

    and then reams of garbage.

    I have this code in defaults.php:

    $INC_DIR = $_SERVER["DOCUMENT_ROOT"]. "/wkhtmltopdf/";
    $mydbr_defaults['export']['wkhtmltopdf']['command'] = '../wkhtmltopdf/wkhtmltopdf';

    I am stumped. It worked perfectly for a long while, and now . . .

    And I need this.

    Kermit

  2. myDBR Team, Key Master

    Two things seems to be wrong here.

    1) The wkhtmltopdf is not used (myDBR cannot find it) and myDBR resorts back to inferior PDF output (PHPExcel)
    2) You have set the papersize to be 'letter' as is should be 'LETTER' in PHPExcel

    Btw, what is the $INC_DIR definition in defaults.php? That will not serve any purpose.

    --
    myDBR Team


Reply

You must log in to post.