Page 1 of 3 123 LastLast
Results 1 to 10 of 25
  1. #1
    Join Date
    Oct 2008
    Location
    Croatia
    Posts
    1,542
    Plugin Contributions
    19

    Default Download File Manager Support Thread

    I've just submitted the file to the contributions area and it's awaiting approval.

    This module is designed to work with Zen Cart 1.5.x (although it is compatible with earlier versions, just needs admin/boxes). It's purpose is to allow admin to upload downloadable files to the /download directory directly from admin, there's no need to use FTP.

    Here's a screenshot:
    Name:  dfm-screen.jpg
Views: 793
Size:  29.0 KB

    The plugin can be downloaded from the Plugins section.

    http://www.zen-cart.com/downloads.php?do=file&id=1767
    Last edited by swguy; 1 Nov 2013 at 01:24 AM.

  2. #2
    Join Date
    Dec 2010
    Location
    UK
    Posts
    1,771
    Plugin Contributions
    3

    Default Re: Download File Manager Support Thread

    A very handy mod, thank you what a great idea!
    My only question (so far!), and i know you hint at it in the README...
    this plugin expects you to use /download directory to store your files. If you're using a different directory, you'll need to update the plugin
    could you give a few pointers as to which files/edits need to be changed/made please?

  3. #3
    Join Date
    Oct 2008
    Location
    Croatia
    Posts
    1,542
    Plugin Contributions
    19

    Default Re: Download File Manager Support Thread

    Quote Originally Posted by picandnix View Post
    A very handy mod, thank you what a great idea!
    My only question (so far!), and i know you hint at it in the README...

    could you give a few pointers as to which files/edits need to be changed/made please?
    Sure. Changes are required in:
    dfm_filelist.php - line 33, 63, 135, 136, 137, 138
    upload.php - line 15

    Basically, I just hard coded the path to the download directory. There are nicer solutions, but I built this real fast for a client to help them upload their files and then just packed it for everyone else...

  4. #4
    Join Date
    Dec 2010
    Location
    UK
    Posts
    1,771
    Plugin Contributions
    3

    Default Re: Download File Manager Support Thread

    Quote Originally Posted by balihr View Post
    Sure. Changes are required in:
    dfm_filelist.php - line 33, 63, 135, 136, 137, 138
    upload.php - line 15

    Basically, I just hard coded the path to the download directory. There are nicer solutions, but I built this real fast for a client to help them upload their files and then just packed it for everyone else...
    That's great, I'll give it a go later

  5. #5
    Join Date
    Dec 2010
    Location
    UK
    Posts
    1,771
    Plugin Contributions
    3

    Default Re: Download File Manager Support Thread

    Like any good Zenner I'm trying this in Localhost (WAMP)...

    after installation I constantly have the message box
    Download File Manager v1.0 install completed!
    at the top of my admin area.
    Then upon attempting a PDF upload I receive an error log
    PHP Code:
     Warningfilesize() [function.filesize]: stat failed for /my.pdf in C:\wamp\www\test\MYADMIN\dfm_filelist.php on line 129

     Warning
    filesize() [function.filesize]: stat failed for /my.pdf in C:\wamp\www\test\MYADMIN\dfm_filelist.php on line 14 
    The manager displays the green tick/check symbol but the file does not make it into the 'download' folder (tried with default Download folder location too).

  6. #6
    Join Date
    Oct 2008
    Location
    Croatia
    Posts
    1,542
    Plugin Contributions
    19

    Default Re: Download File Manager Support Thread

    I just tested on a clean 1.5.1 and no problems...

    The message box on top shouldn't show more than once, but you can delete the admin/includes/auto_loaders/config.dfm.php

    Error logs - can't tell for sure, but I'd say it indicates a problem with your path. Since it's a local wamp install, I'm assuming you have all the required permissions...

  7. #7
    Join Date
    Oct 2013
    Location
    South Africa
    Posts
    4
    Plugin Contributions
    0

    Default Re: Download File Manager Support Thread

    Good day to all.
    I have just installed the download file manager. My first install of a mod on Zen.
    I am using the version 1.5.1
    When I open the download manager Catalog - it opens with a Browse Button - I browse, select a file to upload - BUT THERE IS NO UPLOAD BUTTON TO UPLOAD FILES FOR DOWNLOAD.

    it also shows a list of sample files for download - which downloads.
    My concern is that it also shows an Index.html file which, when I click on gives a FORBIDDEN message.

    Please assist me to get this mod properly working before I tackle more complex mods
    Charles van Eeden
    [email protected]

  8. #8
    Join Date
    Oct 2008
    Location
    Croatia
    Posts
    1,542
    Plugin Contributions
    19

    Default Re: Download File Manager Support Thread

    Quote Originally Posted by charles121 View Post
    When I open the download manager Catalog - it opens with a Browse Button - I browse, select a file to upload - BUT THERE IS NO UPLOAD BUTTON TO UPLOAD FILES FOR DOWNLOAD.
    There is no upload button. The module will automatically start uploading after you select the files or release it (Drag&Drop) on the upload area. There's no need for an upload button.
    This feature works on ALL modern browsers including IE10. However, IE9 and older versions of IE do NOT support it and this module doesn't work on those browsers. If you're using IE9 or older, the best advice you'll ever get is to install Chrome or Firefox or Opera.

    it also shows a list of sample files for download - which downloads.
    My concern is that it also shows an Index.html file which, when I click on gives a FORBIDDEN message.
    That index.html file is a standard part of Zen Cart and it's supposed to be there. You are not supposed to open it (it's a blank file anyway). Downloadable files are usually zip files and you can access those - it's the modification made in the admin/.htaccess file that allows you to start downloading it directly.

  9. #9
    Join Date
    Sep 2011
    Posts
    26
    Plugin Contributions
    0

    Default Re: Download File Manager Support Thread

    Hi, for some reason I cant upload .pdf-documents.
    It works smooth with png, jpg etc. The size of the pdf is 100kb so that's not the problem.

    My log sais the following:
    [10-Dec-2013 05:01:23 America/New_York] PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent (output started at /home/hifista1/public_html/login/download_file_manager.php:8) in /home/hifista1/public_html/includes/functions/sessions.php on line 113

    And if I remove
    header("Content-Type: text/html; charset=" . CHARSET);
    from init_template.php I only get the following error-log:

    [10-Dec-2013 05:01:23 America/New_York] PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent (output started at /home/hifista1/public_html/login/download_file_manager.php:8) in /home/hifista1/public_html/includes/functions/sessions.php on line 113


    What could be wrong?

    // JDahlbom

  10. #10
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,023
    Plugin Contributions
    32

    Default Re: Download File Manager Support Thread

    Quote Originally Posted by JDAhlbom View Post
    Hi, for some reason I cant upload .pdf-documents.
    It works smooth with png, jpg etc. The size of the pdf is 100kb so that's not the problem.

    My log sais the following:
    [10-Dec-2013 05:01:23 America/New_York] PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent (output started at /home/hifista1/public_html/login/download_file_manager.php:8) in /home/hifista1/public_html/includes/functions/sessions.php on line 113

    And if I remove
    header("Content-Type: text/html; charset=" . CHARSET);
    from init_template.php I only get the following error-log:

    [10-Dec-2013 05:01:23 America/New_York] PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent (output started at /home/hifista1/public_html/login/download_file_manager.php:8) in /home/hifista1/public_html/includes/functions/sessions.php on line 113


    What could be wrong?

    // JDahlbom
    check the .htaccess file.. see if pdf files are allowed.. if not add them to the list of allowed files..
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

 

 
Page 1 of 3 123 LastLast

Similar Threads

  1. Link Manager 3.0 Support Thread
    By clydejones in forum Addon Sideboxes
    Replies: 1987
    Last Post: 6 Aug 2021, 02:56 PM
  2. Testimonial Manager Support Thread
    By clydejones in forum All Other Contributions/Addons
    Replies: 1500
    Last Post: 4 Feb 2021, 04:12 PM
  3. v154 News Box Manager v2.0.0 [Support Thread]
    By lat9 in forum All Other Contributions/Addons
    Replies: 84
    Last Post: 19 Jan 2021, 04:17 PM
  4. Poll Manager Support Thread
    By boudewijn in forum Addon Sideboxes
    Replies: 148
    Last Post: 27 Jan 2016, 09:53 AM
  5. [Support Thread] Simple Video Manager
    By yellow1912 in forum All Other Contributions/Addons
    Replies: 6
    Last Post: 1 Nov 2008, 02:44 PM

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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR