Skip to Content Skip to Menu

A problem with uploading mp3 file

  • gsabrd
  • gsabrd
  • OFFLINE
  • Posts: 15
  • Thanks: 2
  • Karma: 0
9 years 7 months ago #261373 by gsabrd
A problem with uploading mp3 file was created by gsabrd
After watching Youtube video with clear explanations, I didn't get the expected effect on my site. I attached 3 screen shots. One with video which shows the process of uploading mp3 file. The second one is the picture with the same mp3 extension. The third one is what I got after unsuccessful uploading. I am using CB 2.0.7. Thanks
Attachments:

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

  • nant
  • nant
  • OFFLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
9 years 7 months ago #261395 by nant
Replied by nant on topic A problem with uploading mp3 file
Are you sure your mp3 file is not too big for your fileupload size parameter in PHP.ini ?

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48478
  • Thanks: 8282
  • Karma: 1443
9 years 7 months ago #261425 by krileon
Replied by krileon on topic A problem with uploading mp3 file
Please make the below change and see if issue persists.

IN: components/com_comprofiler/plugin/user/plug_cbcore/cb.core.php
FROM:
Code:
$allowed = array( 'audio/mp4', 'audio/mpeg', 'audio/ogg', 'audio/wav', 'audio/webm' );
TO:
Code:
$allowed = array( 'audio/mp3', 'audio/mpeg', 'audio/ogg', 'audio/wav', 'audio/webm' );

We've already a ticket to fix/improve this validation to be more accurate like CB Gallery usage.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

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

Moderators: beatnantkrileon
Powered by Kunena Forum