Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2011
    Posts
    1
    Plugin Contributions
    0

    Default Problem with the download folder relocation

    Does anybody have any advice / ideas regarding the change of the download directory location? I did it as it is suggested below and it is not working.

    Usually the "download" folder is located inside your store area, for example:
    - /home/my_user_name/public_html/mystore/download

    You want to move it "above" your public_html folder, something like this:
    - /home/my_user_name/download


    Edit your two configure.php files to show the new path to your download folder:
    - /includes/configure.php
    - /admin/includes/configure.php

    You'll need to edit the line that says this:

    define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

    to look something like this:

    define('DIR_FS_DOWNLOAD', '/home/my_user_name/download/');
    I did do all of what has been mentioned and I still get the red tape warning sign on top of the web page regarding the download directory not been found.

  2. #2
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: Problem with the download folder relocation

    Quote Originally Posted by ben_jadue View Post
    You'll need to edit the line that says this:

    define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

    to look something like this:

    define('DIR_FS_DOWNLOAD', '/home/my_user_name/download/');
    I did do all of what has been mentioned and I still get the red tape warning sign on top of the web page regarding the download directory not been found.
    For you to get this error means that your download folder simply isn't where you have specified... If you used the example as entered above then it will not work, because I can assure you that the directory '/home/my_user_name/download/' really doesn't exist. You need to modify this for *your* site.
    Also take careful note of the leading '/' in the example above. This '/' ISN'T needed with the default setup because the path is *relative* to the document root.. This is no longer the case if you relocate the directory outside of this folder which is why you need to use the FULL path, which includes the leading '/'.

    The final thing to note is that the relocated directory MUST be in a place accessable by the webserver, which means it will still need to reside somehere in the public_hrml folder. If this is where the top/root level of your store is located then you won't be able to move the download folder up any higher anyway.

    Cheers
    Rod

 

 

Similar Threads

  1. v154 Moving the Download Folder
    By adb34 in forum General Questions
    Replies: 13
    Last Post: 28 Oct 2015, 12:46 PM
  2. Download Folder Path Problem
    By skinfreak in forum General Questions
    Replies: 0
    Last Post: 17 Oct 2010, 12:40 AM
  3. Question About the Download Relocation FAQ
    By zglider in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 17 Mar 2009, 12:35 AM
  4. Wondering what the problem is with the Digital Product download
    By jeffhardy in forum General Questions
    Replies: 9
    Last Post: 22 Jan 2009, 08:16 AM
  5. Organizing the Download Folder
    By prphotolab in forum General Questions
    Replies: 2
    Last Post: 28 Dec 2006, 03:02 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