Can’t open downloaded Office files

The links are working, we can download our files.

When we are trying to open .xlsx, .docx, .pptx files downloaded by the Groups File Access plugin we get the following error:
“Excel cannot open the file `filename` because the file format or extension is not valid. Verify that the file has not been corrupted and that the file extension matches the format of the file.”

But when we download the file from the original link “/wp-content/uploads/…” the file is not corrupted and you can open it.

.pdf are downloadable and can be opened.

8 Responses to Can’t open downloaded Office files

  1. Gustaf Anderson August 30, 2022 at 12:23 pm #

    Hello Eugen,

    Nice hearing from you.
    We have set up a user for you, a mail has been sent from staging.industriarbetsgivarguiden.se which is our staging-site.

    When you have logged in you can try visiting this page and click the link in the orange box:
    https://industriarbetsgivarguiden.se/arbetstid/arbetstider-arbetare-stal-och-metallindustrin/modell-for-berakning-av-arbetstid-och-ob-ersattning-stal-och-metallindustrin/

    An Excel file will be downloaded which cannot be opened in Excel.
    I’m eager to hear from you soon.
    Best regards.

      • Eugen Bleck September 2, 2022 at 8:41 am #

        Hi Gustaf,

        Good morning and thank you for sharing the credentials and for creating the staging environment.

        It enabled me to take a closer look and we are looking into the issue.

        Please I’ll keep you posted when I have more on this.

        Stay safe and be awesome!
        Best,
        Eugen.

        • Gustaf Anderson September 8, 2022 at 5:46 am #

          Hi Eugen,

          have you had a chance to look into this issue?
          It has been a couple of days now and since the problem still occurs it would be great if you could get back to me as soon as possible.

          Looking forward to hear from you!

          Best regards.

          • Eugen Bleck September 8, 2022 at 10:42 am #

            Hi Gustaf,

            Good morning, I trust you are well and safe!

            Sorry, but it seems my email didn’t reach you. Let me forward it to this email.

            Best,
            Eugen.

            • Gustaf Anderson September 9, 2022 at 8:02 am #

              Hi Eugen,

              We have found a solution for the problem. I’m attaching a link with an image so that you can see what we added in your plugin to make it work.

              https://drive.google.com/file/d/1kECjohpAad6T8l8reS1ygWm8vLPFFjQd/view?usp=sharing

              • Eugen Bleck September 12, 2022 at 2:11 pm #

                Hi Gustaf,

                Good morning and happy new week!

                Thank you so much for the feedback! I’ll go ahead and share this with the rest of the team.

                Stay safe and be awesome!
                Best,
                Eugen.

  2. Eugen Bleck August 30, 2022 at 10:37 am #

    Hi Gustaf,

    Good morning and happy new week!

    I trust you are well and safe! Thank you so much for reaching out and for using Groups.

    Thank you for sharing this with us, please enable WordPress debugging and set up a staging environment so I can take a closer look at your setup. Furthermore, for security reasons, please email the admin credentials to the dev/staging site here: eugen [at] itthinx [dot] com.

    I remain eager to help resolve this issue!

    STAY SAFE and be awesome!
    Best,
    Eugen.

We use cookies to optimize your experience on our site and assume you're OK with that if you stay.
OK, hide this message.

Affiliates · Contact · Jobs · Terms & Conditions · Privacy Policy · Documentation · Downloads · Useful Plugins · My Account

Share