Forums / Setting Up Categories, Products, Attributes / Added SSL. now all product download links don't work

Added SSL. now all product download links don't work

Locked

Views: 1,006

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
28 Jul 2009, 9:46 PM
#1
traderdan avatar

traderdan

New Zenner

Join Date:
Jan 2008
Location:
Essex, MA
Posts:
41
Plugin Contributions:
0

Added SSL. now all product download links don't work

Version: 1.3.8a

My storefront was unsecure for a brief period of time (I know, not good) but I have since added an SSL cert and dedicated IP to my hosting account. The store seems to be running just fine now after the updates EXCEPT FOR downloadable products. Now whenever someone clicks on a download link, they get the following error message...

Not Found

The requested URL /Store/pub/.bmotluvnnxjjylz/CUSTOMFILE.zip was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Any help would be greatly appreciated... thanks in advance!!

-Dan

29 Jul 2009, 4:53 AM
#2
traderdan avatar

traderdan

New Zenner

Join Date:
Jan 2008
Location:
Essex, MA
Posts:
41
Plugin Contributions:
0

Re: Added SSL. now all product download links don't work

:frusty: Anyone? Please, this is a serious error and I haven't the foggiest idea how to solve it...

where are the real gurus at?

29 Jul 2009, 5:13 AM
#3
drbyte avatar

drbyte

Sensei

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

Re: Added SSL. now all product download links don't work

What happens if you set ENABLE_SSL to 'false' again?

Is your SSL served from the same folder on the same server? Or is it managed via separate folders and/or servers? Who are you hosted with?

Does the file named in the error message exist on the server or not?

Which version of PHP?

What addons are installed?

etc

etc

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

29 Jul 2009, 5:37 AM
#4
traderdan avatar

traderdan

New Zenner

Join Date:
Jan 2008
Location:
Essex, MA
Posts:
41
Plugin Contributions:
0

Re: Added SSL. now all product download links don't work

Thank you so much for responding DrByte, but now I must admit my embarrassing discovery...

:oops:
I completely overlooked the DIR_FS_CATALOG setting in configure.php. It was slightly different due to the updates to my hosting account and I just didn't make the connection right away.

So I updated this setting and everything now seems A-OK. Sorry to have wasted anyone's time.

Regards,
-Dan

29 Jul 2009, 2:57 PM
#5
drbyte avatar

drbyte

Sensei

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

Re: Added SSL. now all product download links don't work

Glad you found the root of the problem. Sometimes looking at it with fresh eyes can expose things better.

Thanks for coming back and sharing the solution, as it may help future readers who make the same mistake.

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