Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

HELP!!! Download Folder Error


mc_exotics

Recommended Posts

Posted

I'm new to OSCommerce, and just got the cart installed, but I'm gettign the error that my download folder does not exist and that downloads will not work until it does. Problem is, my download folder DOES exist. Here's the error message: Warning: The downloadable products directory does not exist: /home/rmessia/public_html/storedownload/. Downloadable products will not work until this directory is valid. For some odd reason, there's no slash between store and download, so this is why is thinks the download folder isn't there, but I can't figure out how to change this. What file to I need to edit to insert the missing slash in the link which isn't there? Help!

Posted

Did you create a folder named backups and chmod it to 777?

 

The_Bear

Posted

I'm new to OSCommerce too and was having the same problem. I followed all the download advice I could find (change permissions of pub directory, make sure there are slashes after pub and download definitions, add product attributes etc) but no success.

 

I also reasoned there must be a missing slash and tried changing catalog/includes/configure.php to fix it.

 

I inserted slashes *before* the following two definitions:

 

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

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

changed to

 

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

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . '/pub/');

 

and it seemed to do the trick. I can download files in the download directory

 

Backup first, because (as I said) I'm new to all this and I may have caused headaches for myself down the line. But so far so good - I hope it works for you too.

 

Simon

Archived

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

×
×
  • Create New...