stevem Posted February 24, 2005 Share Posted February 24, 2005 My Downloadable Products Won't Download. - At the final screen of the store, the download link is shown, and it is clickable. - But, when you click it, the browser just sits there, with the browser's progress bar (not the Save dialog's progress bar) SLOWLY moving at the bottom. - Eventually, after a long while, a Save dialog appears. When you click Save, it saves a 0 KB file, only. Details * Admin>Configuration>Download settings are: Enable Download: true Download By Redirect: false * My products are configured for download under Product Attributes. * I had to make a catalogdownload folder on the same level as the catalog folder, because, without it, the download link in the store is static (i.e., it's not a link). And, the download lin link is static if I place my downloadable files in the catalog/download folder. * My products are in the catalogdownload folder, and I have a catalog/download folder, as well. * My catalog/pub folder is 777 and /catalog/download folder is 755. I've searched for hours on this forum for an answer. Can anyone PLEASE help? Thank you very much. Link to comment Share on other sites More sharing options...
stevem Posted February 25, 2005 Author Share Posted February 25, 2005 Just asking again if anyone has some insight into this problem. Thank you! Link to comment Share on other sites More sharing options...
Guest Posted February 25, 2005 Share Posted February 25, 2005 the default for the downloads is in the download directory, if that didnt show up right, in your catalog/includes/configure.php file place a / in front of download ie /download as most likely the link above doesnt contain the / at the end. also set download by redirect to true. download directory properties at 755 pub directory properties at 777 post your configure.php file here without the database connection info to be sure Link to comment Share on other sites More sharing options...
bama Posted March 2, 2005 Share Posted March 2, 2005 I am having the same problem right now. I can go directly to the file address outside of the shopping cart and download the file fine. But if I buy it though the cart, the link does the same this stevem said above. My admin->config->download is set to: enable download ->true redirect->false (I tried it as true, but it gave me a 404 page error) Here is my config file: <?php /* osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://www.websolutionsbymike.com/catalog'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://hostxxx.ipowerweb.com/~websolut/catalog'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', 'true'); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'www.websolutionsbymike.com/catalog'); define('HTTPS_COOKIE_DOMAIN', 'https://hostxxx.ipowerweb.com/~websolut'); define('HTTP_COOKIE_PATH', 'www.websolutionsbymike.com/catalog/'); define('HTTPS_COOKIE_PATH', 'https://hostxxx.ipowerweb.com/~websolut/catalog/'); define('DIR_WS_HTTP_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', '/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/'); define('DIR_FS_CATALOG', '/home/websolut/public_html/catalog/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); // define our database connection define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', ''); define('DB_SERVER_PASSWORD', ''); define('DB_DATABASE', ''); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' ?> Link to comment Share on other sites More sharing options...
bama Posted March 2, 2005 Share Posted March 2, 2005 Ok, I fixed mine. I checked the CHMOD of the directories, and I had pub at 755 and download at 775. Don't ask why, I am not sure. I switched to pub 777 and download 755 and also switched redirect->true And now it works. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.