Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Problems with download folder


mc_exotics

Recommended Posts

Posted

Just installed OsCommerce, and when I enter my store, I get this 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.

 

The folder, /store/download DOES exist though, but in the error message, there is no dividing slash. Must be a bug in the code. Anyone know how I can fix this? I tried, but I can figure out what to change, or what file to edit.

Posted

Also, is there a way to disable the check/money order payment module for orders with downloadable items only, or does OsCommerce do this automatically? Thanks!

  • 2 weeks later...
Posted

Your includes/configuration.php must look like this

 

define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');

define('DIR_FS_CATALOG', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']));

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

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

Archived

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

×
×
  • Create New...