Results 1 to 10 of 10
  1. #1
    Join Date
    Oct 2008
    Location
    Rochester Hills, MI
    Posts
    66
    Plugin Contributions
    0

    Default desktop shortcut not working after renaming admin folder

    Hi, I have set up a desktop shortcut on my computer to access my zen cart admin. I also just renamed my "admin" name. So I changed my shorcut to the new path,

    mydomainname.com/mynewadminname/index.php.

    This correct path (which works when I type it manually) appears only for 1 second, and then switch to my old path,

    mydomainname.com/ecommerce/admin/index.php
    (which is no longer valid since I renamed "admin")

    and of course I am logging onto the hostgator error page.

    Any idea ??
    Virginie
    www.AHeartForTheEarth.com - Jewelry Design
    Act as if what you do makes a difference. It does. ~William James

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

    Default Re: desktop shortcut not working after renaming admin folder

    Check the /your_admin_dir/includes/configure.php file, on the server, and ensure that your changes have been made correctly for the new path to your /admin to your new /your_admin_dir ...

    Be aware that files set to 444 on the server cannot be overwritten via FTP until changed to at least 644 ...

    Check your .htaccess file to see if there is some type of rewrite from one address to another or for error pages etc.

    NOTE: If you can manually enter the URL into the browser and your admin works, then delete the icon on the desktop ... manually enter the URL to your admin into your browser and login ... click the link Admin Home 3 times and ensure you do not see the zenAdminID in the URL and then drag the URL to your desktop ...
    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!]
    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!

  3. #3
    Join Date
    Oct 2008
    Location
    Rochester Hills, MI
    Posts
    66
    Plugin Contributions
    0

    Default Re: desktop shortcut not working after renaming admin folder

    Quote Originally Posted by Ajeh View Post
    Check the /your_admin_dir/includes/configure.php file, on the server, and ensure that your changes have been made correctly for the new path to your /admin to your new /your_admin_dir ...
    Done that. It looked OK. So it looks like that:

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

    and:

    define('DIR_FS_ADMIN', '/home/my_store/public_html/my_admin_name/');
    define('DIR_FS_CATALOG', '/home/my_store/public_html/');

    Quote Originally Posted by Ajeh View Post
    Check your .htaccess file to see if there is some type of rewrite from one address to another or for error pages etc.
    What is the .htaccess file ?

    Quote Originally Posted by Ajeh View Post
    NOTE: If you can manually enter the URL into the browser and your admin works, then delete the icon on the desktop ... manually enter the URL to your admin into your browser and login ... click the link Admin Home 3 times and ensure you do not see the zenAdminID in the URL and then drag the URL to your desktop ...
    Tried that... did not work...
    Virginie
    www.AHeartForTheEarth.com - Jewelry Design
    Act as if what you do makes a difference. It does. ~William James

  4. #4
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: desktop shortcut not working after renaming admin folder

    If going to the URL of your renamed admin takes you to the login URL for your *old* admin, then whatever changes you attempted to make to your /admin/includes/configure.php file DID NOT SAVE properly on the server.
    Since that file is normally read-only, you MUST make it writable before your changes will save or upload. Naturally, make it read-only again when finished editing.
    .
    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.

  5. #5
    Join Date
    Oct 2008
    Location
    Rochester Hills, MI
    Posts
    66
    Plugin Contributions
    0

    Default Re: desktop shortcut not working after renaming admin folder

    Yes, I got you. But this part was done too.
    I changed the permission to the configure.php to "write", made the changes (change "admin" to "my_new_admin" name) and changed the permission to 644, or 444. The changes are in, but still no result.

    Of course, the file name is also called "my_new_admin" instead of "admin".

    What is weird too is that my last URL was:
    http://aheartfortheearth.com/ecommerce/admin/index.php
    and now, the URL that works is :
    http://aheartfortheearth.com/my_new_admin/index.php
    i.e. without /ecommerce / which, by the way, I did not delete this word anywhere.

    Would there be something to change too on my Hostgator provider ?

    Thanks
    Virginie
    www.AHeartForTheEarth.com - Jewelry Design
    Act as if what you do makes a difference. It does. ~William James

  6. #6
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: desktop shortcut not working after renaming admin folder

    Why do you still have an /ecommerce/ folder then?
    http://www.aheartfortheearth.com/ecommerce/
    .
    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.

  7. #7
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: desktop shortcut not working after renaming admin folder

    Quote Originally Posted by AHeartForTheEarth View Post
    Would there be something to change too on my Hostgator provider ?
    Only if you or they have made some server-side configuration changes to do specific redirects of your new admin URL to the /ecommerce/ folder. Those are usually done manually in .htaccess.
    You may need to ask *them* about that part.
    .
    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.

  8. #8
    Join Date
    Oct 2008
    Location
    Rochester Hills, MI
    Posts
    66
    Plugin Contributions
    0

    Default Re: desktop shortcut not working after renaming admin folder

    Quote Originally Posted by DrByte View Post
    Why do you still have an /ecommerce/ folder then?
    http://www.aheartfortheearth.com/ecommerce/
    I don't ! Do I ?
    Well, obviously I do if the links works... But I don't know where... ?
    There is one ecommerce folder under public_html but it is empty...
    Virginie
    www.AHeartForTheEarth.com - Jewelry Design
    Act as if what you do makes a difference. It does. ~William James

  9. #9
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: desktop shortcut not working after renaming admin folder

    Right. So, if you don't intend to use it, you should delete it.

    That's not the root of your problem, but does confuse things somewhat.
    .
    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.

  10. #10
    Join Date
    Oct 2008
    Location
    Rochester Hills, MI
    Posts
    66
    Plugin Contributions
    0

    Default Re: desktop shortcut not working after renaming admin folder

    That file is no more. Dead.
    Virginie
    www.AHeartForTheEarth.com - Jewelry Design
    Act as if what you do makes a difference. It does. ~William James

 

 

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. blank page after renaming admin folder
    By gbengoose in forum Basic Configuration
    Replies: 10
    Last Post: 10 Nov 2010, 09:54 AM
  3. Can not access Admin anymore after renaming the folder
    By krystalplayer in forum Customization from the Admin
    Replies: 1
    Last Post: 13 Feb 2010, 11:45 AM
  4. 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

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