bkellum Posted November 10, 2006 Share Posted November 10, 2006 Hello everyone, What files are associated with the download feature in osCommerce? I realize the catalog/download and catalog/pub folders are associated with this feature but what particular PHP files? I'm having some issues with a live store with several contributions installed. I am able to get downloads to work in my test stores using the typical download settings. I'm assuming the configure.php, download.php are among the files that need to be compared with the working test stores to help with the troubleshooting. Any help would be appreciated. Thanks, Bill Bill Kellum Sounds Good Productions STS Tutorials & more: STSv4.6, STS Add-ons (STS Power Pack), STS V4 Forum STS Forum FREE TEMPLATE Link to comment Share on other sites More sharing options...
Guest Posted November 10, 2006 Share Posted November 10, 2006 catalog/download.php catalog/includes/modules/downloads.php The first has the actual download function The module is called both at checkout success and on the account order details page to display the downloads/links :) Sonia Link to comment Share on other sites More sharing options...
bkellum Posted November 10, 2006 Author Share Posted November 10, 2006 Hello everyone, What files are associated with the download feature in osCommerce? I realize the catalog/download and catalog/pub folders are associated with this feature but what particular PHP files? I'm having some issues with a live store with several contributions installed. I am able to get downloads to work in my test stores using the typical download settings. I'm assuming the configure.php, download.php are among the files that need to be compared with the working test stores to help with the troubleshooting. Any help would be appreciated. Thanks, Bill YEA!!!! :D Problem solved. I can't believe it was as simple as a typo. In my catalog/includes/configure.php file, down in the downloads section, their was a missing "/" in my catalog name: define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/'); define('DIR_FS_CATALOG', '/home/sounkel6/public_html/eshop'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); It should be: define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/'); define('DIR_FS_CATALOG', '/home/sounkel6/public_html/eshop/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); Now my download links work perfectly. Yippee!! Woo Hoo!!! :D :D :D Bill Kellum Sounds Good Productions STS Tutorials & more: STSv4.6, STS Add-ons (STS Power Pack), STS V4 Forum STS Forum FREE TEMPLATE Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.