Page 16 of 23 FirstFirst ... 61415161718 ... LastLast
Results 151 to 160 of 222
  1. #151
    Join Date
    Oct 2007
    Posts
    33
    Plugin Contributions
    0

    Default Re: How to set up downloadable products

    I'm with hostmonster...public_html folder was set to 755, home/myname/mystore/file1/file2/mydownloads were all set to 755, and redirect was turned on in admin. 755 was used because the store worked fine with these settings when the download folder was located in the store folder.

  2. #152
    Join Date
    Oct 2007
    Posts
    33
    Plugin Contributions
    0

    Default Re: How to set up downloadable products

    Well, I tried changing the config files anyway....didn't work.

    The Zencart installation page showed up when I tried to access my cart.

    Restored my config files and now have the download folder in my store again. It will work for now but I would really like to protect music files from public_html.

    I'm stuck for now...until I get some feedback.

    Apparently, the database did not like what I did...my page layout settings are back to the original layout.

    Should I restore everything from backups created yesterday?

    Nevermind, that was probably done when I set up my new template...
    Last edited by jestcoun; 10 Dec 2008 at 12:33 AM. Reason: More info

  3. #153
    Join Date
    Jan 2004
    Posts
    66,419
    Blog Entries
    7
    Plugin Contributions
    277

    Default Re: How to set up downloadable products

    Good grief, you're making this WAY harder than it needs to be.

    If your store is in /home/USER/public_html/store
    then your downloads are currently in /home/USER/public_html/store/download
    and you want to move the "download" folder up into the same place where public_html is located ...
    so that means you want the download dir to be /home/USER/download
    .

    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.

  4. #154
    Join Date
    Oct 2007
    Posts
    33
    Plugin Contributions
    0

    Default Re: How to set up downloadable products

    The grief is in the tutorial directions...and if I'm not mistaken, that is the folder location I tried to create and link to.

    QUOTE FROM MY POST:

    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/



    Here's a copy of the directions from the tutorial...

    Use your FTP program to move your "download" folder outside your webroot. Perhaps drag-and-drop it to a level "above" your public_html folder. The method you choose for moving or creating this folder will depend on your hosting account and the tools available to you for moving folders.

    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

    If I follow your directions, my download folder will still by in the public_html folder...correct me if I'm wrong.

    Thanks.
    Last edited by jestcoun; 10 Dec 2008 at 07:27 AM.

  5. #155
    Join Date
    Oct 2007
    Posts
    33
    Plugin Contributions
    0

    Default Re: How to set up downloadable products

    ...it's tired and I'm late....I'll see if I can make more sense tomarrow....

    I appreciate your help.

  6. #156
    Join Date
    Oct 2007
    Posts
    33
    Plugin Contributions
    0

    Default Re: How to set up downloadable products

    There wasn't a username folder in the home directory...I thought that was an understood folder and one didn't need to physically reside on the server.

    In the admin / catalog / downloads area, It took 5 recursives,

    ../../../../../username/download/personal folder

    to get the link to work. I had only recursed 4 times when trying previously.

    Appreciate your help.

  7. #157
    Join Date
    Oct 2007
    Posts
    33
    Plugin Contributions
    0

    Default Re: How to set up downloadable products

    Quote Originally Posted by jestcoun View Post
    There wasn't a username folder in the home directory...I thought that was an understood folder and one didn't need to physically reside on the server.

    In the admin / catalog / downloads area, It took 5 recursives,

    ../../../../../username/download/personal folder

    to get the link to work. I had only recursed 4 times when trying previously.

    Appreciate your help.
    Actually, the username is understood.

    After removing the physical folder and moving the download folder to the root, everything works fine.

  8. #158
    Join Date
    Oct 2007
    Posts
    33
    Plugin Contributions
    0

    Default Re: How to set up downloadable products

    Okay, now I'm really confused.

    My download files are linking (green dot) in the admin functions.

    But I'm getting this error when I open up my shopping cart:

    Warning: The downloadable products directory does not exist:

    /home/jestcoun/public_html/store//home/jestcoun/download/. Downloadable products will not work until this directory is valid.


    I'm right back to where I started from...

    Original post:

    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/username/download/');

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

    /home/jestcoun/public_html/store//home/jestcoun/download/

    The double file structure and double slashes are not a typo...

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

    End of Original Post.

    Do I need to do a fresh install of zencart without going through Fantastico or Simplescripts?

    I really believe the config file WS and FS structures are limiting me from accessing the downloads...correct me if I'm wrong.

    Please help.

  9. #159
    Join Date
    Oct 2007
    Posts
    33
    Plugin Contributions
    0

    Default Re: How to set up downloadable products

    I'll just stick to the original setup...this just is not working for me.

    I'll keep an eye on the thread and maybe something will click somewhere down the line.

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

    Default Re: How to set up downloadable products

    See the double slashes:
    /home/jestcoun/public_html/store//home/jestcoun/download/. Downloadable products will not work until this directory is valid.
    Notice that they have duplicated the home path as part of that error?

    That means you most likely have something wrong in your configure.php file(s) ...
    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: v1.5.5]
    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!

 

 
Page 16 of 23 FirstFirst ... 61415161718 ... LastLast

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