Full service web hosting, great prices and support. Starts at $1.99/month!
Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Renaming Admin folder

  1. #1
    aking1001
    Guest


    Default Renaming Admin folder

    I've installed oscMax several times before following the Wiki instructions. I always rename the admin folder after but this time once I do that I can't log into the Admin; the links on the login page clearly haven't updated after I edit the admin/includes/configure.php file.

    (In fact, the second line: define('DIR_WS_HTTPS_ADMIN', '/admin/'); isn't present in the configure.php file.

    Any thoughts or suggestions -- I am using the guide at http://wiki.oscdox.com/setting_up_security

  2. #2
    TBTB
    Guest


    Default Re: Renaming Admin folder

    most probably because you didn't define https access? Why not putting the whole shop in https mode?

  3. #3
    osCMax Development Team

    Renaming Admin folder

    ridexbuilder's Avatar
    Join Date
    Jul 2008
    Location
    Haggisland
    Posts
    4,164
    Contribute If you enjoy reading the
    content here, click the below
    image to support our site.
    Click Here To Contribute To Our Site

    Total Contributions For

    ridexbuilder     $ 15.00
    Rep Power
    99


    Exclamation Re: Renaming Admin folder

    Why not putting the whole shop in https mode?
    Do NOT do this!!!

    Developers resource at bitbucket
    *** *** ***
    oscmax.co.uk / ejsolutions.co.uk
    Hosting plans with installation, configuration, contributions, support and maintenance.
    *** FREE osCmax hosting available ***
    oscmaxtemplates.com

  4. #4
    bethbud
    Guest


    Default Re: Renaming Admin folder

    Check the error message you're getting. Seems I had a similar issue but had just forgotten something simple.

    Since renaming my ADMIN folder, I'm getting this error:


    Error: Backup directory does not exist. Please set this in configure.php.

    but can't find where to correct it in configure.php. Can someone show me what that line of html looks like so I can find it?

    Thanks,
    ~*Beth

  5. #5
    TBTB
    Guest


    Default Re: Renaming Admin folder

    Quote Originally Posted by ridexbuilder View Post
    Do NOT do this!!!
    sorry for my ignorance but why not?

    Thanks

  6. #6
    bethbud
    Guest


    Default Re: Renaming Admin folder

    Since renaming my ADMIN folder, I'm getting this error:

    Error: Backup directory does not exist. Please set this in configure.php.

    but can't find where to correct it in configure.php. Can someone show me what that line of html looks like so I can find it?

    Thanks,
    ~*Beth

  7. #7
    osCMax Development Team

    Renaming Admin folder

    pgmarshall's Avatar
    Join Date
    Feb 2009
    Location
    London
    Posts
    3,517
    Contribute If you enjoy reading the
    content here, click the below
    image to support our site.
    Click Here To Contribute To Our Site

    Total Contributions For

    pgmarshall     $ 35.00
    Rep Power
    81


    Smile Re: Renaming Admin folder

    Line 36 of configure.php in admin/includes/

    Code:
      define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');
    Regards,
    pgmarshall
    _______________________________

  8. #8
    bethbud
    Guest


    Default Re: Renaming Admin folder

    Not sure why, but it's not working.

    I'm getting the same error
    Error: Backup directory does not exist. Please set this in configure.php.

    I changed the ADMIN
    in this line to the new admin file name as instructed.
    define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/'); Everything else related to the ADMIN file name change is working fine.

    Any thoughts?

  9. #9
    osCMax Developer


    Renaming Admin folder


    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    23,134
    Contribute If you enjoy reading the
    content here, click the below
    image to support our site.
    Click Here To Contribute To Our Site

    Total Contributions For

    michael_s     $ 10.00
    Rep Power
    597


    Default Re: Renaming Admin folder

    Quote Originally Posted by TBTB View Post
    sorry for my ignorance but why not?

    Thanks
    Because that is counter to the SSL specification and will cause your site to run slower and lower SEO.

    If you are ok with automatically having a slower website and automatically being ranked lower or not at all in search engines, go right ahead. Google uses site speed as a factor in ranking sites in their results, so anything that makes your site slower while providing no other advantage is a bad idea. There is no point in encrypting pages that do not contain sensitive information.

  10. #10
    osCMax Developer


    Renaming Admin folder


    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    23,134
    Contribute If you enjoy reading the
    content here, click the below
    image to support our site.
    Click Here To Contribute To Our Site

    Total Contributions For

    michael_s     $ 10.00
    Rep Power
    597


    Default Re: Renaming Admin folder

    Quote Originally Posted by bethbud View Post
    Not sure why, but it's not working.

    I'm getting the same error
    Error: Backup directory does not exist. Please set this in configure.php.

    I changed the ADMIN
    in this line to the new admin file name as instructed.
    define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/'); Everything else related to the ADMIN file name change is working fine.

    Any thoughts?
    This usually indicates a problem with the paths set up in one of your configure.php files. Go through and verify that all the paths are correct. Check the path that it is trying to save backups to, and then compare that to where it should be saving them to. The difference will usually be obvious and easy to fix.

Page 1 of 2 12 LastLast

Similar Threads

  1. Renaming admin directory
    By tunnel7 in forum osCmax v2 Customization/Mods
    Replies: 6
    Last Post: 12-05-2009, 10:29 AM
  2. .htaccess on /catalog/admin folder?
    By jusluv2ski in forum osCmax v2 Installation issues
    Replies: 4
    Last Post: 10-11-2009, 11:03 AM
  3. Renaming the order status
    By ScaleCreep in forum osCMax v2 Features Discussion
    Replies: 0
    Last Post: 01-14-2008, 01:36 PM
  4. protect admin folder never sucess
    By johnkwok in forum osCommerce 2.2 Installation Help
    Replies: 1
    Last Post: 09-06-2004, 05:02 PM
  5. Newbie: Product attributes and file renaming
    By celtic in forum osCommerce 2.2 Modification Help
    Replies: 2
    Last Post: 01-01-2003, 07:20 AM

Tags for this Thread

Bookmarks

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
  •