purpleroom Posted July 8, 2006 Posted July 8, 2006 Hello I have read through this forum and seen at leat six other members who have posted the same problem I have reguarding getting the product download link to work over the last month, all with lots of views but no replies. What's up? can we get some love around here ? I've done everything the help say to do but all I get is download your product here! there's a product name but no file link. peace walter
Guest Posted July 8, 2006 Posted July 8, 2006 Well... we are not psychic at 3:30am :blink: Please take the time to post what you have tried, your version of PHP and MySQL and your server environment (not Windows we hope!) Matti
purpleroom Posted July 9, 2006 Author Posted July 9, 2006 Well... we are not psychic at 3:30am :blink: Please take the time to post what you have tried, your version of PHP and MySQL and your server environment (not Windows we hope!) Matti BUMP ! BUMP!
alligator0520 Posted July 9, 2006 Posted July 9, 2006 Could you direct me to the exact contribution you are utilizing? I will install the contribution on my site. I will figure out what sames to be happening. Get back to you about it. Mike
ozcsys Posted July 9, 2006 Posted July 9, 2006 BUMP ! BUMP! Instead of typing BUMP ! BUMP! how about you read Matti's post and give us the info he requested.. The more info you provide the more likely you will recieve suggestions that will actually help The Knowledge Base is a wonderful thing. Do you have a problem? Have you checked out Common Problems? There are many very useful osC Contributions Are you having trouble with a installed contribution? Have you checked out the support thread found Here BACKUP BACKUP BACKUP!!! You did backup, right??
desigu Posted July 10, 2006 Posted July 10, 2006 I'm having the same problem. Setting everything up as I should, and I just have the item name with no link associated with it. this is my info: osCommerce 2.2-MS2 PHP Version 4.3.11 What other info do you need to know? Any thoughts on what I'm doing wrong? Thanks
muskokee Posted July 11, 2006 Posted July 11, 2006 This is taken from catalog/includes/modules/downloads.php: <?php// The link will appear only if: // - Download remaining count is > 0, AND // - The file is present in the DOWNLOAD directory, AND EITHER // - No expiry date is enforced (maxdays == 0), OR // - The expiry date is not reached if ( ($downloads['download_count'] > 0) && (file_exists(DIR_FS_DOWNLOAD . $downloads['orders_products_filename'])) && ( ($downloads['download_maxdays'] == 0) || ($download_timestamp > time())) ) { echo ' <td class="main"><a href="' . tep_href_link(FILENAME_DOWNLOAD, 'order=' . $last_order . '&id=' . $downloads['orders_products_download_id']) . '">' . $downloads['products_name'] . '</a></td>' . "\n"; } else { echo ' <td class="main">' . $downloads['products_name'] . '</td>' . "\n"; } ?> IF any of those conditions above FAIL then you will get the ELSE which is just the product name. Investigate to see which is failing and why. Sheri
newtech Posted January 3, 2007 Posted January 3, 2007 I'm having the same problem. Setting everything up as I should, and I just have the item name with no link associated with it. this is my info: osCommerce 2.2-MS2 PHP Version 4.3.11 What other info do you need to know? Any thoughts on what I'm doing wrong? Thanks I had the same problem. The link was not there because I did not have the download filename exactly the same as the filename in the attribute section. BTW you only enter the filename in the attribute section, not the path for the file.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.