Page 2 of 7 FirstFirst 1234 ... LastLast
Results 11 to 20 of 70
  1. #11
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Need help with attributes please

    Is this site run in the root directory of the site or in a subdirectory such as /shop or /store or /catalog ...

    If so, you need to add that to that changes you have made ...

    I am not sure why you are making those changes, but if you plan to use them, they do need to be specific ...
    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!

  2. #12
    Join Date
    Sep 2009
    Posts
    254
    Plugin Contributions
    0

    Default Re: Need help with attributes please

    I was following this tutorial in order to protect the download files which are essentially our product from being downloaded with out permission.

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

  3. #13
    Join Date
    Sep 2009
    Posts
    254
    Plugin Contributions
    0

    Default Re: Need help with attributes please

    Is this not correct? Is there another way to accomplish the end result? Or am I doing it wrong? Thanks for your help.

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

    Default Re: Need help with attributes please

    Nothing wrong with that method, just make sure the path to your Download directory is correct in both configure.php files ...
    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!

  5. #15
    Join Date
    Sep 2009
    Posts
    254
    Plugin Contributions
    0

    Default Re: Need help with attributes please

    I believe they are correct. That is the problem. They should be correct but the attributes are still not quite linking up correctly. I will include what I have for those 2 files for your review to make sure I have done it correctly.

    In the /admin/includes/configure.php:

    Code:
      define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');
      define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');
      define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');
      define('DIR_FS_CATALOG_TEMPLATES', DIR_FS_CATALOG . 'includes/templates/');
      define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');
      define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');
      define('DIR_FS_DOWNLOAD', '/home/username/');
    In the includes/configure.php:

    Code:
      define('DIR_FS_DOWNLOAD', '/home/username/');
      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/');
    Keep in mind that the download folder will be specified in the attribute file path itself to complete the download path.
    (Example: "download folder"/file_name.zip)
    My understanding is this would allow for multiple manufactures to upload their own files and have their own "download folders" to upload to without having access to the other manufacturers files.

    Let me know if I need to change this. Thanks again for your help.
    Last edited by lauriesscraps; 15 Jul 2011 at 04:12 AM.

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

    Default Re: Need help with attributes please

    You are sure it is:
    /home/username/

    and not something like:
    /home/username/public_html/

    or something like:
    /home/username/public_html/shop/

    Go to the Admin and check the Tools ... Server Info ... and see what the:
    DOCUMENT_ROOT

    is for the full path ... and compare to the:
    SCRIPT_FILENAME

    to see if you need an additional directory in there ...
    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!

  7. #17
    Join Date
    Sep 2009
    Posts
    254
    Plugin Contributions
    0

    Default Re: Need help with attributes please

    I was inputting it as /home/username/ because the tutorial I listed instructed to do this so that the downloads folder is not accessible from the internet.

    If I input it as /home/username/public_html/ or /home/username/public_html/shop/ the downloads folder will be accessible from the internet correct?

    If I am wrong on this let me know. I just assumed this needed to be done since it instructed to do this in the tutorial I shared. I will check what you have listed above though to double check.

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

    Default Re: Need help with attributes please

    I do not know where you have your Download directory ...

    Make sure that the path that you use it the correct one based on where you put your Download directory and what you call it ...

    The, make sure it is in both configure.php files so that they both can see it correctly ...
    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!

  9. #19
    Join Date
    Sep 2009
    Posts
    254
    Plugin Contributions
    0

    Default Re: Need help with attributes please

    She did have her downloads folder in the public_html/store location which was accessible to internet hackers. I have moved the downloads folder above the public_html location so it is no longer accessible. The file path I would need to use in both configure.php files is home/username/... correct?

    What am I missing here? Both configure files have the file path of home/username/ and the specific folder in the location is stipulated in the attribute file path. So what am I missing? Probably something really simple. Sorry to be so repetitive.

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

    Default Re: Need help with attributes please

    I have mine site in a subdirectory ... like www.my_domain_name.com/store

    I change the define for the Download Directory to be above the public_html and in a different directory name, in this case the the S on the end of downloads and use in both configure.php files:
    Code:
      define('DIR_FS_DOWNLOAD', '/home/myusername/downloads/');
    I enter the Download filename on the Attribute as either:
    test.zip when in the /home/myusername/downloads

    or when in a subdirectory ...
    otherdirectory/test.zip when in the /home/myusername/downloads/otherdirectory

    Note: my define for the directory name has the / on the end of it ...
    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 2 of 7 FirstFirst 1234 ... LastLast

Similar Threads

  1. Easy Populate 1.2.5.5 with Stock With Attributes Help please
    By shahram in forum All Other Contributions/Addons
    Replies: 4
    Last Post: 4 Oct 2012, 07:56 PM
  2. Attributes Display problem...need some help please.
    By Zadris in forum Setting Up Categories, Products, Attributes
    Replies: 17
    Last Post: 23 Oct 2011, 05:20 AM
  3. Need help with attributes Please
    By bromleysid in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 16 Aug 2009, 05:03 PM
  4. Add to Cart Not Appearing with Products with Attributes. Please help me!?!?
    By alegria in forum Setting Up Categories, Products, Attributes
    Replies: 9
    Last Post: 26 Jun 2008, 11:46 PM
  5. Help with attributes please
    By duquecigars in forum General Questions
    Replies: 25
    Last Post: 14 Apr 2008, 10:41 PM

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