Post by edkny » Fri Mar 29, 2024 4:02 pm

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

New member

Posts

Joined
Tue Nov 14, 2023 7:12 pm

Post by edkny » Fri Mar 29, 2024 4:02 pm

Image

Attachments

photo_2024-03-25_15-25-40.jpg

photo_2024-03-25_15-25-40.jpg (48.52 KiB) Viewed 580 times


New member

Posts

Joined
Tue Nov 14, 2023 7:12 pm

Post by ADD Creative » Fri Mar 29, 2024 9:36 pm

Look in both the PHP and OpenCart error logs to see exactly what the error is.

www.add-creative.co.uk


Guru Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by edkny » Sat Mar 30, 2024 3:09 pm

Mostly I don't see any errors. the files just loading for a few hours, what can I do with that?

New member

Posts

Joined
Tue Nov 14, 2023 7:12 pm

Post by ADD Creative » Sat Mar 30, 2024 8:51 pm

What are upload_max_filesize and post_max_size set to in your PHP settings. Use phpinfo() to find out if you have to.

www.add-creative.co.uk


Guru Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by edkny » Mon Apr 01, 2024 4:38 pm

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

Attachments

Screenshot_1.jpg

Screenshot_1.jpg (95.9 KiB) Viewed 424 times


New member

Posts

Joined
Tue Nov 14, 2023 7:12 pm

Post by DigitCart » Mon Apr 01, 2024 8:58 pm

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

My Extensions


User avatar
Active Member

Posts

Joined
Thu Jun 22, 2017 5:32 pm


Post by ADD Creative » Tue Apr 02, 2024 7:22 pm

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.

www.add-creative.co.uk


Guru Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom
Who is online

Users browsing this forum: No registered users and 59 guests