Page 1 of 1

Downloadable files

Posted: Fri Mar 29, 2024 4:02 pm
by edkny
Hello,
I have a opencart store, Version 3.0.3.9
My products are digital and I have downloadable items, so when I try to upload zip files there appears an error, I believe it is because of zip file sizes, if they are larger than 20MB either I see error or the loading keeps going for hours,
I tried editing my php.ini file , so my memory_limit = 128M
but nothing changed, the small size zip files are successfully added on my end
please tell me how to fix this
Thank you in advance

Re: Downloadable files

Posted: Fri Mar 29, 2024 4:02 pm
by edkny
Image

Re: Downloadable files

Posted: Fri Mar 29, 2024 9:36 pm
by ADD Creative
Look in both the PHP and OpenCart error logs to see exactly what the error is.

Re: Downloadable files

Posted: Sat Mar 30, 2024 3:09 pm
by edkny
Mostly I don't see any errors. the files just loading for a few hours, what can I do with that?

Re: Downloadable files

Posted: Sat Mar 30, 2024 8:51 pm
by ADD Creative
What are upload_max_filesize and post_max_size set to in your PHP settings. Use phpinfo() to find out if you have to.

Re: Downloadable files

Posted: Mon Apr 01, 2024 4:38 pm
by edkny
magic_quotes_gpc = Off
register_globals = Off
default_charset = UTF-8
memory_limit = 128M
max_execution_time = 3600
upload_max_filesize = 9999M
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.gc_maxlifetime = 3600
allow_url_fopen = On
;display_errors = 1
;error_reporting = E_ALL


this is my php.ini file, but when I try uploading 20+MB files I see this error

Re: Downloadable files

Posted: Mon Apr 01, 2024 8:58 pm
by DigitCart
Hi

I have an extension that may help you. You can upload your files directly on your server (without using OpenCart admin panel), Then this extension will detect new files and create a new download for each file automatically:

Download Auto-Creator
https://www.opencart.com/index.php?rout ... n_id=45677

Re: Downloadable files

Posted: Tue Apr 02, 2024 7:22 pm
by ADD Creative
As I said you need to check your PHP and OpenCart error logs to see what the actual error is.

You also need to use phpinfo() to check your PHP settings. Just because they are in the php.ini doesn't mean they are being used.