Azurafiles Posted January 15, 2011 Share Posted January 15, 2011 I attached the file because the code would be to long for the topic.I get a error which says that the product deadline is in the past.I set the product to expire on 2020-12-12, so should not be any issue there.I also followed a guide here on the forum which many have used, but it still does not work for me.Any clues?Would be greatfull if someone could make this work for me.I use batchdownload able products module.Was reading this guide:http://www.prestashop.com/forums/viewthread/61020/installing_prestashop/issue_with_prestashop_1_dot_3_dot_1_and_downloadable_productsBut still no joy.I can't find the File : settings.inc.phpThey where talking about editing it with this: define('DOWNLOAD_BY_REDIRECT', 'true');define('_PS_TEMP_DOWNLOAD_DIR_', 'full file path to a temp download directory modded 777 here');define('_PS_TEMP_DOWNLOAD_DIR_URL', 'full url to temp download directory modded 777 here'); get-file.php Link to comment Share on other sites More sharing options...
Azurafiles Posted January 15, 2011 Author Share Posted January 15, 2011 I found this. $product_deadline = strtotime($info['download_deadline']); if ($now > $product_deadline AND $info['download_deadline'] != '0000-00-00 00:00:00') displayError('The product deadline is in the past.'); Should I just delete this message?I have a backup, but unsure if this is such a good ideaEdit: made no difference.Any clues what could be the issue here? Link to comment Share on other sites More sharing options...
rocky Posted January 16, 2011 Share Posted January 16, 2011 That error message should only occur if the download has expired. Check the "Expiration date" of the download. It should be a date in the future. Link to comment Share on other sites More sharing options...
dmwdsprime Posted November 30, 2011 Share Posted November 30, 2011 having issue with this it says expires on 2289-12-31 18:00:00 downloadable 100 times but the system is saying 1969-23-18:00 Link to comment Share on other sites More sharing options...
artisticdreams Posted June 9, 2014 Share Posted June 9, 2014 I am receiving this error message, however, I show that I have set NO expiration date so why are my customers getting this message and how do I fix it? Link to comment Share on other sites More sharing options...
Recommended Posts