Post by t3ch_guru » Tue Nov 12, 2019 12:18 pm

cannot upload mp3 files to the download section in opencart I have tried everything to changing file sizes and nothing is working I do not host my store online its for an internal network only with no domain so I do not have isp restrictions but it gives me an upload required error I have modified the php config file file length and also included it in the allowed file extensions and allowed mime types under server settings and also included it in the www\Store\admin\controller\common\filemanager.php file I also have 160000000 set for max file size under upload ive tried uploading a picture and it works fine which is 124kb the mp3 is 31.8mb and fails here is my info have tried with different browsers and all have same results I currently am using google chrome I have also tried using the server directly at localhost with same error results
my php ini file with extras added trying everything

magic_quotes_gpc = Off
register_globals = Off
file_uploads = on
default_charset = UTF-8
memory_limit = 64M have changed this to make it higher nothing works
post_max_size = 999M have changed this
max_execution_time = 18000 have changed this
upload_max_filesize = 999M have changed this
max_input_vars = 10000 have changed this
safe_mode = Off
mysql.connect_timeout = 20
session.auto_start = Off
session.use_only_cookies = On
session.use_cookies = On
session.use_trans_sid = Off
session.cookie_httponly = On
session.cookie_lifetime = 3600
session.gc_maxlifetime = 3600
allow_url_fopen = On
display_errors = 1
error_reporting = E_ALL

// Allowed file extension types in filemanager.php file
$allowed = array(
'mp3' added this
'mpeg' added this
'mpg' added this
// Allowed file mime types in filemanager.php file
$allowed = array(
'audio/mp3' added this
'audio/mpeg' added this
'audio/mpg' added this



Tue Nov 12, 2019 11:46 am

Post by xxvirusxx » Tue Nov 12, 2019 5:24 pm

Better report here because isn't final version

Extensions converted by me | Buy me a beer

User avatar
Expert Member


Tue Jul 17, 2012 10:35 pm
Location - România

Post by Johnathan » Tue Nov 12, 2019 10:00 pm

Also, if you're creating a live store, use an official version (either or The alpha/beta versions will have bugs, guaranteed.

Image Image Image Image

User avatar
Global Moderator


Fri Dec 18, 2009 3:08 am

Post by letxobnav » Tue Nov 12, 2019 11:23 pm

Even for a non-live store, for that alpha version you will not find much support here.

Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces

“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.

User avatar
Expert Member


Fri Aug 18, 2017 4:35 pm
Location - Taiwan

Post by t3ch_guru » Wed Nov 13, 2019 5:31 pm

got it figured out finally it wasnt working after reverting back to the latest stable version either I suppose it was my php server limits I tried editing the php.ini directly but it still didnt work so I just added upload_max_filesize 999M and post_max_size 999M to an .htaccess file and put it in the store directory



Tue Nov 12, 2019 11:46 am
Who is online

Users browsing this forum: No registered users and 3 guests