AbanteCart Community
Shopping Cart Operations => Support => General Support => Topic started by: RobHolsman on April 11, 2014, 11:00:52 AM
-
Hi - Hope you can help with a problem I'm having trying to create a digital download item. The file is a zip archive of mp3s, total size is 74MB. Upload fails with the following message: UnknownFile 0.00kb Error: Some problem happen with file upload. Check error log for more information.
There is nothing in the error log.
In System > Settings > System I have "Resource Library Upload Max File Size, kB" currently set to 100000 (altough next to it, it says (<= 8M)
php.ini (at the root level of my store folder) looks like this:
";Use this file for specific PHP settings on your server required for AbanteCart.
output_buffering = 4096;
magic_quotes_gpc = Off;
register_globals = Off;
default_charset = UTF-8;
memory_limit = 120M;
max_execution_time = 360000;
upload_max_filesize = 120M;
safe_mode = Off;
mysql.connect_timeout = 20;
session.use_cookies = On;
session.use_trans_sid = Off;
session.gc_maxlifetime = 12000000;"
My install is hosted by Arvixe - I currently have an installation of Prestashop on there which handles uploads of this file size just fine. I can upload smaller files up to around 8MB fine, so there seems to be a limit set somewhere ...
Am I just looking in the wrong place?
Rob
-
you can check is your php.ini affect abantecart. Just paste in index.php file line
var_dump(ini_get('upload_max_filesize'));
and look in your browser
-
Thank you - I have done that and it says
string(4) "120M"
So I assume 120MB?
-
Hi - so, do you have any ideas on this? As per my last reply, the php output says that max file size is set to 120M but it still won't let me upload anything larger than 8MB without failing. Doesn't make it possible to sell my band's music at the moment as the albums are about 74MB! Which is a shame as everthing else is great, but this is a key requirement ...
Rob
-
Check this:
http://www.cyberciti.biz/faq/linux-unix-apache-increase-php-upload-limit/
-
Hi - problem has been solved .. In my case the "post_max_size" was completely missing from the php.ini. No matter what values I changed, the value in System > Settings > System still had =<8MB next to it.
Manually added "post_max_size = 100M;" to the php.ini file and then it changed. Now works fine.
Mine was a softaculous install if that has anything to do with it - either way the php.ini file had been created missing an important line for this!
-
Thank you for sharing.