Results 1 to 4 of 4
  1. #1
    Join Date
    Mar 2009
    Location
    Essex, UK
    Posts
    446
    Plugin Contributions
    0

    Default Setting up downloads Above the Root folder

    Hi all

    I am using the updated version of Zen Cart to sell a number of downloadable documents.

    For security I have added the download folder about the root directory. However in downloads Manager, nothing is listed.

    My config files (includes and admin/includes) both read define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . '../download'); as its above the public_html root directory.

    Please could anyone advise? Thanks
    Debbie Harrison
    DVH Design | Web Design blog

  2. #2
    Join Date
    Mar 2009
    Location
    Essex, UK
    Posts
    446
    Plugin Contributions
    0

    Default Re: Setting up downloads Above the Root folder

    I have now set up the exact path for both configure.php files as advised by my hosting people.

    define('DIR_FS_DOWNLOAD', '/home/driveabr/download');
    And it still doesn't work

    I asked my hosting people and they have found:

    This is not because of any error with the server settings or the perssmission. Below folder is setup and the list of files/folders are below

    [/home/driveabr/download]# ll
    total 760
    drwxr-xr-x 2 driveabr driveabr 4096 Jul 21 10:28 ./
    drwx--x--x 12 driveabr driveabr 4096 Jul 22 12:33 ../
    -rw-r--r-- 1 driveabr driveabr 127947 Jul 21 10:28 France.zip
    -rw-r--r-- 1 driveabr driveabr 184588 Jul 21 10:28 Germany.zip
    -rw-r--r-- 1 driveabr driveabr 1965 Jun 21 13:28 .htaccess
    -rw-r--r-- 1 driveabr driveabr 160684 Jul 21 10:28 Italy.zip
    -rw-r--r-- 1 driveabr driveabr 122821 Jul 21 10:28 Portugal.zip
    -rw-r--r-- 1 driveabr driveabr 136118 Jul 21 10:28 Spain.zip

    You please contact the software vendor or your developer for more assistance. if we need to make any changes at server side, please feel free to ask.
    Please could anyone help? TIA
    Debbie Harrison
    DVH Design | Web Design blog

  3. #3
    Join Date
    Mar 2009
    Location
    Essex, UK
    Posts
    446
    Plugin Contributions
    0

    Default Re: Setting up downloads Above the Root folder

    Forget it I solved it. They need a '/' prefix so france.zip would actually be /france.zip
    Debbie Harrison
    DVH Design | Web Design blog

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

    Default Re: Setting up downloads Above the Root folder

    Thanks for the update on what worked for you in this issue ...
    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!

 

 

Similar Threads

  1. Replies: 23
    Last Post: 8 Oct 2014, 05:32 AM
  2. Moving a store to the root directory from a sub-folder
    By Hell Guapo in forum General Questions
    Replies: 3
    Last Post: 21 Sep 2011, 05:51 PM
  3. Problem moving folder from sub-root to root
    By andycowboy in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 28 Jul 2009, 02:15 AM
  4. Installing Zen cart in the root folder!
    By Tradition in forum Installing on a Linux/Unix Server
    Replies: 11
    Last Post: 6 Sep 2007, 05:16 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