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

Problems with downloading a sold product

Locked

Views: 2,109

Results 1 to 11 of 11
This thread is locked. New replies are disabled.
3 Nov 2006, 1:54 AM
#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

3 Nov 2006, 2:16 AM
#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?

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

3 Nov 2006, 4:00 PM
#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

3 Nov 2006, 4:55 PM
#4
drbyte avatar

drbyte

Sensei

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

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 ?

.
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.

3 Nov 2006, 6:55 PM
#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

4 Nov 2006, 2:46 AM
#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

7 Nov 2006, 2:45 PM
#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:

8 Nov 2006, 3:02 AM
#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 ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

8 Nov 2006, 8:41 PM
#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

8 Nov 2006, 9:16 PM
#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

9 Nov 2006, 3:05 AM
#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

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!