Page 4 of 5 FirstFirst ... 2345 LastLast
Results 31 to 40 of 45
  1. #31
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: Problem renaming admin folder - zen cart 1.38a

    Without putting login.php, you're basically putting index.php, like this: www.my_domain.com/shop/my_admin/index.php ... which is the same place that the login.php will redirect you to after you've succesfully authenticated your login in login.php

    "really slow" sounds really odd, and should have no bearing on the rename.
    .
    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.

  2. #32
    Join Date
    Jan 2010
    Posts
    90
    Plugin Contributions
    0

    Default Re: Problem renaming admin folder - zen cart 1.38a

    [QUOTE=daltonkost;857906]
    Hi DrByte...... I am sure that was posted on this thread #11 to change to this so that is why that is the way it is/QUOTE]

    Obviously, the guy who wrote post 11 is an idiot, and whose advice should never be followed by anyone at any time.

    Seriously, sorry to have added to your frustrations by leading you astray. You did however have /shop/ in an earlier, failed attempt.

    Hope you post how you fixed it so we can all learn how.

    Good Luck
    Dalton
    Hey Dalton,

    No bad blood mate, sorry if it came across that I was blaming you for suggesting what you put on your post..... not the case as you were trying to help me so I thank you for that.

    I have back ups anyway so no big deal, ;-)
    Last edited by Jay76; 16 Mar 2010 at 11:41 PM.

  3. #33
    Join Date
    Jan 2010
    Posts
    90
    Plugin Contributions
    0

    Default Re: Problem renaming admin folder - zen cart 1.38a

    Quote Originally Posted by DrByte View Post
    Without putting login.php, you're basically putting index.php, like this: www.my_domain.com/shop/my_admin/index.php ... which is the same place that the login.php will redirect you to after you've succesfully authenticated your login in login.php

    "really slow" sounds really odd, and should have no bearing on the rename.
    Just feels like I am on dial up to get into the admin now, was really fast before and was on the old admin named folder?? strange

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

    Default Re: Problem renaming admin folder - zen cart 1.38a

    Okay, I just did this for myself fresh, with the https://www.zen-cart.com/tutorials/index.php?article=33 FAQ as a guide:

    1. Unzip a clean copy of v1.3.8a to my PC.
    2. Upload all the files to a new folder on my server: ****/public_html/teststore/ (so, that gives me an admin folder of "/teststore/admin/", similar to your "/shop/admin/")
    3. Run zc_install, and set it all up (setting permissions etc as instructed).
    4. Test my admin login in the /teststore/admin/ folder so I know it works.
    5. Use my FTP program to download the new /teststore/admin/includes/configure.php file to my PC.
    6. Use Notepad++ to change the 3 references to "admin" to "myadmin" (so they now look like "/teststore/myadmin/" etc), as the FAQ says
    7. Save the changes to my PC
    8. Upload the changes back to the server.
    9. Use my FTP program to rename my "admin" folder to "myadmin"
    10. Visit www.my_domain.com/teststore/myadmin ... and it brings me to my login page. I enter the admin username/pwd, and it logs me in and takes me to my admin home screen.
    .
    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. #35
    Join Date
    Oct 2009
    Location
    Smack in the Middle
    Posts
    131
    Plugin Contributions
    0

    Default Re: Problem renaming admin folder - zen cart 1.38a

    Jay76

    I didn't take as bad blood, nor that you were laying blame, just felt bad I gave you poor advice.

    Obviously, the guy who wrote post 11 is an idiot, and whose advice should never be followed by anyone at any time
    Just joking around.

    Glad things are coming together

    Dalton
    Skin that 'un pilgrim, and I'll bring ya' another.
    Running 1.3.9h with a few mods here

  6. #36
    Join Date
    Jan 2010
    Posts
    90
    Plugin Contributions
    0

    Default Re: Problem renaming admin folder - zen cart 1.38a

    and even without using login.php on the end?

    Mine just brings up an error which I dont know why?

    but yours works straight off

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

    Default Re: Problem renaming admin folder - zen cart 1.38a

    What if you put index.php instead of login.php? Does that give you the error too?

    And in both cases, the redirect will be visible in your browser URL address bar. What's it changing to? (before it jumps to your /shop/page_not_found.php)
    .
    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. #38
    Join Date
    Jan 2010
    Posts
    90
    Plugin Contributions
    0

    Default Re: Problem renaming admin folder - zen cart 1.38a

    by putting shop/my_admin it just brings up the error 404 page not found as before.

    By putting the full path shop/my_admin/index.php it changes the last part to login.php and loads slowly.

    Really strange, works on the full path but something not right still

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

    Default Re: Problem renaming admin folder - zen cart 1.38a

    Your webserver errorlog may tell you the actual cause of the 404 error (ie: the file/path it's looking for but cannot find). You should be able to access that in cPanel under something like "apache error log".

    I've no idea why it's so slow though. Is it slow to load the login page, or slow to switch from login page to next page? And once it gets TO the next page, does it go along fine in something like orders or products pages? If so, then it could be that your server is having trouble connecting to the Zen Cart server to check for latest version details. https://www.zen-cart.com/tutorials/index.php?article=81
    .
    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. #40
    Join Date
    Jan 2010
    Posts
    90
    Plugin Contributions
    0

    Default Re: Problem renaming admin folder - zen cart 1.38a

    yes I will check that out, once in the admin area it is fine.... I am now having access issues to the server through ftp and Cpanel on the shop so maybe you are on the ball with this

 

 
Page 4 of 5 FirstFirst ... 2345 LastLast

Similar Threads

  1. Problem with renaming Admin folder
    By TzuLady in forum Upgrading from 1.3.x to 1.3.9
    Replies: 7
    Last Post: 21 Apr 2010, 06:19 AM
  2. Renaming ADMIN folder?
    By kenny724 in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 13 Feb 2010, 05:02 PM
  3. renaming admin folder
    By pcdesigns in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 10 Jun 2008, 08:41 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