Page 1 of 1

Allowed mime types

Posted: 18 May 2023, 08:43
by alsthom
Hello,
I am using the 4.0.7 phoca cart on joomla 4.3.1
---
I am trying to add some digital products with .rwp extension (rwp is actually zip and it's used in train simulator game)
So I go to options, then form and then I try to add this {rwp=application/x-zip}
But with no luck. I try to upload this rwp after that and there is always an error (not allowed)
That edit (I mean this {rwp=application/x-zip} )..is working fine in phoca downloads but not at phoca cart :(
---
Am I doing something wrong? Please give me your advise. Thank you

Re: Allowed mime types

Posted: 18 May 2023, 18:17
by Jan
Hi, where exactly do you upload this file?

Did you set the correct parameter (frontend|backend)?

Image

Jan

Re: Allowed mime types

Posted: 18 May 2023, 19:14
by alsthom
Yes. I set it at backend and frontend, too {rwp=application/x-zip} but it still doesn't allow me to upload theese files
I am trying to upload this in the product tab. I am creating a new product and in Public Download File I am trying to upload this rwp file....
Error is "Illegal or invalid mime type detected."

Re: Allowed mime types

Posted: 22 May 2023, 13:58
by Jan
Hi, can you paste a screenshot of place where you try to upload them and where you get the error?

Jan

Re: Allowed mime types

Posted: 31 May 2023, 10:43
by alsthom

Re: Allowed mime types

Posted: 01 Jun 2023, 23:56
by Jan
Hi, what value has this parameter: Enable XSS Check?

What happens, when you disable checking mime types? With parameter "Ignore File Types Checking"?

Image

Jan

Re: Allowed mime types

Posted: 09 Jun 2023, 18:35
by alsthom
I give up!
I have enabled the option "ignore file types..."
I tried to upload a .rwp file .It says that it's too big! I set that option to 0 (no limit) and tried to upload the file. Guess what? Illegal or invalid mime type detected !!!!
Never mind. I will upload as zip those files. At least I can upload zip files

Re: Allowed mime types

Posted: 12 Jun 2023, 14:35
by Jan
Hi, the question is, if the error message is not invoked e.g. in Joomla or server system then :idea:

Jan