Results 1 to 4 of 4
  1. #1
    Join Date
    Mar 2005
    Location
    South coast of MA, USA
    Posts
    98
    Plugin Contributions
    0

    help question downloads configure

    I have read all (I think) the posts about setting up for downloads.
    I do get a green ok for the file types... but when the buyer (testing this) gets the email to download.. and logs in and clicks "download... it goes to page not found error.

    the download directory is in my public_html
    here are the config file entries:
    /includes:
    define('DIR_FS_CATALOG', '/home/mysite/public_html/proshop/');
    define('DIR_WS_DOWNLOAD_PUBLIC', '/home/mysite/public_html/download/');
    define('DIR_FS_DOWNLOAD', '/home/mysite/public_html/download/');
    define('DIR_FS_DOWNLOAD_PUBLIC', '/home/mysite/public_html/download/');

    /admin/includes:
    define('DIR_FS_DOWNLOAD', '/home/mysite/public_html/download/');

    I know I have something not correct.

    What is wrong?

    Thanks, Roland

  2. #2
    Join Date
    Apr 2004
    Location
    UK
    Posts
    5,821
    Plugin Contributions
    2

    Default Re: downloads configure

    Try using just i.e
    Code:
     define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
    without the '/home/mysite/public_html/

  3. #3
    Join Date
    Mar 2005
    Location
    South coast of MA, USA
    Posts
    98
    Plugin Contributions
    0

    Default Re: downloads configure

    Quote Originally Posted by misty View Post
    Try using just i.e
    Code:
     define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
    without the '/home/mysite/public_html/
    If I understand that correctly...
    'DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'
    is the same as
    'DIR_FS_DOWNLOAD','/home/mysite/public_html/proshop/download/'

    But my download is out side /proshop/

    ~Roland

  4. #4
    Join Date
    Apr 2004
    Location
    UK
    Posts
    5,821
    Plugin Contributions
    2

    Default Re: downloads configure

    Code:
    / * DIR_FS_* = Filesystem directories (local/physical)
      //the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/
      define('DIR_FS_CATALOG', '/home/mysite/public_html/store2/');
      define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
      define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
      define('DIR_WS_UPLOADS', DIR_WS_IMAGES . 'uploads/');
      define('DIR_FS_UPLOADS', DIR_FS_CATALOG . DIR_WS_UPLOADS);
      define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');
    Above is an extract from my own configure.php file for mydomain.com/store2
    .. as you can see the download folder is set exactly as I stated in my initial post to your query...

 

 

Similar Threads

  1. v151 Downloads Stopped Working - Now Redlights on all downloads
    By AllSavvy in forum General Questions
    Replies: 3
    Last Post: 10 May 2013, 04:44 PM
  2. Free Products downloads vs. purchased downloads
    By mistymurata in forum PayPal Express Checkout support
    Replies: 9
    Last Post: 25 Apr 2010, 02:21 PM
  3. Setting downloads to 7 day expiration with unlimited downloads
    By Chestnut Junction in forum Setting Up Categories, Products, Attributes
    Replies: 38
    Last Post: 26 Oct 2009, 05:31 AM
  4. how to configure my configure.php file
    By vr4indian in forum Basic Configuration
    Replies: 4
    Last Post: 30 Oct 2006, 04:00 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