Zen Cart Logo
Forums / General Questions / Customer download gets error message

Customer download gets error message

Locked

Views: 2,603

Results 1 to 12 of 12
This thread is locked. New replies are disabled.
6 Jun 2008, 12:20 AM
#1
the_archangel avatar

the_archangel

New Zenner

Join Date:
Mar 2008
Location:
London, UK
Posts:
15
Plugin Contributions:
0

Customer download gets error message

Hi,

When a customer tries to download a download purchase, the following error comes up

You don't have permission to access /shop/pub/.nbkcxclbcikctcwsffo/808_rimshot.mp4 on this server.

I've tried the permissions for the pub folder on both 755 and 777 but it hasn't fixed it.

Can someone shed some light?

Thanks

9 Jun 2008, 5:01 PM
#2
the_archangel avatar

the_archangel

New Zenner

Join Date:
Mar 2008
Location:
London, UK
Posts:
15
Plugin Contributions:
0

Re: Customer download gets error message

Apologies for the bump but my site has gone live and I really need to solve this problem. Half of my products are mp3 and mov downloads, so I really need to fix this!

Please help! :blush:

Thanks

9 Jun 2008, 6:19 PM
#3
akidworld avatar

akidworld

New Zenner

Join Date:
Jun 2008
Posts:
17
Plugin Contributions:
0

Re: Customer download gets error message

Archangel,

We faced the same problem i think. i am getting "server could not find at pub" something like that. I still don't know how to fix it yet. I am asking some people at thread started by me few days ago. I let you know if i get to know how fix it. Please let me know too if you get around that problem.

http://www.zen-cart.com/forum/showthread.php?p=568618

Thanks.

Jeremy

10 Jun 2008, 12:12 AM
#4
the_archangel avatar

the_archangel

New Zenner

Join Date:
Mar 2008
Location:
London, UK
Posts:
15
Plugin Contributions:
0

Re: Customer download gets error message

Hi Jeremy,

Thanks for the reply. I will indeed let you know if I get it figured out.

If you're out there and you can help.....please help.

Thanks.

14 Jun 2008, 2:47 PM
#5
the_archangel avatar

the_archangel

New Zenner

Join Date:
Mar 2008
Location:
London, UK
Posts:
15
Plugin Contributions:
0

Re: Customer download gets error message

Can anyone help? Please?!?

27 Jun 2008, 7:56 PM
#6
akidworld avatar

akidworld

New Zenner

Join Date:
Jun 2008
Posts:
17
Plugin Contributions:
0

Re: Customer download gets error message

the_archangel:

Can anyone help? Please?!?

Archangel,

i did solve my issue on the Pub. It seems that you may want to check the path where your downloads are. It is in the configure.php i think. Like in my case, just to share my experience, i checked my configure.php. and i found that my DIR_FS_DOWNLOAD path is not correct so i correct it and i also saw i got extra "/" infront the Pub. so i take it out and thats fix my problem.

e.g. i look at these lines, maybe a fluke but it fix my problem.

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . '/pub/'); ---> wrong!

and i checked

//the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/

define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_CATALOG', '/');

okay these fine

... blah blah blah

and

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . '/home/your username if applicable/your store/'); ---> i had my error here and fix it
define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); ---->also had my error here and i fix it

i dont know how to better explain this as your problem may be unique. so wish you luck and i will not be responsible for anything happen to your site.

27 Jun 2008, 7:57 PM
#7
akidworld avatar

akidworld

New Zenner

Join Date:
Jun 2008
Posts:
17
Plugin Contributions:
0

Re: Customer download gets error message

Please consult those seniors. they are more well verse and experience. i am just a lucky beginner

thanks.

Jeremy

19 Aug 2008, 4:54 PM
#8
the_archangel avatar

the_archangel

New Zenner

Join Date:
Mar 2008
Location:
London, UK
Posts:
15
Plugin Contributions:
0

Re: Customer download gets error message

Thanks for replying Jeremy. I've checked through the config file but all looks as it should. Can't figure it out for the life of me!

13 Sep 2008, 4:45 PM
#9
the_archangel avatar

the_archangel

New Zenner

Join Date:
Mar 2008
Location:
London, UK
Posts:
15
Plugin Contributions:
0

Re: Customer download gets error message

Anyone? Please? I've had to stop selling all of my download products as I can't solve this problem.

13 Sep 2008, 8:06 PM
#10
wilt avatar

wilt

Oji-san

Join Date:
Jun 2003
Location:
Newcastle UK
Posts:
1,837
Plugin Contributions:
3

Re: Customer download gets error message

Is this a windows-based server?

also,

What setting do you have in

admin->configuration->attribute settings->download by redirect

does changing this setting help ???

15 Sep 2008, 10:27 AM
#11
the_archangel avatar

the_archangel

New Zenner

Join Date:
Mar 2008
Location:
London, UK
Posts:
15
Plugin Contributions:
0

Re: Customer download gets error message

Hi Wilt,

It's linux based server. I've tried both download by redirect true and false but neither worked.

19 Feb 2009, 7:22 PM
#12
the_archangel avatar

the_archangel

New Zenner

Join Date:
Mar 2008
Location:
London, UK
Posts:
15
Plugin Contributions:
0

Re: Customer download gets error message

It's now been almost a year.... Is there a guardian angel out there that will help me solve this problem once and for all? It doesn' t make any sense. Regardless of download type (streaming/redirect) or pub/ folder permissions, it still gives the error message. Also, the config files are fine. No reason why this shouldn't be working.

Bored!

Anyone.....

Thanks.