Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 25
  1. #11
    Join Date
    Sep 2011
    Posts
    26
    Plugin Contributions
    0

    Default Re: Download File Manager Support Thread

    Quote Originally Posted by DivaVocals View Post
    check the .htaccess file.. see if pdf files are allowed.. if not add them to the list of allowed files..
    If you mean the .htaccess file that comes with the packagde I've already done that.
    Cant find any htaccess file that could block it.

    Any suggestions?

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

    Default Re: Download File Manager Support Thread

    Quote Originally Posted by JDAhlbom View Post
    If you mean the .htaccess file that comes with the packagde I've already done that.
    Cant find any htaccess file that could block it.

    Any suggestions?
    What about the one in the downloads folder???
    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.

  3. #13
    Join Date
    Sep 2011
    Posts
    26
    Plugin Contributions
    0

    Default Re: Download File Manager Support Thread

    Quote Originally Posted by DivaVocals View Post
    What about the one in the downloads folder???

    I've tried to delete that one aswell... And under
    <FilesMatch ".*\.(zip|ZIP|gzip|pdf|PDF|mp3|MP3|swf|SWF|wma|WMA|wmv|WMV|wav|epub)$">
    I've deleted "pdf" and "PDF" and tried that aswell.. No luck :/

    It works smooth with png, jpg, zip.
    But not html, css, pdf etc doesnt work.

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

    Default Re: Download File Manager Support Thread

    Quote Originally Posted by JDAhlbom View Post
    I've tried to delete that one aswell... And under
    <FilesMatch ".*\.(zip|ZIP|gzip|pdf|PDF|mp3|MP3|swf|SWF|wma|WMA|wmv|WMV|wav|epub)$">
    I've deleted "pdf" and "PDF" and tried that aswell.. No luck :/

    It works smooth with png, jpg, zip.
    But not html, css, pdf etc doesnt work.
    NO NO NO

    you don't DELETE the .htaccess file!!!!!!!!

    and you DON'T want to delete these commands (it should be OBVIOUS why if you read the comments -- I've highlighted the relevant portions)
    Code:
    # deny *everything*
    <FilesMatch ".*">
      Order Allow,Deny
      Deny from all
    </FilesMatch>
    
    # but now allow just *certain* necessary files:
    <FilesMatch ".*\.(zip|ZIP|gzip|pdf|PDF|mp3|MP3|swf|SWF|wma|WMA|wmv|WMV|wav|epub)$">
      Order Allow,Deny
      Allow from all
    </FilesMatch>
    html, css, WON'T work because they are NOT in the allowed files list. My suggestion is to restore the default .htaccess file for the downloads folder that comes with Zen Cart.

    AND

    IF you've deleted or monkeyed with ANY of the other .htaccess files, you need to restore those with the ones that come with Zen Cart too..
    Last edited by DivaVocals; 11 Dec 2013 at 04:10 PM.
    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.

  5. #15
    Join Date
    Oct 2008
    Location
    Croatia
    Posts
    1,740
    Plugin Contributions
    22

    Default Re: Download File Manager Support Thread

    Quote Originally Posted by DivaVocals View Post
    NO NO NO

    you don't DELETE the .htaccess file!!!!!!!!

    and you DON'T want to delete these commands (it should be OBVIOUS why if you read the comments -- I've highlighted the relevant portions)
    Code:
    # deny *everything*
    <FilesMatch ".*">
      Order Allow,Deny
      Deny from all
    </FilesMatch>
    
    # but now allow just *certain* necessary files:
    <FilesMatch ".*\.(zip|ZIP|gzip|pdf|PDF|mp3|MP3|swf|SWF|wma|WMA|wmv|WMV|wav|epub)$">
      Order Allow,Deny
      Allow from all
    </FilesMatch>
    html, css, WON'T work because they are NOT in the allowed files list. My suggestion is to restore the default .htaccess file for the downloads folder that comes with Zen Cart.

    AND

    IF you've deleted or monkeyed with ANY of the other .htaccess files, you need to restore those with the ones that come with Zen Cart too..
    Hey, DivaVocals, thanks so much for stepping in - I didn't get an email notification and didn't know the original question was asked.

    @JDAhlbom - DivaVocals already explained everything and was accurate to the point. Just follow her advice and you should be able to solve your problem. Notice the highlighted section.

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

    Default Re: Download File Manager Support Thread

    Quote Originally Posted by balihr View Post
    Hey, DivaVocals, thanks so much for stepping in - I didn't get an email notification and didn't know the original question was asked.

    @JDAhlbom - DivaVocals already explained everything and was accurate to the point. Just follow her advice and you should be able to solve your problem. Notice the highlighted section.
    No worries.. Happy to help where I can..
    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.

  7. #17
    Join Date
    Sep 2011
    Posts
    26
    Plugin Contributions
    0

    Default Re: Download File Manager Support Thread

    Hi again,
    I did that but still no luck. Nothing happens when I upload the PDF-files.
    It's okey since I made my own script to upload files from admin :)

    Thnx anyway.

  8. #18
    Join Date
    Dec 2010
    Posts
    10
    Plugin Contributions
    0

    Default Re: Download File Manager Support Thread

    I alterd the files as they had instructed in a previous post, however, it is still not adding them to where my actual downloadable files are. Would any one have any suggestions, becuase I love the mod.

    Here are the files that I altered by putting the filepath to my folder.

    dfm_filelist.php - line 33, 63, 135, 136, 137, 138
    upload.php - line 15

    They are all altered with something along the lines of this download/myfolder.

    Thanks s much in advance for any help!!

  9. #19
    Join Date
    Oct 2008
    Location
    Croatia
    Posts
    1,740
    Plugin Contributions
    22

    Default Re: Download File Manager Support Thread

    If you followed the instructions properly, it should work. My guess is you probably missed something, but can't tell what. If you want, feel free to PM me with your FTP access and I'll be glad to take a look for you. Of course, reason and solution will be posted here.

  10. #20
    Join Date
    Oct 2008
    Location
    Croatia
    Posts
    1,740
    Plugin Contributions
    22

    Default Re: Download File Manager Support Thread

    OK, so here's a solution for kentuckygurl's problem.

    Problem description: custom directory named XYZ inside the standard download directory. DFM lists all files, but doesn't upload to that directory.
    Solution: the required edit in upload.php file was done wrong, it was missing a trailing slash.

    So, if anyone else tries doing this, remember that you need to add a trailing slash to your folder's name:
    upload.php, line 15:
    Code:
    if(move_uploaded_file($_FILES['upl']['tmp_name'], '../download/XYZ/'.$_FILES['upl']['name'])){

 

 
Page 2 of 3 FirstFirst 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

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