Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Download products help


Guest

Recommended Posts

Hi all

 

I can't seem to get my download products to work. Here's what I did:

 

- in the store admin, I went to configuration/dowload. Both "enable download" and "download by redirect" are set to TRUE. Expiry delay is at 7 days and max downloads is at 5.

 

- I uploaded my Zip files in the store/download folder. In the instructions it says to put them in store/cataloque/download, but there isn't a download or pub folder in "catalogue"; only in "store".

 

- I made sure "pub" was at 777 and "download" at 755

 

- I made sure in "includes/configure.php" that both pub and download had the forward slash

 

- I added 1 product for download in my categories

 

- In "product attributes", I selected my product and added the file name and clicked INSERT.

 

Once I activated the "enable download" and "download by redirect" to TRUE, I had this message in red at the top of my live store: Warning: The downloadable products directory does not exist: /home/httpd/vhosts/touchphotography.com/httpdocs/storedownload/. Downloadable products will not work until this directory is valid.

 

You can see for yourself HERE.

 

I don't have a storedownload folder with OSCommerce.

 

If someone could help me out that would be greatly appreciated.

 

Yanik

Link to comment
Share on other sites

Looks like you just dont have your configuration paths quite tweaked.

 

Where your error says:

httpdocs/storedownload/

 

I think it is missing a / .. after the word store .. which is screwing your download path up.

 

Try going into your /catalog/includes/configure.php

 

Find the line that reads:

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

 

CHANGE IT TO:

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . '/download/'); // was download/

 

 

I think this is a default install code error .. beacuse I got caught up on that one too.

I had to add the / before the word download ... so the download directory would be correct.

 

Hope that works for you.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...