This is a discussion on DOWNLOADABLE PRODUCTS - EXPIRY DAYS BUG - Probably!!! within the osCMax v1.7 Discussion forums, part of the osCMax v1.7 Forums category; EXPIRY DAY HUGe BUG - when I try to sell downloadable ebooks end put any number of expiry days ie. ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| EXPIRY DAY HUGe BUG - when I try to sell downloadable ebooks end put any number of expiry days ie. 7 (default ) in Atributes (Version, Download -English, expiry days, number of downloads, file name) it appears that the EXPIRY DATE is 7 DECEMBER 1999 - and client can't download the paid item becouse we have March 2004 today Where CAN I change the Expiry days initial date to the date of time of purchase????[/b] |
|
#2
| |||
| |||
| NORB, I saw your post at the link listed below. For all others trying to find a solution to this problem, this topic is also being discussed at http://oscdox.com/index.php?name=PNp...pic&p=7516 For the moment, as of today's date, 3-16-04, there hasn't been a solution offered, or discovered. And it is the final obstacle to finishing my father and uncle's web site. |
|
#3
| |||
| |||
| I think the problem in in catalog/includes/modules/downloads.php in below: I use REDHAT 9 and Plesk 6 on my server - Does anyone know what to do with this below - should be any change in the code (I can provide all my downloads.php file if there is someone good enough to solve it): <?php while ($downloads = tep_db_fetch_array($downloads_query)) { // MySQL 3.22 does not have INTERVAL list($dt_year, $dt_month, $dt_day) = explode('-', $downloads['date_purchased_day']); $download_timestamp = mktime(23, 59, 59, $dt_month, $dt_day + $downloads['download_maxdays'], $dt_year); $download_expiry = date('Y-m-d H:i:s', $download_timestamp); ?> I addded attachement of the file downloads.php - it's clean. |
|
#4
| |||
| |||
| norb, yesterday msasek took a look at my setup and fixed it, but I am not quite sure what was needed to be fixed. It took several hours and I certainly appreciated his time. I asked him to outline what he did to make things work again, because I was a bit unclear. He mentioned that there was a small bug in the PayPal IPN module that he was working on. I'm not sure if that had anything to do with it. But hopefully there will be some more indepth info coming soon. Sorry to say this, but I'm kinda glad that I wasn't the only person to have this happen to. |
|
#5
| ||||
| ||||
| norb, are you using this in conjunction with paypal IPN payment module? If so, that is the problem. There is an incompatibility with IPN and the download manager. A quick workaround is to use the old paypal module, as it does not have the issues. All I did on In-Overtime's site was to disable IPN, switch to the original Paypal Mod, and correctly apply the download attribute to his product (he was missing some of the setup). It is not really a fix, but a workaround. I think the best option is to update IPN to the newest version, which is compatibile with the download manager. I am working on this presently, hopefully getting the new mod working with MAX by the weekend...
__________________ Michael Sasek osCMax Developer
|
|
#6
| |||
| |||
| when i installed PayPal_Shopping_Cart_IPN_v1.7 it made a lot of mess on my website based on MS2 MAX 1.5 - so I decided to stay with my back up of your oryginal MS2 MAX 1.5 - |
|
#7
| ||||
| ||||
| norb, I just put together a modded PayPal_Shopping_Cart_IPN_v1.7 that removes the old IPN and fixes the problem with downloads among other issues. I suggest downloading it from the announcements in MS2-MAX discussion forum.
__________________ Michael Sasek osCMax Developer
|
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Downloadable products not downloading | iluminada | osCMax v2 Installation issues | 3 | 11-29-2005 07:49 PM |
| AutoGenerating Authorization for Downloadable products ? | zonzo_1 | osCMax v1.7 General Mods Discussion | 0 | 11-09-2005 08:33 AM |
| Products default to content type virtual or 'downloadable' | cameroti | osCMax v2 Installation issues | 2 | 10-20-2005 02:01 PM |
| expiry date problem on live store!! | jasonabc | osCommerce 2.2 Installation Help | 1 | 10-01-2004 11:32 AM |
| Extending Admin login expiry time | NickW | osCMax v1.7 Discussion | 5 | 06-28-2004 08:36 AM |