Please help us to make AbanteCart Ideal Open Source Ecommerce Solution for everyone.

Support AbanteCart eCommerce

Author Topic: Download items - Max Filesize problem  (Read 10006 times)

Offline RobHolsman

  • Newbie
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Download items - Max Filesize problem
« 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

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2174
  • Karma: +345/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: Download items - Max Filesize problem
« Reply #1 on: April 11, 2014, 11:13:55 AM »
you can check is your php.ini affect abantecart. Just paste in index.php file line
Code: [Select]
var_dump(ini_get('upload_max_filesize')); and look in your browser
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline RobHolsman

  • Newbie
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: Download items - Max Filesize problem
« Reply #2 on: April 11, 2014, 12:09:45 PM »
Thank you - I have done that and it says

string(4) "120M"

So I assume 120MB?


Offline RobHolsman

  • Newbie
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: Download items - Max Filesize problem
« Reply #3 on: April 23, 2014, 01:09:32 PM »
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

Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 4367
  • Karma: +302/-10
    • View Profile
    • Ideal Open Source Ecommerce Solution
Please  rate your experience or leave your review
We need your help to build better free open source ecommerce platform for everyone. See how you can help

Offline RobHolsman

  • Newbie
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: Download items - Max Filesize problem
« Reply #5 on: April 25, 2014, 01:53:42 PM »
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!

Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 4367
  • Karma: +302/-10
    • View Profile
    • Ideal Open Source Ecommerce Solution
Re: Download items - Max Filesize problem
« Reply #6 on: April 25, 2014, 01:57:51 PM »
Thank you for sharing.
Please  rate your experience or leave your review
We need your help to build better free open source ecommerce platform for everyone. See how you can help

 

Powered by SMFPacks Social Login Mod