cannot upload mp3 files to the download section in opencart 3.1.0.0_b 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(
'jpg',
'jpeg',
'gif',
'png',
'mp3' added this
'mpeg' added this
'mpg' added this
// Allowed file mime types in filemanager.php file
$allowed = array(
'image/jpeg',
'image/pjpeg',
'image/png',
'image/x-png',
'image/gif'
'audio/mp3' added this
'audio/mpeg' added this
'audio/mpg' added this
Better report here because isn't final version
https://github.com/opencart/opencart/issues
https://github.com/opencart/opencart/issues
Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer
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.
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
Who is online
Users browsing this forum: No registered users and 102 guests