Forums / Setting Up Categories, Products, Attributes / removing download locations

removing download locations

Views: 525

Results 1 to 6 of 6
27 Oct 2011, 12:54 PM
#1
rhousham avatar

rhousham

New Zenner

Join Date:
Oct 2011
Posts:
5
Plugin Contributions:
0

removing download locations

Hi I've got a problem with zen cart removing the temporary locations in /pub they seem to get refreshed every so often and hence old people can't download their files despite the download number or the number of days not expiring.
Can anyone help!
Richard

27 Oct 2011, 1:44 PM
#2
rhousham avatar

rhousham

New Zenner

Join Date:
Oct 2011
Posts:
5
Plugin Contributions:
0

Re: removing download locations

Huh now this is odd I've changed some file permissions and it's started to work but now I have to edit the simlink for the file in winscp for it to work. Any Ideas?

27 Oct 2011, 1:48 PM
#3
rhousham avatar

rhousham

New Zenner

Join Date:
Oct 2011
Posts:
5
Plugin Contributions:
0

Re: removing download locations

and when I try and download the file it changes the link and then gives me a 403.
Ideas?

27 Oct 2011, 2:10 PM
#4
rhousham avatar

rhousham

New Zenner

Join Date:
Oct 2011
Posts:
5
Plugin Contributions:
0

Re: removing download locations

fixed it permission problem very odd though

28 Oct 2011, 4:42 AM
#5
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: removing download locations

The temporary locations are removed whenever another download starts. They are one-time-use-only anyway. New symlinks are created whenever they click to download another time. The old one is not needed, nor kept.
Manually adding symlinks using ftp or winscp is not a solution.
As for permissions, the pub folder needs to be writable. Everything else will get inherited if the server is operating properly.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

28 Oct 2011, 7:54 AM
#6
rhousham avatar

rhousham

New Zenner

Join Date:
Oct 2011
Posts:
5
Plugin Contributions:
0

Re: removing download locations

Yeah thanks for your reply your on the money with how it works.
It was just a perm issue, we had just moved servers and something had gone wrong.
Thanks though for your explanation very helpful to anyone else looking round here.
Richard