Post by wir.org » Fri Sep 13, 2019 7:34 pm

Dear Ev'ryone,

I've got a site: www.kraynebo.com. It's run on Opencart 3.2.
When downloading any digital products, the first word gets skipped and the filename starts after the first space, i.e., from the second word.
I checked my version on Localhost -- it works fine, all words remain when downloaded.
What can cause such error, and how to fix it?

Also, one customer reported that filename was unreadable. All filenames are in Ukrainian, I use Win10, she used an IPhone.

Thanks in advance,
Nicholas

Newbie

Posts

Joined
Sun Mar 09, 2014 7:03 pm

Post by wir.org » Fri Sep 13, 2019 9:13 pm

Fixed.
There problem was caused by the function basename() in file catalog\controller\account\download.php
I made a string without the function and it worked.
So, it's actually the installed PHP version's fault.

Newbie

Posts

Joined
Sun Mar 09, 2014 7:03 pm

Post by letxobnav » Sat Sep 14, 2019 7:44 am

It is actually the fact that you use spaces in filenames which may have a "why not" factor but is asking for trouble.

“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.


Active Member

Posts

Joined
Fri Aug 18, 2017 4:35 pm
Location - Taiwan
Who is online

Users browsing this forum: Rob Pickers and 31 guests