Results 1 to 10 of 222

Threaded View

  1. #21
    Join Date
    Oct 2007
    Posts
    33
    Plugin Contributions
    0

    Default Re: How to set up downloadable products

    I've been trying for 2 days to change my download folder to level above public_html.

    Yes, I have read the tutorial/faq and have searched this thread. I still can't find what I need to know...or I'm to blind and frustrated to see it.

    First, if I go by this tutorial:

    https://www.zen-cart.com/tutorials/i...hp?article=280,

    it will not work because this line:

    define('DIR_FS_CATALOG', '/home/myname/public_html/store/');

    says the store folder is the top folder in the structure.

    Well...I'm reloacting the download folder higher in the folder chain, so this will not work.

    When I change the download line to read:

    define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . '/home/myname/mystore/mydownloads/');

    I receive an error on my store front that says the download folder can't be found at:

    /home/myname/public_html/mystore//home/myname/mystore/mydownloadfolder/

    This leads me to beleive I need to change my FS CATALOG to a higher level.

    Can I change my DIR_FS_CATALOG to /home/myname/ then add this:

    define('DIR_FS_DOWNLOAD',
    DIR_FS_CATALOG . 'public_html/mystore/',

    then prefix all of my dependent folders like this:

    define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'mystore/folder1/folder2/mydownloads/');
    define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'public_html/mystore/pub/');
    define('DIR_WS_UPLOADS', DIR_WS_IMAGES . 'public_html/mystore/uploads/');
    define('DIR_FS_UPLOADS', DIR_FS_CATALOG . DIR_WS_UPLOADS);
    define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'public_html/mystore/email/');

    ?

    I'm sure I could download a good copy of both configure files and just try what I've explained. But I need to know if I'm headed in the right direction or if I'm going to corrupt something by doing this.

    I'm with hostmonster...folder settings were 755 and redirect was turned on.

    I would appreciate any help.

    Mike
    Last edited by jestcoun; 9 Dec 2008 at 11:11 PM.

 

 

Similar Threads

  1. How to set up downloadable products?
    By Scully in forum Setting Up Categories, Products, Attributes
    Replies: 25
    Last Post: 10 May 2012, 06:59 PM
  2. Replies: 13
    Last Post: 3 Oct 2011, 02:22 PM
  3. Replies: 0
    Last Post: 10 Aug 2011, 04:06 AM
  4. How to set unlimited quantity for a downloadable product?
    By hi_there in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 19 Jul 2010, 05:21 PM
  5. How to set up downloadable products?
    By bigglesguy in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 4 Aug 2008, 01:02 AM

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