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.074 seconds

This is what you call a component builder. I was able to master using this in a very short time and the resulting component works like a charm. Not just a basic component builder but a fully working component builder with forms fields tables all ready to go. You can make the list and item views to display in the front and back end. Also there is a great forum just starting to evolve and I'm sure this will grow very rapidly when you all realise how good this tool is.
Kevin (JED)

         

Get Started