Forums / General Questions / No download access allowed

No download access allowed

Locked

Views: 2,733

Results 1 to 15 of 15
This thread is locked. New replies are disabled.
1 Sep 2006, 8:15 PM
#1
sparktronic avatar

sparktronic

Zen Follower

Join Date:
Nov 2005
Location:
Rochester, New York
Posts:
153
Plugin Contributions:
0

No download access allowed

I am getting this error now and nothing has been changed:
Forbidden
You don't have permission to access /store/pub/.ympzpzxcocdjcvuu/notres.zip on this server.

Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.

I am running the Zen Cart 1.3.0.2
Database Patch Level: 1.3.0.2
v1.3.0.1 [2006-06-04 10:11:13] (Version Update 1.3.0->1.3.0.1)
v1.3.0 [2006-04-04 10:32:00] (Fresh Installation)
v1.3.0 [2006-04-04 10:32:00] (Fresh Installation)

I checked the pub folder and made sure it was 777

1 Sep 2006, 8:18 PM
#2
ajeh avatar

ajeh

Oba-san

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

Re: No download access allowed

Check with your hosting site and see if there is a problem in using symbolic links on your site ...

The /pub has the .htaccess file for:

#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!

1 Sep 2006, 8:27 PM
#3
sparktronic avatar

sparktronic

Zen Follower

Join Date:
Nov 2005
Location:
Rochester, New York
Posts:
153
Plugin Contributions:
0

Re: No download access allowed

Only problem is my hosting has not changed and these files well under 10K were working fine until I tried it today.

1 Sep 2006, 8:30 PM
#4
ajeh avatar

ajeh

Oba-san

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

Re: No download access allowed

Just for giggles ... turn off the Redirect in the Configuration ... Attribute Settings ...

Does it suddenly work?

If so, ask your hosting company what they changed ...

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!

1 Sep 2006, 8:39 PM
#5
sparktronic avatar

sparktronic

Zen Follower

Join Date:
Nov 2005
Location:
Rochester, New York
Posts:
153
Plugin Contributions:
0

Re: No download access allowed

Tried it and still getting error

1 Sep 2006, 8:42 PM
#6
ajeh avatar

ajeh

Oba-san

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

Re: No download access allowed

Is this a download file that has been on the server for some time or a new download file recently loaded to the server?

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!

1 Sep 2006, 8:44 PM
#7
sparktronic avatar

sparktronic

Zen Follower

Join Date:
Nov 2005
Location:
Rochester, New York
Posts:
153
Plugin Contributions:
0

Re: No download access allowed

It was a recent one and it seems others are working

1 Sep 2006, 8:46 PM
#8
ajeh avatar

ajeh

Oba-san

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

Re: No download access allowed

Could you delete the download file from the server and then reload it fresh?

Does it suddenly start working?

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!

1 Sep 2006, 8:52 PM
#9
sparktronic avatar

sparktronic

Zen Follower

Join Date:
Nov 2005
Location:
Rochester, New York
Posts:
153
Plugin Contributions:
0

Re: No download access allowed

I did do that. It was originally a mp3 that I put in zip format then I put it in mp3 format and sent it it fresh. Still getting error on that file.

1 Sep 2006, 9:34 PM
#10
drbyte avatar

drbyte

Sensei

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

Re: No download access allowed

What is your server's errorlog saying when this happens?

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

2 Sep 2006, 1:31 AM
#11
sparktronic avatar

sparktronic

Zen Follower

Join Date:
Nov 2005
Location:
Rochester, New York
Posts:
153
Plugin Contributions:
0

Re: No download access allowed

Here is what I got off the logs:
[Fri Sep 01 13:38:47 2006] [error] [client 66.66.234.161] Allowed memory size of 8388608 bytes exhausted (tried to allocate 213 bytes), referer: http://rochesterlaw.org/store/index.php?main_page=account_history_info&order_id=108
[Fri Sep 01 13:38:47 2006] [error] [client 66.66.234.161] Premature end of script headers: php-script, referer: http://rochesterlaw.org/store/index.php?main_page=account_history_info&order_id=108
[Fri Sep 01 13:42:44 2006] [error] [client 66.66.234.161] Allowed memory size of 8388608 bytes exhausted (tried to allocate 213 bytes), referer: http://rochesterlaw.org/store/index.php?main_page=account_history_info&order_id=109
[Fri Sep 01 13:42:44 2006] [error] [client 66.66.234.161] Premature end of script headers: php-script, referer: http://rochesterlaw.org/store/index.php?main_page=account_history_info&order_id=109
[Fri Sep 01 13:50:53 2006] [error] [client 66.66.234.161] Allowed memory size of 8388608 bytes exhausted (tried to allocate 213 bytes), referer: http://rochesterlaw.org/store/index.php?main_page=account_history_info&order_id=111
[Fri Sep 01 13:50:53 2006] [error] [client 66.66.234.161] Premature end of script headers: php-script, referer: http://rochesterlaw.org/store/index.php?main_page=account_history_info&order_id=111
[Fri Sep 01 14:12:52 2006] [error] [client 66.66.234.161] Allowed memory size of 8388608 bytes exhausted (tried to allocate 213 bytes), referer: http://rochesterlaw.org/store/index.php?main_page=account_history_info&order_id=113
[Fri Sep 01 14:12:52 2006] [error] [client 66.66.234.161] Premature end of script headers: php-script, referer: http://rochesterlaw.org/store/index.php?main_page=account_history_info&order_id=113
[Fri Sep 01 14:12:56 2006] [error] [client 66.66.234.161] Allowed memory size of 8388608 bytes exhausted (tried to allocate 213 bytes), referer: http://rochesterlaw.org/store/index.php?main_page=account_history_info&order_id=113
[Fri Sep 01 14:12:56 2006] [error] [client 66.66.234.161] Premature end of script headers: php-script, referer: http://rochesterlaw.org/store/index.php?main_page=account_history_info&order_id=113
[Fri Sep 01 14:20:11 2006] [error] [client 66.66.234.161] Allowed memory size of 8388608 bytes exhausted (tried to allocate 213 bytes), referer: http://rochesterlaw.org/store/index.php?main_page=account_history_info&order_id=114
[Fri Sep 01 14:20:11 2006] [error] [client 66.66.234.161] Premature end of script headers: php-script, referer: http://rochesterlaw.org/store/index.php?main_page=account_history_info&order_id=114

I assume that the file is too big? If so how do I get a large mp3 file into someones hands? The files are teaching tapes that have been made into mp3's
Is there a way to send multiple zip files when someone orders?

2 Sep 2006, 1:57 AM
#12
ajeh avatar

ajeh

Oba-san

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

Re: No download access allowed

You could speak to your hosting site about the size of your files and ask them to adjust the limits on your site ...

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!

2 Sep 2006, 2:06 AM
#13
sparktronic avatar

sparktronic

Zen Follower

Join Date:
Nov 2005
Location:
Rochester, New York
Posts:
153
Plugin Contributions:
0

Re: No download access allowed

The question is, is that why I am getting the error?

2 Sep 2006, 2:26 AM
#14
ajeh avatar

ajeh

Oba-san

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

Re: No download access allowed

Because your file is too big for your server limitations ... from the looks of it ...

Is this one of the biggest downloads that you have?

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!

2 Sep 2006, 2:33 AM
#15
drbyte avatar

drbyte

Sensei

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

Re: No download access allowed

sparktronic:

I assume that the file is too big? If so how do I get a large mp3 file into someones hands? The files are teaching tapes that have been made into mp3's
Is there a way to send multiple zip files when someone orders?

You could add 3 files to the download: Part 1, Part 2, Part 3. Make them radio buttons. And then since they're all selected by default when you set the default setting when adding/editing the attribute, when the order is placed, they'll get all 3 zips available to click on as individual downloads.

One "plus" to this is that they can more reliably do the download with less risk of a timeout causing them to have to start all over again ... instead they would only have to restart an individual file.

Alternatively, if you:

  • download by redirect, then the webserver may not be as taxed
    or
  • download by streaming, then the webserver will send the file pieces in 2K blocks, without having to load the entire file into RAM before sending to the customer ... thus reducing the memory load on the 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.