If this is your first visit, check our documentation. To post, register or login.
Forums / Configuring the Zen Cart Admin / Basic Configuration / URL Change Admin Login Not Directing Correctly

URL Change Admin Login Not Directing Correctly

Started by vieve on 5 Jun 2012, 3:35 PM · Views: 762

Results 1 to 4 of 4
5 Jun 2012, 3:35 PM
#1
vieve avatar

vieve

New Zenner

Join Date:
Jun 2012
Posts:
2
Plugin Contributions:
0

Post #1 by vieve

The URL of my store has changed. So I went into the two configure.php files and changed all of the HTTP_SERVER settings to go to the new domain name. The store seems to be working fine, but when I login to the admin section it takes me to the old URL. How do I fix that?

5 Jun 2012, 4:36 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #2 by drbyte

Sounds like your admin configure.php file hasn't been updated.
Remember, the configure.php files are read-only, so must be made non-read-only before you can save or upload changes.

.
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 Jun 2012, 6:15 PM
#3
vieve avatar

vieve

New Zenner

Join Date:
Jun 2012
Posts:
2
Plugin Contributions:
0

Post #3 by vieve

I updated both configure.php files. But I found another configure.php file in the admin section in the folder admin-->includes-->local. That was the file that was causing the problem. It was an exact duplicate of the configure file in the admin-->includes folder. I renamed it and that fixed the problem.

Now my question is, what is this file?:
admin-->includes-->local-->configure.php

Can I get rid of it so it doesn't cause me problems in the future?

6 Jun 2012, 4:12 AM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #4 by drbyte

The /admin/includes/local/configure.php file is intended for developer use only ... on their local/localhost PC.

Yes, you can (and should) safely delete that file from your live server.

.
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.