File extension ".vmod"" does not match the detected MIME type of the file (application/zip)

I have been uploading this game for a number of years making changes and improvements occasionally. When I’ve tried to upload the latest version, I receive this error message and the module does not get uploaded; “File extension “.vmod”” does not match the detected MIME type of the file (application/zip)."

This is the name of the file I am trying to upload to the wiki Vassal module section “Scorched Earth”

This is the name of the file, which has not changed except for the version number over the years: “E:\GAMES\modules for Vassal\Scorched Earth\Scorched Earth v4.88.vmod”

The only thing that has changed is the v4.82 to v4.88. I have tried searching for this error on the internet to see how to correct it and what comes up is not comprehensible to me!

Any suggestions on how to make the changes needed to remove this uploading error on wiki for Vassal. I appreciate any help to resolve this error. Thanks, Jim.

Would you show us a screenshot of the error message?

Yes, here is the screen shot of the whole page when the error occurs.

Let me know if you could use anything else. Thanks, Jim.

That’s unexpected. We haven’t changed anything about the wiki in quite some time. Would you upload the file somewhere else so I can examine it?

I was able to upload an earlier version that was giving me the same problem. It is/was in the wiki file remediation area. The earlier version had a version number around v4.86, i.e.,“Scorched Earth v4.86.vmod”. The v4.86 will be the only difference between my current version of v4.88 and the prior version I was also having a problem with. Even though it was eventually loaded, it was never made available on the module page. If that version is no longer
in the remediation area, where do you suggest I upload it to so you can examine it? Thanks, Jim.

By the way, the recent changes wiki page shows the module was last uploaded on 15 August 2024 at 01:59 and prior to that on 8 August 2024 at 21:41 under the name Scorched Earth.

If you use any services from the big tech companies, you likely already have access to some form of cloud storage: Google Drive, Microsoft OneDrive, Dropbox, box.com, the list goes on and on.

1 Like

Here’s the link to Google Drive for the Scorched Earth v4.88.vmod file. Thanks for your help here! Jim.

I believe the problem was that you’d set the filename for upload to a local path on your system. I fixed that on the module page and uploaded the module for you.

Thank you SO MUCH!! I appreciate all you do for all of us! Thanks! Jim

By the way, how do I need to set the upload settings so I can avoid this error in the future or is that what you already did? Thanks again!

What you had on the module page was

{{ModuleFile2|filename="E:\GAMES\modules for Vassal\Scorched Earth\Scorched Earth v4.88.vmod"|description=module|date=2024-08-14|size=|compatibility=3.7.13|maintainer={{email|JimsVassal@gmail.com|Jim M.}}|contributors={{email|JimsVassal@gmail.com|Jim M.}}}}

What you should have had was

{{ModuleFile2|filename=Scorched Earth v4.88.vmod|description=module|date=2024-08-14|size=|compatibility=3.7.13|maintainer={{email|JimsVassal@gmail.com|Jim M.}}|contributors={{email|JimsVassal@gmail.com|Jim M.}}}}

The filename is supposed to be just a filename, not a path.

Thank you for clearing up my error! I will correct it in future module updates. Thanks again! Jim.