• Resolved alfredarnal

    (@alfredarnal)


    Hi, thanks for releasing a new version.

    Exporting to CSV now seems to work OK relating special characters (at least with Catalan and Spanish)

    However, now I CANNOT EXPORT to Excel or PDF:

    1. Trying to export to Excel, I get the following error screen:

    “Parse error: syntax error, unexpected ‘[‘ in /usr/home/ (…my website…) /web/wp-content/plugins/advanced-cf7-db/admin/class/PHPExcel.php on line 9”

    (which is the following line: private $_types = [ ‘xlsx’ => ‘Excel2007’, ‘xls’ => ‘Excel5’ ]; )

    2. Trying to export to PDF, I get the following error screen:

    “Usage: page=contact-form-listing&cf7_id=3676 font_family [n_file [b_file] [i_file] [bi_file]] font_family: the name of the font, e.g. Verdana, ‘Times New Roman’, monospace, sans-serif. If it equals to “system_fonts”, all the system fonts will be installed. n_file: the .ttf or .otf file for the normal, non-bold, non-italic face of the font. {b|i|bi}_file: the files for each of the respective (bold, italic, bold-italic) faces. If the optional b|i|bi files are not specified, load_font.php will search the directory containing normal font file (n_file) for additional files that it thinks might be the correct ones (e.g. that end in _Bold or b or B). If it finds the files they will also be processed. All files will be automatically copied to the DOMPDF font directory, and afm files will be generated using php-font-lib (https://github.com/PhenX/php-font-lib). Examples: ./load_font.php silkscreen /usr/share/fonts/truetype/slkscr.ttf ./load_font.php ‘Times New Roman’ /mnt/c_drive/WINDOWS/Fonts/times.ttf”

    No more info provided.

    An urgent fix is needed as exporting only to CSV is not acceptable in my organization…

    Thanks in advance

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Vsourz Digital

    (@vsourz1td)

    Hello @alfredarnal,

    We have resolved the issue related to the PDF generation issue in our latest release 1.4.4.

    Also, we have provided filters to restrict data submission or modify, edit data before saving to DB.

    Hope you will enjoy the new features.

    Regards,
    Vsourz

    Thread Starter alfredarnal

    (@alfredarnal)

    Hi, thanks for your reply and new release, however this issue is not resolved at all (not for me at least):

    1. Trying to export to Excel, I still get the same following error screen, that is:

    “Parse error: syntax error, unexpected ‘[‘ in /usr/home/ (…my website…) /web/wp-content/plugins/advanced-cf7-db/admin/class/PHPExcel.php on line 9”

    (which is the following line: private $_types = [ ‘xlsx’ => ‘Excel2007’, ‘xls’ => ‘Excel5’ ]; )

    2. Trying to export to PDF, I don’t get any error screen any more, however I can’t open the PDF. Acrobat Reader XI warns me of incorrect file format.

    Thread Starter alfredarnal

    (@alfredarnal)

    Hi guys,

    Just installed your latest version 1.5.0, however still stuck into the same problem with exporting to either Excel or PDF:, that is:

    1. Trying to export to Excel, I get the following error screen:

    “Parse error: syntax error, unexpected ‘[‘ in /usr/home/ (…my website…) /web/wp-content/plugins/advanced-cf7-db/admin/class/PHPExcel.php on line 9”

    (which is the following line: private $_types = [ ‘xlsx’ => ‘Excel2007’, ‘xls’ => ‘Excel5’ ]; )

    2. Trying to export to PDF, I don’t get any error screen any more, however I CAN’T OPEN the PDF. Acrobat Reader XI warns me of incorrect file format.

    Are you working on the issue?
    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Newest version 1.4.2: Export errors!’ is closed to new replies.