osCmax v2.5 User Manual
Results 1 to 7 of 7

DOWNLOADABLE PRODUCTS - EXPIRY DAYS BUG - Probably!!!

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. ...

      
  1. #1
    Lurker
    Join Date
    Mar 2004
    Posts
    4
    Rep Power
    0


    Default DOWNLOADABLE PRODUCTS - EXPIRY DAYS BUG - Probably!!!



    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. #2
    Member
    Join Date
    Oct 2003
    Location
    The Antelope Valley in SoCal
    Posts
    47
    Rep Power
    0


    Default Similiar Topic Thread

    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. #3
    Lurker
    Join Date
    Mar 2004
    Posts
    4
    Rep Power
    0


    Default

    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.
    Attached Files Attached Files

  4. #4
    Member
    Join Date
    Oct 2003
    Location
    The Antelope Valley in SoCal
    Posts
    47
    Rep Power
    0


    Default

    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. #5
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Default

    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


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  6. #6
    Lurker
    Join Date
    Mar 2004
    Posts
    4
    Rep Power
    0


    Default

    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. #7
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Default

    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


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

Similar Threads

  1. Downloadable products not downloading
    By iluminada in forum osCmax v2 Installation issues
    Replies: 3
    Last Post: 11-29-2005, 06:49 PM
  2. AutoGenerating Authorization for Downloadable products ?
    By zonzo_1 in forum osCMax v1.7 General Mods Discussion
    Replies: 0
    Last Post: 11-09-2005, 07:33 AM
  3. Products default to content type virtual or 'downloadable'
    By cameroti in forum osCmax v2 Installation issues
    Replies: 2
    Last Post: 10-20-2005, 02:01 PM
  4. expiry date problem on live store!!
    By jasonabc in forum osCommerce 2.2 Installation Help
    Replies: 1
    Last Post: 10-01-2004, 11:32 AM
  5. Extending Admin login expiry time
    By NickW in forum osCmax v1.7 Discussion
    Replies: 5
    Last Post: 06-28-2004, 08:36 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •