Page 1 of 4 123 ... LastLast
Results 1 to 10 of 33
  1. #1
    Join Date
    Jan 2010
    Location
    Broome
    Posts
    325
    Plugin Contributions
    0

    Default Renaming admin folders

    Hi i am in technological hell, I followed the instructions in the manual regarding renaming the admin folder for security reasons and voila no more site. I am fortunate in having an amazing hosting company who has a php guru and he changed the folder back to admin and reset the configuration files which were completely blank of all the information i had given. Now we have the front end happening but the back end admin is giving up "You are seeing this page". My hosting company thinks that there may be some missing files in the admin/includes folder but he is not sure. Why would the manual suggest such a thing .. as it seems now I will to start again. Maybe i am missing something? Site is www.broomebeads.com.au Thanks for any help

  2. #2
    Join Date
    Mar 2009
    Location
    Australia
    Posts
    604
    Plugin Contributions
    0

    Default Re: Renaming admin folders

    If things aren't working.. it means unfortunately that you have not followed the instructions exactly or you have missed something.
    It cold even be the FTP client you are using is not stable.
    (try filezilla it's free!)

    I suggest you first back up your website. Go right through the read me files again and give things another shot.
    That wasn't the plan!

  3. #3
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Renaming admin folders

    You might also post the contents of your admin/includes/configure.php file here after disguising your login and password info so we can take a look.

  4. #4
    Join Date
    Jan 2010
    Location
    Broome
    Posts
    325
    Plugin Contributions
    0

    Default Re: Renaming admin folders

    Thanks for your response. Image of Admin.Inc.lConfig attached.
    http://i605.photobucket.com/albums/t...nIncConfig.jpg. Am looking for information that directed me to change admin folder name and will post when i find it.

  5. #5
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: Renaming admin folders

    Quote Originally Posted by wotnow View Post
    Thanks for your response. Image of Admin.Inc.lConfig attached.
    http://i605.photobucket.com/albums/t...nIncConfig.jpg. Am looking for information that directed me to change admin folder name and will post when i find it.
    This .jpg shows you have several errors in the file.

    //the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/

    define('DIR_FS_ADMIN', '/office/');
    define('DIR_FS_CATALOG', '/');

    These defines are NOT "COMPLETE" paths. (see example).

    Also, if you are ever going to be using SSL then you'll need to redefine your HTTPS hostname ("localhost" won't work over the internet).

    Cheers
    Rod

  6. #6
    Join Date
    Jan 2010
    Location
    Broome
    Posts
    325
    Plugin Contributions
    0

    Default Re: Renaming admin folders

    Thank you ... not really sure whether to put in local path to files ie the path to the files on my computer or the path to the files on the server?

    It is a little confusing because the heading says local/physical
    which would make me think the path required is on my computer but then in the example it says public_html which makes me think it should be www.broomebeads ... or webspace/httpdocs/admin?

  7. #7
    Join Date
    Mar 2009
    Location
    Australia
    Posts
    604
    Plugin Contributions
    0

    Default Re: Renaming admin folders

    Here is an example: (IF you have an SSL if not edit any https to http)

    As mentioned previously you will need to check the file paths relate to your webhosting directory structure.

    Don;t fret. You will get there.

    // Define the webserver and path parameters
    // HTTP_SERVER is your Main webserver: eg-http://www.your_domain.com
    // HTTPS_SERVER is your Secure webserver: eg-https://www.your_domain.com
    define('HTTP_SERVER', 'http://www.broomebeads.com.au');
    define('HTTPS_SERVER', 'https://www.broomebeads.com.au');

    // Use secure webserver for checkout procedure?
    define('ENABLE_SSL', 'true');

    // NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!
    // * DIR_WS_* = Webserver directories (virtual/URL)
    // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
    define('DIR_WS_CATALOG', '/');
    define('DIR_WS_HTTPS_CATALOG', '/');

    define('DIR_WS_IMAGES', 'images/');
    define('DIR_WS_INCLUDES', 'includes/');
    define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
    define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
    define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
    define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
    define('DIR_WS_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/');
    define('DIR_WS_TEMPLATES', DIR_WS_INCLUDES . 'templates/');

    define('DIR_WS_PHPBB', '/');

    // * 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/broomebeads/public_html/');

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

    // define our database connection
    define('DB_TYPE', 'mysql');
    define('DB_PREFIX', '');
    define('DB_SERVER', 'localhost');
    define('DB_SERVER_USERNAME', 'YOURdatabaseUSERNAME');
    define('DB_SERVER_PASSWORD', 'YOURdatbasePASSWORD');
    define('DB_DATABASE', 'YOURdatbaseNAME');
    define('USE_PCONNECT', 'false');
    define('STORE_SESSIONS', 'db');
    That wasn't the plan!

  8. #8
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: Renaming admin folders

    Quote Originally Posted by wotnow View Post
    Thank you ... not really sure whether to put in local path to files ie the path to the files on my computer or the path to the files on the server?
    All configuration entries are referring to the server.

    Quote Originally Posted by wotnow View Post
    It is a little confusing because the heading says local/physical
    which would make me think the path required is on my computer but then in the example it says public_html which makes me think it should be www.broomebeads ... or webspace/httpdocs/admin?
    I can appreciate where you are coming from, but as mentioned, all settings will refer to the server.

    If you look carefully there are actually two different types of 'paths' to be found in the defines section of the config files, namely

    define('DIR_WS_something
    define('DIR_FS_something

    The "DIR_WS" entries relate to the file locations as seen by the web-browser. (Web Server)
    The "DIR_FS" entries relate to the file locations of the 'physical' files on the server. (File System).

    Does this help clarify things?

    Cheers
    Rod

  9. #9
    Join Date
    Jan 2010
    Location
    Broome
    Posts
    325
    Plugin Contributions
    0

    Default Re: Renaming admin folders

    Thanks for your help .. i am almost at the point where it seems like i should just start again but i will give this one last go. Just to clarify in this section have i got it right?

    // * DIR_WS_* = Webserver directories (virtual/URL)
    // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
    define('DIR_WS_ADMIN', '/webspace/httpdocs/admin/');
    define('DIR_WS_CATALOG', '/webspace/httpdocs/admin/');
    define('DIR_WS_HTTPS_ADMIN', '');
    define('DIR_WS_HTTPS_CATALOG', '/');

    I dont have SSL yet and also I was wondering if I tested this site locally as opposed to live on server .. would i then have to come back and change all the paths or is this done dynamically.

  10. #10
    Join Date
    Jan 2010
    Location
    Broome
    Posts
    325
    Plugin Contributions
    0

    Default Re: Renaming admin folders

    I have altered both config files now and it is making no difference to being able to log in to the back end. Here is an image of my includes config as opposed to the other one which was my admin.. includes.

    http://i605.photobucket.com/albums/t...udesConfig.jpg Thanks

 

 
Page 1 of 4 123 ... LastLast

Similar Threads

  1. v150 How do I get into my admin after renaming the admin folder?
    By vortexuniversal1 in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 24 May 2012, 10:26 PM
  2. renaming admin
    By Marlake in forum Installing on a Windows Server
    Replies: 2
    Last Post: 28 Jul 2011, 02:58 PM
  3. Unabe to log into Admin after renaming admin folder
    By hectorcalcano in forum General Questions
    Replies: 43
    Last Post: 21 Jul 2009, 03:22 PM
  4. image sub folders under large and medium folders
    By Sushigal in forum General Questions
    Replies: 2
    Last Post: 16 Apr 2009, 04:37 PM
  5. Two Admin Folders
    By Muddkids in forum Basic Configuration
    Replies: 1
    Last Post: 20 Oct 2008, 01:17 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