• Resolved dthekkinkad01

    (@dthekkinkad01)


    Version 1.3.1
    WordPress version: 4.9.6
    Running PHP version: 5.6.36

    I’ve installed this plugin from the add new plugin in WordPress. When I download the excel file for any forms and open it I get the following error message:

    The file format and extension of the file don’t match. The file could be corrupted.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Doeke Norg

    (@doekenorg)

    Hi @dthekkinkad01, thanks for your message.

    Also, does this happen to every form or just the one? If it’s just one, it could be due to some malformed content. Otherwise, I think it could be that the file also exports some (php)error-code next to the xls-code, so excel itself doesn’t recognize the full code als valid xls.

    Can you try opening the xls-file with a code-editor or notepad, and see if there is a readable error message. If so, please share this error.

    What you could then try is to disable ALL error messages error_reporting(0);.

    Hope this helps. If not please let me know, so we can get to the bottom of this!

    Thread Starter dthekkinkad01

    (@dthekkinkad01)

    I’ve tried the plugin with 4 forms. I run into the issue every time.

    I could not find any error code. I even tried disabling all error messages but it didn’t help at all.

    This is a part of the xls-code.

    xl/_rels/workbook.xml.relsPK\00\00\00\00\C3C\D2L\ECS~\A5\9A\00\00P\00\00\00\00\00\00\00\00\00\00\00\00\00\B6\81\BC\00\00docProps/app.xmlPK\00\00\00\00\C3C\D2L \C4?\93\00\00i\00\00\00\00\00\00\00\00\00\00\00\00\00\B6\81\84\00\00docProps/core.xmlPK\00\00\00\00\C3C\D2Ls\91{Y\B3\00\00\A6\00\00\00\00\00\00\00\00\00\00\00\00\00\B6\81F\00\00xl/theme/theme1.xmlPK\00\00\00\00\C3C\D2L\85\CA\DF!\C0\00\00\FA
    \00\00\00\00\00\00\00\00\00\00\00\00\00\B6\81*
    \00\00xl/sharedStrings.xmlPK\00\00\00\00\C3C\D2L2\F1\D07\00\00g\00\00
    \00\00\00\00\00\00\00\00\00\00\00\B6\81\00\00xl/styles.xmlPK\00\00\00\00\C3C\D2L\BF\FBHF\AF\00\00\E8\00\00\00\00\00\00\00\00\00\00\00\00\00\B6\81R\00\00xl/workbook.xmlPK\00\00\00\00\C3C\D2L \CE+\F4\95\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\B6\81.\00\00xl/worksheets/sheet1.xmlPK\00\00\00\00\C3C\D2L\CDKR”x\00\00\00\8D\00\00\00#\00\00\00\00\00\00\00\00\00\00\00\B6\81\F9\00\00xl/worksheets/_rels/sheet1.xml.relsPK\00\00\00\00\00\00\D1\00\00\B2\00\00\00\00

    Plugin Author Doeke Norg

    (@doekenorg)

    Hm, weird. It seems like the excel-file is being rendered as it should be.
    The plugin uses a library called phpspreadsheet to actually render the xls. It looks like it’s going wrong in that department.

    I’ve read that this behavior could be related to the php-zip version. Please read this reply: https://www.ads-software.com/support/topic/excel-download-link-does-not-work/#post-10314978.

    If at all possible, try and re-istall php-zip. If it still doesn’t work, would you be willing to send me one of those corrupted files?

    Let me know if this helps!

    Plugin Author Doeke Norg

    (@doekenorg)

    Hi @dthekkinkad01,

    Any updates on this issue? Or can I close it? Let me know!

    Plugin Author Doeke Norg

    (@doekenorg)

    fixed as of 1.5.1

    sbno

    (@sbno)

    Hi, Doeke

    I have dicoverd the same problem. I used the Plugin for two week and all was Great (PS. real good Plugin!) but since today I get the same message as dthekkinkad01!
    and i have no idea how I can solve the Problem. Looking forward for your help.

    My Versions:

    GF = 2.3.6
    PHP Version is = 7.2.10
    and WP = 4.9.8

    Plugin Author Doeke Norg

    (@doekenorg)

    Hi @sbno,

    Sorry to hear this. What version of the plugin do you use?

    Please also send me a corrupt xlsx on [email protected].

    Thanks.

    • This reply was modified 6 years ago by Doeke Norg.
    sbno

    (@sbno)

    Version 1.5.4
    ok i′ll do it, Thanks for the quick answer!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Downloaded excel file corrupted’ is closed to new replies.