Post by Tee.Mothiba » Sat Feb 25, 2017 2:40 am

Hi

I have v2.0.1.1 our customers seem to be unable to download files linked to their profile when the files exceed 500mb. I have tried the xsend method as suggested on this post http://www.opencartas.com/opencart/larg ... 46818.html however it seems that the location of code
find catalog/controller/account/download.php and around line 170
may have been changed with the new version

Would appreciate any assistance in this regard

Thanks in advance

Car DVD Navigation, 2 din Navigation,Car Radio, In-dash Navigation, Car Audio and Rear View Camera Store - South Africa - http://www.soundlouder.co.za

[/b]


New member

Posts

Joined
Sun Nov 11, 2012 6:42 pm

Post by thekrotek » Sat Feb 25, 2017 3:34 am

Well, if you simply open this file and scroll to the end of it, the code will be there... Not that hard to find.

Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com


User avatar
Expert Member

Posts

Joined
Sun Jul 03, 2016 12:24 am


Post by Tee.Mothiba » Sat Feb 25, 2017 3:44 am

thekrotek wrote:
Sat Feb 25, 2017 3:34 am
Well, if you simply open this file and scroll to the end of it, the code will be there... Not that hard to find.
Thank you for the reply. I have gone through the post but cant seem to find it. Can you reference the piece of code needed

Thank you

Car DVD Navigation, 2 din Navigation,Car Radio, In-dash Navigation, Car Audio and Rear View Camera Store - South Africa - http://www.soundlouder.co.za

[/b]


New member

Posts

Joined
Sun Nov 11, 2012 6:42 pm

Post by thekrotek » Sat Feb 25, 2017 4:01 am

But it's LITERALLY at the bottom. Don't look for exact code, never look for exact code. ALWAYS search for PART of the code - this will help you find it, when code is moved or slightly changed. In this example, look for this string in mentioned file:

header('Content-Length: ' . filesize($file));

Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com


User avatar
Expert Member

Posts

Joined
Sun Jul 03, 2016 12:24 am


Post by Tee.Mothiba » Sat Feb 25, 2017 4:20 am

Thank you so much. Found it seems to be working

Car DVD Navigation, 2 din Navigation,Car Radio, In-dash Navigation, Car Audio and Rear View Camera Store - South Africa - http://www.soundlouder.co.za

[/b]


New member

Posts

Joined
Sun Nov 11, 2012 6:42 pm

Post by Tee.Mothiba » Sat Feb 25, 2017 6:58 pm

Was able to resolve the download memory limit however need assistance with ssh to install xsendfile

Anyone available to help

Car DVD Navigation, 2 din Navigation,Car Radio, In-dash Navigation, Car Audio and Rear View Camera Store - South Africa - http://www.soundlouder.co.za

[/b]


New member

Posts

Joined
Sun Nov 11, 2012 6:42 pm
Who is online

Users browsing this forum: Amazon [Bot] and 62 guests