Forums / Setting Up Categories, Products, Attributes / I'm getting this error after a purchase is made for my download

I'm getting this error after a purchase is made for my download

Locked

Views: 4,086

Results 1 to 20 of 42
This thread is locked. New replies are disabled.
20 Aug 2009, 2:10 AM
#1
californiakinship avatar

californiakinship

New Zenner

Join Date:
Aug 2009
Posts:
37
Plugin Contributions:
0

I'm getting this error after a purchase is made for my download

Help please! I'm getting this error after I have made a "test purchase" for my download.

The page you requested is unavailable

HTTP 403 - The Default index.html file could not be found
The page you are looking for might have been removed,
had its name changed, or is temporarily unavailable.

How do I correct it? It's basically my last step so any help would be very appreciated!

I just am selling a download of a pdf file andwhen you get the download after the purchase the download button directs the customer to that error page.

I have the product set to just a paper.doc document for the test and set at only 1.99 for the price. The green light is lit under the attributes controller, showing that the file is in fact in the downloads section of my main website's html. Now why aren't they getting the download?

THANK YOU ANY HELP WOULD BE AMAZING!!!!

..... almost there!!! :frusty:

20 Aug 2009, 4:14 AM
#2
drbyte avatar

drbyte

Sensei

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

Re: I'm getting this error after a purchase is made for my download

My first gut reaction is that you've got downloads set to be served in redirect mode, but your /pub/ folder isn't writable so it can't deliver the file correctly.

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

20 Aug 2009, 4:57 AM
#3
californiakinship avatar

californiakinship

New Zenner

Join Date:
Aug 2009
Posts:
37
Plugin Contributions:
0

Re: I'm getting this error after a purchase is made for my download

I set the pub folder to 777 so its writable and i set the index.html to writable as well and still didnt work :(

this is what the customer sees:

Item Name
A Handbook for Relative Caregivers in California 2009- TEST

File Size
0.01 MB

Link Expires
Unlimited

Filename
JMSAdpaper.zip

Remaining
--- *** ---

and a DOWNLOAD NOW button

Do you know what remaining means? How it has that star? IS that perhaps what's causing it to redirect?

Thanks for your quick replies! I need help!

Thank you! :cry:

20 Aug 2009, 5:00 AM
#4
californiakinship avatar

californiakinship

New Zenner

Join Date:
Aug 2009
Posts:
37
Plugin Contributions:
0

Re: I'm getting this error after a purchase is made for my download

Also! If redirect isnt working... how and to what can I set it to?

Thanks so much!

20 Aug 2009, 5:24 AM
#5
drbyte avatar

drbyte

Sensei

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

Re: I'm getting this error after a purchase is made for my download

Remaining refers to the number of "remaining" download clicks the customer is allowed to make for that particular file. You control that option when you set up the attribute initially.

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

20 Aug 2009, 5:25 AM
#6
drbyte avatar

drbyte

Sensei

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

Re: I'm getting this error after a purchase is made for my download

CaliforniaKinship:

I set the pub folder to 777 so its writable and i set the index.html to writable as well and still didnt work :(The index.html file should not be changed. It is not used for anything other than to prevent people from snooping at what files are in that folder. It's only a security precaution that it even exists.
CaliforniaKinship:

this is what the customer sees:

Item Name
A Handbook for Relative Caregivers in California 2009- TEST

File Size
0.01 MB

Link Expires
Unlimited

Filename
JMSAdpaper.zip

Remaining
--- *** ---

and a DOWNLOAD NOW button
That's all entirely normal.

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

20 Aug 2009, 5:26 AM
#7
drbyte avatar

drbyte

Sensei

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

Re: I'm getting this error after a purchase is made for my download

CaliforniaKinship:

Also! If redirect isnt working... how and to what can I set it to?

Thanks so much!
What are all your settings in Admin->Configuration->Attribute Settings? If you've changed any from their original values, why?
Are you hosted on a Windows server? Or a Linux Server?

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

20 Aug 2009, 6:41 AM
#8
californiakinship avatar

californiakinship

New Zenner

Join Date:
Aug 2009
Posts:
37
Plugin Contributions:
0

Re: I'm getting this error after a purchase is made for my download

Thank you for your quick replies!

Ok, that *** shows up right after they get the download button meaning I've set them to receive nothing? How do I change the REMAINING to be 1 click? For the price they only can receive one file download.

Here's what my attribute settings are:

Enable Downloads true
Download by Redirect true **
Download by streaming
false **
Download Expiration (Number of Days)** 0 **
Number of Downloads Allowed - Per Product 1 **
Downloads Controller Update Status Value
4 **
Downloads Controller Order Status Value >= lower value** 2 **
Downloads Controller Order Status Value <= upper value **4 **
Enable Price Factor **true **
Enable Qty Price Discount true **
Enable Attribute Images
true **
Enable Text Pricing by word or letter **true **
Text Pricing - Spaces are Free **1 **
Read Only option type - Ignore for Add to Cart **1 **

Are those settings correct for selling one pdf file? the file shows a green light in the attribute controller. I'm operating on a Windows Vista laptop.

I just want them to be able to download the product whenever time they want, come back later and download it whatever, BUT they can only download it once and they can keep it forever. BUT ONLY ONE DOWNLOAD PER PURCHASE.

Thank you so much for helping me I'm so close and would love to get this running soon. Thank you very much! Please help when you have time!!

Christine:blush:

20 Aug 2009, 11:12 AM
#9
drbyte avatar

drbyte

Sensei

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

Re: I'm getting this error after a purchase is made for my download

Go to Admin->Tools->Server Info, and copy-and-paste the informatin shown there above the big phpinfo table, ie: the first 2/3 of the screen.

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

20 Aug 2009, 6:05 PM
#10
californiakinship avatar

californiakinship

New Zenner

Join Date:
Aug 2009
Posts:
37
Plugin Contributions:
0

Re: I'm getting this error after a purchase is made for my download

Server Host: californiakinshipcaregivers.com (66.226.154.188)

Database Host: 127.0.0.1 (127.0.0.1)

Server OS: Linux dprhensim75.doteasy.com 2.6.18-92.1.10.el5 #1SMP Tue Aug 5 07:41:53 EDT 2008 i686

Database: MySQL 5.0.45

Server Date: 08/20/2009 10:53:54

Database Date: 08/20/2009 10:53:54

Server Up Time:

HTTP Server: Apache/2.2.3 (CentOS)

PHP Version: 5.1.6 (Zend: 2.1.0) PHP Memory Limit: 16M PHP

Safe Mode: Off

PHP File Uploads: On Max Size: 2M

POST Max Size: 8M

Database Data Size: 383 kB

Database Index Size: 411 kB

Is this what you needed? I'm so frustrated too because I guess the Doteasy team couldn't find a solution either. This was their response. Maybe I should switch to streaming? What exactly is streaming?

Their response:

Hello Christine,

Thank you for the update.

The settings in zencart admin panel seems to be no problem. I have tried to find
the problem, unfortunately, I couldn't figure it out at this time. Because
zencart is a third party software which beyond our support scope, I suggest you
can seek help in zencart official site for this issue.
http://www.zen-cart.com/forum/index.php

You can also try to use "Download by streaming" function instead of "Download by
Redirect" function. The following is a tutorial for how to setup Download by
streaming in zencart.

https://www.zen-cart.com/tutorials/index.php?article=280

Please let us know if we can be of further assistance.

WHAT SHOULD I DO? haha. Thank you for your replies I appreciate them very much!

Christine :frusty:

20 Aug 2009, 6:16 PM
#11
californiakinship avatar

californiakinship

New Zenner

Join Date:
Aug 2009
Posts:
37
Plugin Contributions:
0

Re: I'm getting this error after a purchase is made for my download

https://www.zen-cart.com/tutorials/index.php?article=280

This is the link they provided as a tutorial. IT tells me to move my download folder??? should I do that?

I dont want to do anything without talking to you first!

20 Aug 2009, 6:27 PM
#12
drbyte avatar

drbyte

Sensei

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

Re: I'm getting this error after a purchase is made for my download

CaliforniaKinship:

Help please! I'm getting this error after I have made a "test purchase" for my download.

The page you requested is unavailable

HTTP 403 - The Default index.html file could not be found
The page you are looking for might have been removed,
had its name changed, or is temporarily unavailable.
What is the URL in your browser when you get that?

Does the same thing happen if you use a .zip file instead of a .doc file?

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

20 Aug 2009, 6:31 PM
#13
californiakinship avatar

californiakinship

New Zenner

Join Date:
Aug 2009
Posts:
37
Plugin Contributions:
0

Re: I'm getting this error after a purchase is made for my download

Yes I've tried with a zipped file (which it has now) and a regular pdf file.

ultimately the book is a pdf file which i've zipped with winzip.

The url is: http://templates.doteasy.com/ErrorPages/error403/

that's the connect to the bad page. haha. does it have to do with that *** under remaining? or should I just switch to streaming?

Thanks!

20 Aug 2009, 6:33 PM
#14
californiakinship avatar

californiakinship

New Zenner

Join Date:
Aug 2009
Posts:
37
Plugin Contributions:
0

Re: I'm getting this error after a purchase is made for my download

IF you'd like to create a profile with my web site ... the price is $0 so you could do a fake test and see what's happening if you like

https://www.californiakinshipcaregivers.com/shop

i've already tested it with a price on there so that's not the problem. it's just this!

20 Aug 2009, 6:42 PM
#15
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

Re: I'm getting this error after a purchase is made for my download

Is your site normally this sluggish?

Zen cart PCI compliant Hosting

20 Aug 2009, 6:43 PM
#16
drbyte avatar

drbyte

Sensei

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

Re: I'm getting this error after a purchase is made for my download

It's not the price.
It's not the ***.

Right-click on the download button and choose Copy Link, and paste that link here.

Then set Download By Redirect to false.

Then right-click the download button again, and choose Copy Link, and paste that here too.

Then check whether the download works by clicking on the button normally.

Also, check the server's errorlog (may have to ask doteasy support) for the reason why the 403 error was sent. Specifically we need to know what path/file was not found. The message just says "index.html", but Zen Cart never references an index.html file for anything (unless you've got some funky addons doing that), so knowing what path it was looking for that file in is important.

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

20 Aug 2009, 6:44 PM
#17
drbyte avatar

drbyte

Sensei

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

Re: I'm getting this error after a purchase is made for my download

Merlinpa1969:

Is your site normally this sluggish?
LOL ... in my experience that's typical speed for doteasy hosting accounts. That's why I don't use them :)

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

20 Aug 2009, 6:58 PM
#18
californiakinship avatar

californiakinship

New Zenner

Join Date:
Aug 2009
Posts:
37
Plugin Contributions:
0

Re: I'm getting this error after a purchase is made for my download

It's sluggish? dangit! I feel like it was ok on here... but probably not huh? And ya I already contacted them should I ask them again what that error means? I'll go to LiveChat with them now.

http://californiakinshipcaregivers.com/shop/index.php?main_page=download&order=18&id=18

That above said "copy shortcut" if that makes a difference. But there it is.

This is after I set to false (but download by streaming is false too)

http://californiakinshipcaregivers.com/shop/index.php?main_page=download&order=18&id=18

HOLY CRAP I THINK IT JUST WORKED!!!!!! i turned off streaming and redirect and it just worked... crap test it for me if you can...both of you see if you get the file????? Thank you!! whoa what just happened.

20 Aug 2009, 7:04 PM
#19
californiakinship avatar

californiakinship

New Zenner

Join Date:
Aug 2009
Posts:
37
Plugin Contributions:
0

Re: I'm getting this error after a purchase is made for my download

ALSO! My file is zipped but can i sell one that isn't zipped?

My client's customers are going to be "not so computer savy" you know?

20 Aug 2009, 7:06 PM
#20
drbyte avatar

drbyte

Sensei

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

Re: I'm getting this error after a purchase is made for my download

If it works with redirect off, then your server has a problem with creating and/or accessing symlinks, and/or the /pub/ folder doesn't have the proper permissions on it.

If you can't use redirect mode, then turn on streaming and try that, since it's more secure than leaving both of those turned off. But might make for slower downloads if files are large.

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