Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

Mime type not valid 20 Oct 2014 13:15 #12707

Hello admin and all respected members.
I am facing an error recently started occurring is: Mime type not valid (application/octet-stream), allowed Mimes are image/bmp - image/gif - image/jpeg - image/png :
Impossible to upload file : imagename.jpg

I am getting error while creating new item with uploading image.
I have tried to resolve this issue but could not. Please tell me if anyone knows that how to fix it.

Thanks

Please Log in or Create an account to join the conversation.

Mime type not valid 20 Oct 2014 14:03 #12708

check dowloaded version of component,
in sandobx there are some limiations

Please Log in or Create an account to join the conversation.

Mime type not valid 20 Oct 2014 14:06 #12709

This code has been working fine for last 1 year.

Please Log in or Create an account to join the conversation.

Mime type not valid 20 Oct 2014 18:51 #12711

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
It is a classic.
You are using 'File' type I guess..

When you use a data type 'Image', then some mimes are automatically defined by default.
If you are using 'File' data type, it is sligly diferent (mostly nothing) and the mimes are not defined by default. Open the properties and define them.

Does it helped you ?
Coding is now a piece of cake

Please Log in or Create an account to join the conversation.

Mime type not valid 21 Oct 2014 09:25 #12714

Thank you admin for reply.

I am using "Image" not "File". Actually somehow this error is occurring while this component has been running perfectly since last year. Do I need to change code or something else?

If we can fix that thing from code, then please guide.

Thanks

Please Log in or Create an account to join the conversation.

Mime type not valid 30 Oct 2014 17:28 #12724

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
Ok, I must admin I don't know.

For me it works.

Well, don't worry, I will check your component if you tell me the PTL (Project / Table / Layout)
Coding is now a piece of cake

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.087 seconds

Awards for the best Joomla app. This product is gonna win an award for this amazing job. Cook Self Service is the the best application from all over the Joomla universe ! It brings Joomla to a professional level really advanced for developers. It is a real fun to develop with it. The ACL part and security checks implementation are just... so much hours saved. I can now concentrate myself more on the design part and the creative works. Thank you so much. Guys I offer you all my congratulation ! Keep up the works because Joomla is needing it to increase the quality of extensions availables on the JED. I also learned a lot because I can see how to code at the proper place and I found all my answers reading the forum.
lack_hanson (JED)
          

Get Started