Page 2 of 2 FirstFirst 12
Results 11 to 18 of 18
  1. #11
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Help with resetting downloads

    Okay ... so you are saying that you have an orders_id and see the Order in the:
    /admin/orders.php

    and you see the orders_id in the:
    orders
    orders_products
    orders_products_attributes
    orders_products_download

    for this orders_id ...

    Yet you do not see it on the Order itself when you edit it ...

    Could you check the file:
    /admin/orders.php

    and around the line 543 you should see:
    Code:
      // show downloads
      require(DIR_WS_MODULES . 'orders_download.php');
    make sure the require line is not commented out ...

    Next, check the file:
    /admin/includes/modules/orders_download.php

    Could you check that this file is the same file that comes with your Zen Cart that you have installed and is not missing, damaged or otherwise corrupt on the server ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  2. #12
    Join Date
    May 2010
    Posts
    12
    Plugin Contributions
    0

    Default Re: Help with resetting downloads

    Okay ... so you are saying that you have an orders_id and see the Order in the:
    /admin/orders.php
    YES (not just one order but all of them)
    and you see the orders_id in the:
    orders
    orders_products
    orders_products_attributes
    orders_products_download
    YES (not just one order but all of them)
    for this orders_id ...

    Yet you do not see it on the Order itself when you edit it ...
    YES (not just one order but all of them
    Could you check the file:
    /admin/orders.php

    and around the line 543 you should see:
    Code:
      // show downloads
      require(DIR_WS_MODULES . 'orders_download.php');
    make sure the require line is not commented out ...
    code is good
    Next, check the file:
    /admin/includes/modules/orders_download.php
    File is original and good
    Could you check that this file is the same file that comes with your Zen Cart that you have installed and is not missing, damaged or otherwise corrupt on the server ...

  3. #13
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Help with resetting downloads

    So far, this is not making a lot of sense that this is what you are seeing ...

    Just a dumb question, you do not need to scroll down further or further to the right in your browser or anything silly like that ... do you?

    What version of Zen Cart are you using?

    Is this a Clean Install or an Upgrade?

    If this is an Upgrade, what version did you Upgrade from?

    Has this ever worked for you?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  4. #14
    Join Date
    May 2010
    Posts
    12
    Plugin Contributions
    0

    Default Re: Help with resetting downloads

    I wish it were that simple, but no I don't need to scroll anywhere to see any more of the page.

    I have 1.3.9d and it was a clean install (done by someone else).
    As far as I know it has never worked, I only just noticed it the other day when I went in to look at an order. So i'm guessing it has something to do with the lady who installed and set up my shop...I'm just having trouble getting a hold of her, so I was hoping someone here could help me fix it myself, because like you said it doesn't make any sense. I haven't had to use the feature yet, but if I do it would be nice to have handy!

  5. #15
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Help with resetting downloads

    Could you look in the /cache directory to see if you see any debug logs related to this ...

    They are created when an error occurs and will be dated as such ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  6. #16
    Join Date
    May 2010
    Posts
    12
    Plugin Contributions
    0

    Default Re: Help with resetting downloads

    Ok...I'll show you what I found that could pertain (I am def not a computer wiz, which is why I hired someone to do the install for me)

    Debug Log:

    [08-Aug-2010 09:32:58] PHP Fatal error: Call to undefined function zen_date_diff() in /home/lsdweb/public_html/store/adSar76min/includes/modules/orders_download.php on line 40

    Line 40 of orders_download.php

    case ($orders_download->fields['download_maxdays'] != 0 && (zen_date_diff($order->info['date_purchased'], date('Y-m-d')) > $orders_download->fields['download_maxdays'])):

    I'm sure this might mean something to you, but to me it's a foreign language.

  7. #17
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Help with resetting downloads

    Your /admin/includes/functions/general.php is out of date.
    Either you're using an old version from an old release of Zen Cart, or you've installed an addon that contains an older version of that file.

    I suggest you rename the existing one from .php to .bak, and upload the right one corresponding to your actual version of Zen Cart.
    If you're using v1.3.8a or older, then you're going to have other problems too. Hopefully you're more up to date than that.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  8. #18
    Join Date
    May 2010
    Posts
    12
    Plugin Contributions
    0

    Default Re: Help with resetting downloads


    Ahh...thank you!
    You're genius!

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Resetting Downloads for Customers
    By CCarter in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 4 Jan 2008, 09:15 PM
  2. Resetting Virtual Downloads
    By BreaJR in forum General Questions
    Replies: 12
    Last Post: 12 May 2007, 06:09 PM
  3. Help With Downloads...
    By kirsten in forum General Questions
    Replies: 28
    Last Post: 8 Jul 2006, 03:10 AM

Posting Permissions

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