AbanteCart Community

Shopping Cart Operations => Support => General Support => Topic started by: pandawdy on August 10, 2013, 05:29:47 AM

Title: max filesize error when setting up a download
Post by: pandawdy on August 10, 2013, 05:29:47 AM
I'm trying to create a downloadable product, but I'm getting the following error:

Error: The uploaded file exceeds the upload_max_filesize directive in php.ini (now 2M)

I found the php.ini file, but could not find the entry upload_max_filesize. I did find max_upload_filesize (words reversed) and it is set to 100 megs.

Can anyone help?
Title: Re: max filesize error when setting up a download
Post by: pandawdy on August 10, 2013, 07:12:57 AM
I checked with my hosting provider. The current PHP configuration has upload_max_filesize set to 256M. The file I'm trying to upload is around 4 megs.
Title: Re: max filesize error when setting up a download
Post by: abantecart on August 10, 2013, 12:49:46 PM
How about post_max_size in php.ini?

Do you have any  php_value upload_max_filesize or php_value post_max_size in .htaccess?

Please check this http://stackoverflow.com/questions/1122418/changing-upload-max-filesize-on-php
Title: Re: max filesize error when setting up a download
Post by: pandawdy on August 10, 2013, 01:04:53 PM
Tech support just broke my cpanel  :(

I'm going to check on it as soon as I can. Thanks for the help.
Title: Re: max filesize error when setting up a download
Post by: pandawdy on August 10, 2013, 02:04:07 PM
Tech support just broke my cpanel  :(

I'm going to check on it as soon as I can. Thanks for the help.

I don't see a post_max_size, but I have very limited access to my server's PHP settings. It's shared hosting.
Title: Re: max filesize error when setting up a download
Post by: pandawdy on August 10, 2013, 03:47:07 PM
Ok I think my tech support has this fixed now. Thanks for the help.