Jump to content

Product deadline is in the past (presta Version 1.3.6.0)


Recommended Posts

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_products


But still no joy.
I can't find the File : settings.inc.php

They 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

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 idea


Edit: made no difference.
Any clues what could be the issue here?

Link to comment
Share on other sites

  • 10 months later...
  • 2 years later...
×
×
  • Create New...