Results 1 to 3 of 3
  1. #1
    Join Date
    Feb 2007
    Location
    malaysia
    Posts
    8
    Plugin Contributions
    0

    Default Download folder on the same level as public_html

    I sell downloadable products. I've read most of the threads about setting up downloadable products. I found out that we can set up Download folder on the same level as the public_html directory on the server for best security setting. I did change the configuration in both configure.php files:
    from: define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
    to: define('DIR_FS_DOWNLOAD', '/home/xxxxx/download/');

    The download link works fine when I did a test purchase.

    However, the only problem is, the red icon appears on the Downloads Manager and Attributes Controller page, instead of green. It's just very hard to figure out if any of the file is really missing. I've looked at the related page and there is nothing to change as the script is actually referred to the configure.php file - unless it was not defined, it will look at the default download directory under public_html.

    Have I missed something here?

  2. #2
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Download folder on the same level as public_html

    Hmmm ... are you sure that after you updated both configure.php files, and uploaded them ... that your upload was successful ? (and didn't fail because the file was marked read-only perhaps?)

    Since you only mention the admin portion as not working as expected, there's no need to be concerned with the non-admin configure.php file at this stage.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Feb 2007
    Location
    malaysia
    Posts
    8
    Plugin Contributions
    0

    Default Re: Download folder on the same level as public_html

    DrByte, the upload was succesful as I have to change the permission manually through my hosting control panel. The default Download folder is empty.
    Last edited by rnisc; 23 Feb 2007 at 10:18 AM.

 

 

Similar Threads

  1. v154 Putting all files from catalog folder straight into public_html folder!
    By Man from Mars in forum General Questions
    Replies: 4
    Last Post: 12 Mar 2016, 02:29 AM
  2. v150 Can't log in to admin panel with store folder under public_html
    By dharris0211 in forum Basic Configuration
    Replies: 3
    Last Post: 6 May 2012, 12:04 AM
  3. No public_html folder
    By sherrillchurch in forum Installing on a Windows Server
    Replies: 3
    Last Post: 19 Jun 2008, 11:15 PM
  4. Multi Level Administration Panel (for more sellers in the same site)
    By isidoro81 in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 22 Feb 2007, 07:11 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