Results 1 to 10 of 120

Hybrid View

  1. #1
    Join Date
    Aug 2008
    Location
    Ohio
    Posts
    63
    Plugin Contributions
    2

    Default Re: Download Fetch [support thread]

    ok I know I am probably having a major duh moment but..... I deleted the test " it says no where not to lol " and now I have no buttons to create a new......... and also when I was testing everything worked except for not opening the d/l to retrieve the file. thanks in advance

  2. #2
    Join Date
    Jun 2008
    Location
    Washington, DC
    Posts
    789
    Plugin Contributions
    7

    Default Re: Download Fetch [support thread]

    Quote Originally Posted by MischiefDesignz View Post
    ok I know I am probably having a major duh moment but..... I deleted the test " it says no where not to lol " and now I have no buttons to create a new.........
    Deleting the only record in the mod and leaving zero records was a missed coding error not to have a add new file option.
    The fix is below:

    File YOUR_ADMIN/download_fetch.php
    Find about line 236
    Code:
    <?php
      $download_fetch_query->MoveNext();
      }
    ?>
    Change to
    Code:
    <?php
      $download_fetch_query->MoveNext();
      }
      if ($download_fetch_query_numrows < 1){
      	echo '<div align="center"><b>NO Records Found You Must Add </b><br /><a href="' . zen_href_link(FILENAME_DOWNLOAD_FETCH, zen_get_all_get_params(array('padID', 'action')) . 'padID=' . $padInfo->file_id . '&page=' . $_GET['page'].'&action=newfile') . '">' . zen_image_button('button_new_file.gif', IMAGE_NEW_FILE) . '</a> </div>' ;
      }
    ?>
    and also when I was testing everything worked except for not opening the d/l to retrieve the file. thanks in advance
    Need more info on this one. PHP version, what browser IE ?, Firefox ? You had the green Valid filename image showing?

    Skip
    • 446F63746F722057686F •

  3. #3
    Join Date
    Aug 2008
    Location
    Ohio
    Posts
    63
    Plugin Contributions
    2

    Default Re: Download Fetch [support thread]

    File YOUR_ADMIN/download_fetch.php
    Find about line 236
    Code:
    <?php
      $download_fetch_query->MoveNext();
      }
    ?>
    Change to
    Code:
    <?php
      $download_fetch_query->MoveNext();
      }
      if ($download_fetch_query_numrows < 1){
      	echo '<div align="center"><b>NO Records Found You Must Add </b><br /><a href="' . zen_href_link(FILENAME_DOWNLOAD_FETCH, zen_get_all_get_params(array('padID', 'action')) . 'padID=' . $padInfo->file_id . '&page=' . $_GET['page'].'&action=newfile') . '">' . zen_image_button('button_new_file.gif', IMAGE_NEW_FILE) . '</a> </div>' ;
      }
    ?>
    Worked Grand Thank You Very Much!!!

    Need more info on this one. PHP version, what browser IE ?, Firefox ? You had the green Valid filename image showing?


    Php5, 1.38 Zen, IE, yep was green and even tried it in different folders and nothing..... it just goes to a blank page ... did not work in FF either
    http://mischiefscrapz.com/store/inde...d_fetch&file=2 <--- request link
    Last edited by MischiefDesignz; 27 Jan 2010 at 03:13 AM. Reason: added info

  4. #4
    Join Date
    Jun 2008
    Location
    Washington, DC
    Posts
    789
    Plugin Contributions
    7

    Default Re: Download Fetch [support thread]

    Load this debugging tool http://www.zen-cart.com/forum/showthread.php?t=84613

    And check out what the error is. It could be as simple as a space after the eof ?>

    Let me know.

    Skip
    • 446F63746F722057686F •

  5. #5
    Join Date
    Aug 2008
    Location
    Ohio
    Posts
    63
    Plugin Contributions
    2

    Default Re: Download Fetch [support thread]

    done ...... no errors came up..... it did not even show an error log

  6. #6
    Join Date
    Jun 2008
    Location
    Washington, DC
    Posts
    789
    Plugin Contributions
    7

    Default Re: Download Fetch [support thread]

    Check for errors now you should have two.

    Skip
    • 446F63746F722057686F •

  7. #7
    Join Date
    Aug 2008
    Location
    Ohio
    Posts
    63
    Plugin Contributions
    2

    Default Re: Download Fetch [support thread]

    uhmmm ok .....
    [26-Jan-2010 20:15:12] PHP Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in html/mischiefscrapz/store/includes/classes/fetch_download.php on line 39

 

 

Similar Threads

  1. Hebrew Support - latest release [Support Thread]
    By eranariel in forum Addon Language Packs
    Replies: 22
    Last Post: 26 Jan 2026, 06:47 AM
  2. Download File Manager Support Thread
    By balihr in forum All Other Contributions/Addons
    Replies: 24
    Last Post: 17 Aug 2017, 10:32 PM
  3. goMobile Support Thread
    By steveyork136 in forum Addon Templates
    Replies: 29
    Last Post: 26 Aug 2015, 11:56 AM
  4. SnapShot [support thread]
    By skipwater in forum All Other Contributions/Addons
    Replies: 32
    Last Post: 26 Oct 2012, 08:38 PM
  5. Download fetch changes the file name
    By davidwenkuisz in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 3 Mar 2010, 01:20 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