Results 1 to 10 of 10
  1. #1
    Join Date
    Jan 2011
    Location
    Texas, USA
    Posts
    171
    Plugin Contributions
    0

    Default made change now locked out of Admin

    I have changed my share IP address to a dedicated IP address and make changes in config.php now I cannot log into Admin.

    Should I do more in ip config.php?

    Before, on share ip my website was ipaddress/~myid, now on the dedicated ip it is only newipaddress so I change the ip in cinfig.php

    was I wrong to do this

    This is Urgent please.

    thank you
    Ivanna

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

    Default Re: made change now locked out of Admin

    Did you edit both includes/configure.php and YOUR_ADMIN_FOLDER_NAME/includes/configure.php ?

  3. #3
    Join Date
    Jan 2011
    Location
    Texas, USA
    Posts
    171
    Plugin Contributions
    0

    Default Re: made change now locked out of Admin

    thank you for replying Steve,
    yes I edited the IP address of both files.

    I have restored those files from backup so it is possible to get in but I do not know if there is something more I should change.

    I was in the process of changing the registrar information from godaddy so that this site will become the new live site.I tried to go back to Admin and found I could not.

  4. #4
    Join Date
    Jan 2011
    Location
    Texas, USA
    Posts
    171
    Plugin Contributions
    0

    Default Re: made change now locked out of Admin

    In /includes/config.php I changed

    define('HTTP_SERVER', 'http:new address')
    define('HTTPS_SERVER', 'https:new address')

    In MY_ADMIN/includes/config.php I changed

    define('HTTP_SERVER', 'http://new address');
    define('HTTPS_SERVER', 'https://new address')
    define('HTTP_CATALOG_SERVER', 'http://new address')
    define('HTTPS_CATALOG_SERVER', 'https:/new address')

    thank you
    Ivanna

  5. #5
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: made change now locked out of Admin

    You can't run a live store from just an IP address.

    But during testing, if you change your store's IP address, you'll need to clear your browser's cache & cookies. Maybe restart the browser too.
    .

    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.

  6. #6
    Join Date
    Jan 2011
    Location
    Texas, USA
    Posts
    171
    Plugin Contributions
    0

    Default Re: made change now locked out of Admin

    Hello DrByte,
    I am not running the store from an IP address. I think I am not very good with my explanation so I will try again and you will understand my situation much more.

    My client has a site that is live. It is with a different host on a different shopping cart.
    My client has no support with the host and wanted to move to somewhere with more support.

    My opportunity and my first client.

    I create a new site using zen cart and keeping the same name when the change is made.
    So I have a site where I use the IP address only so my client can see progress.
    I found that I had the folder structure wrong. So I change that.

    Then I learn that I must have a dedicated IP address, so I get one and now I must change IP address in config.php (2 files). Is this correct?

    Before I used ipaddress/~myid now I use only ipaddress.

    Also I am ready to move the domain from the old host to my host, so I go to the registrar (GoDaddy) and make the change. I then go to 2checkout to make changes there also.

    Now I go back to Admin and I cannot get in. Did I make config.php changes wrong? or is my Admin address now wrong. I kept the address the same except for the ip part.

    So now I return to my backup files and upload the backup config.php files. Now I can get to Admin.

    Here is my problem, I am in the middle of a domain change and config.php is set to the old share IP when it must be dedicated. If it is dedicated, I am locked out.

    How do I fix this please?

    I hope I have explained my situation better and you can help me. This is a desparate time for me.

    thank you
    Ivanna

  7. #7
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: made change now locked out of Admin

    If the ONLY thing the host changed was the IP address, then the ONLY thing you need to change in the configure.php files is the IP address.
    And then clear your browser cache and cookies.
    .

    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
    Jan 2011
    Location
    Texas, USA
    Posts
    171
    Plugin Contributions
    0

    Default Re: made change now locked out of Admin

    DrByte,
    I followed your instructions but still had the same problem. I then changed to ie9 and it works. Thank you.

    I think Firefox is not clearing the cache even so I did it several times. I have now cleared all cache using CCleaner and I think it is good.

    I think today I will uninstall then install Firefox again.

    Last night, I went through all my notes checking what I have done and could not find a fault. I think it must be the cache.

    thank you so much for helping me.

    Ivanna.

  9. #9
    Join Date
    Jan 2011
    Location
    Texas, USA
    Posts
    171
    Plugin Contributions
    0

    Default Re: made change now locked out of Admin

    I have just looked at configure.php again. The writing at the top says this:

    // Define the webserver and path parameters
    // Main webserver: eg-http://www.your_domain.com -
    // HTTP_SERVER is your Main webserver: eg-http://www.your_domain.com
    // HTTPS_SERVER is your Secure webserver: eg-https://www.your_domain.com
    // HTTP_CATALOG_SERVER is your Main webserver: eg-http://www.your_domain.com
    // HTTPS_CATALOG_SERVER is your Secure webserver: eg-https://www.your_domain.com

    Should I put the domain name in somewhere now that I am making the switch?

    As now I have everything defined with IP address

    thank you
    Ivanna

  10. #10
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: made change now locked out of Admin

    Yes. Replace the IP address with the domain name.
    .

    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.

 

 

Similar Threads

  1. I locked myself out of admin/can't change password HELP PLEASE!
    By sweetcheeks in forum General Questions
    Replies: 4
    Last Post: 11 Mar 2009, 04:06 AM
  2. I'm locked out of Admin
    By spaskinstyle in forum General Questions
    Replies: 1
    Last Post: 8 Oct 2008, 01:40 AM
  3. Locked out of admin?
    By bogie in forum General Questions
    Replies: 5
    Last Post: 27 Sep 2008, 09:42 PM
  4. I am locked out of my Admin
    By travel124 in forum Basic Configuration
    Replies: 0
    Last Post: 14 Apr 2008, 12:59 AM
  5. No email orders and now locked out
    By blind1 in forum General Questions
    Replies: 5
    Last Post: 20 Jul 2007, 03:51 AM

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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR