Zen Cart Logo
Forums / Setting Up Categories, Products, Attributes / Problems with downloading a sold product

Problems with downloading a sold product

Locked

Views: 2,104

Results 1 to 11 of 11
This thread is locked. New replies are disabled.
03 Nov 2006, 01:54
#1
axel1 avatar

axel1

New Zenner

Join Date:
Sep 2006
Posts:
27
Plugin Contributions:
0

Problems with downloading a sold product

I have configured a pdf file to be downloaded . Everything works just fine
until I try to download the file.
I get a message that it can't connect with the server and it gives the IP address of my computer as the servers IP. When I look in the downloads manager it gives me green light as if it see the file.

What's up

Axel

03 Nov 2006, 02:16
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Problems with downloading a sold product

Are you on windows or unix server?

Redirect on or off?

Size of file?

Do small files work?

What is the name of the file on the server?

Are you using special characters or extra periods etc.?

Did you try to Zip it?

What version of Zen Cart?

Was this a clean install or upgrade?

Do you see the green dot next to the download filename on the Attribute?

Is the file in the /download directory?

Is the /pub set to 777?

03 Nov 2006, 16:00
#3
axel1 avatar

axel1

New Zenner

Join Date:
Sep 2006
Posts:
27
Plugin Contributions:
0

Re: Problems with downloading a sold product

Are you on windows or unix server?

Redirect on or off? I have not enabled it and don't know were to do it.

Size of file? 2 mb 1 mb 50 k

Do small files work? No

What is the name of the file on the server? cactus_manual.pdf

Are you using special characters or extra periods etc.? I don't think so

Did you try to Zip it? Yes

What version of Zen Cart? 1.3.6

Was this a clean install or upgrade? Clean

Do you see the green dot next to the download filename on the Attribute? Yes

Is the file in the /download directory? Yes

Is the /pub set to 777? Yes

This is the address were I end up when I try to download

IP adress/catalog/pub/.wpqcnwrusbzrief/cactus_manual.zip

03 Nov 2006, 16:55
#4
drbyte avatar

drbyte

Sensei

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

Re: Problems with downloading a sold product

  1. What do you have in these files?

/catalog/.htaccess
/catalog/pub/.htaccess

  1. What is your server's errorlog saying when you get this error ?
03 Nov 2006, 18:55
#5
axel1 avatar

axel1

New Zenner

Join Date:
Sep 2006
Posts:
27
Plugin Contributions:
0

Re: Problems with downloading a sold product

I don't have any .htaccess files at all

The error log does not show any errors

Axel

04 Nov 2006, 02:46
#6
axel1 avatar

axel1

New Zenner

Join Date:
Sep 2006
Posts:
27
Plugin Contributions:
0

Re: Problems with downloading a sold product

Correction I'm using frontpage and it does not show the .htaccess file
here is the content of the files

/catalog/.htaccess

#prevent directory browsing -- for security
IndexIgnore /

AuthType Basic
AuthName "No access"
AuthUserFile .htnopasswd
AuthGroupFile /dev/null
Require valid-user

/catalog/pub/.htaccess

#prevent directory browsing -- for security
IndexIgnore /

Options +FollowSymLinks -Indexes

07 Nov 2006, 14:45
#7
axel1 avatar

axel1

New Zenner

Join Date:
Sep 2006
Posts:
27
Plugin Contributions:
0

Re: Problems with downloading a sold product

Should I assume there is no fix to this problem?:schmoll:

08 Nov 2006, 03:02
#8
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Problems with downloading a sold product

Key question and no answer:
Are you on windows or unix server?

Did you try changing the setting in Configuration ... Attribute Settings ...
Redirect OFF

window servers MUST have Redirect OFF

unix servers ONLY need Redirect OFF when your hosting site has not set up your site to properly handle the .htaccess file in the /pub ...

NOTE: Redirect ON is the safer method ... however, if you cannot get your hosting site to fix this properly on a unix server to recognize the .htaccess in the /pub then you will have to set Redirect to OFF ...

NOTE: Zipping files is a better method of managing the files ...

08 Nov 2006, 20:41
#9
axel1 avatar

axel1

New Zenner

Join Date:
Sep 2006
Posts:
27
Plugin Contributions:
0

Re: Problems with downloading a sold product

I'm on a Unix server and I have deleted all categories and also
reloaded the program.

I don't know anything about redirect were would I turn it off?

Why would it try look for the server at my IP adress and not at the server where everything is stored?

The documents I have in the store are not sold they are Manuals free of
charge. The only reason I have them inside the store is to get feed back on who is downloading the documents

Axel

08 Nov 2006, 21:16
#10
axel1 avatar

axel1

New Zenner

Join Date:
Sep 2006
Posts:
27
Plugin Contributions:
0

Re: Problems with downloading a sold product

I found the redirect and turned it off. Now everything works great

Thanks:D

Axel

09 Nov 2006, 03:05
#11
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Problems with downloading a sold product

You may wish to ask your hosting site why on a unix server you cannot use a simple .htaccess file for better security to utilize the Redirect ON ...

The .htaccess in the /pub just uses symbolic links:

#prevent directory browsing -- for security
IndexIgnore /

Options +FollowSymLinks -Indexes