Results 1 to 6 of 6

Hybrid View

  1. #1
    Join Date
    Nov 2008
    Posts
    4
    Plugin Contributions
    0

    Default Setting Permissions

    Hi to the forum I'm new to Zencart and would like to ask a qustion regarding setting permissions. After reading this page https://www.zen-cart.com/tutorials/index.php?article=73 and locating the admin/includes/configure.php file I noticed that your example was slightly different to the one displayed on my page.

    This code is from the above tutorial-

    define('DIR_WS_ADMIN', '/admin/');
    define('DIR_WS_CATALOG', '/');
    define('DIR_WS_HTTPS_ADMIN', '/admin/');
    define('DIR_WS_HTTPS_CATALOG', '/');


    This is the code I have in the configure.php file, I was expecting to see the same code as in your example so that it can be edited-

    define('DIR_WS_ADMIN', '/allthesametext/');
    define('DIR_WS_CATALOG', '/allthesametext/');
    define('DIR_WS_HTTPS_ADMIN', '/allthesametext/');
    define('DIR_WS_HTTPS_CATALOG', '/allthesametext/');

    My server has a tool which installed Zencart for me and was wondering if they set the security permissions automatically during the install as the /zc_install folder apears not to be there either.

    Any help would be much appreciated, many thanks.

    I'll get there

  2. #2
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: Setting Permissions

    Hi and Welcome to the Forum.

    Setting permissions on files / directories has nothing to do with what is inside the file. Easiest way for setting permissions is to use your FTP program or File Mgr. through your Hosting Control Panel; if it provides one.

  3. #3
    Join Date
    Nov 2008
    Posts
    4
    Plugin Contributions
    0

    Default Re: Setting Permissions

    Hi and thank you for your speedy responce I'm opening the php file with the text editor my host supplies but in the tutorial it says I should change- define('DIR_WS_ADMIN', '/admin/');

    to- define('DIR_WS_ADMIN', '/mysecretsite/'); where you have 'mysecretsite' I have the location of the shop although it dosn't show the full URL in the code. I'm just a little confussed, would I be right by just renaming the admin folder then adding the new file name to- define('DIR_WS_ADMIN', '/newfilenamehere/');

    Many thanks

  4. #4
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: Setting Permissions

    Here's a question, "Why are you trying to edit files?"

    Is your site not working???

    Also, you had asked about file permissions which is different than what you are asking about now; editing files.

  5. #5
    Join Date
    Nov 2008
    Posts
    4
    Plugin Contributions
    0

    Default Re: Setting Permissions

    Hi, perhaps I should have called the thread security, not sure where 'setting permissions' come from I'm not trying to edit the files I was following the tutorial which suggest I do that for secruity reasons. If I dont need to edit anything all the better.

    I have to nip out for half hour now so there will be a little delay in my next post, thanks.

    Whoops yest the shop works fine

  6. #6
    Join Date
    Nov 2008
    Posts
    4
    Plugin Contributions
    0

    Default Re: Setting Permissions

    Hi, sorry about that. I know where the permissions come from now, it was where I right clicked on the shop file, I was offered a few options and one was to 'change permissions', I was also reading about those in your tutorial section, read, write execute, I never altered them, just left it set at 755.

 

 

Similar Threads

  1. Permissions setting when installing
    By graffix75 in forum Installing on a Linux/Unix Server
    Replies: 0
    Last Post: 27 Mar 2009, 04:32 PM
  2. Setting Permissions in Dreamweaver Error
    By MetalStorm4786 in forum Installing on a Windows Server
    Replies: 7
    Last Post: 7 Oct 2008, 04:45 AM

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