Forums / Basic Configuration / Unique admin login problem

Unique admin login problem

Locked

Started by atmh on 22 May 2006, 10:13 PM · Views: 2,099

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
22 May 2006, 10:13 PM
#1
atmh avatar

atmh

New Zenner

Join Date:
May 2006
Posts:
29
Plugin Contributions:
0

Unique admin login problem

I did some searching around and I THINK this is a unique problem...at least I couldn't find any info on it.

I've been setting up the store ( http://store.madhouseminis.com ) over the past week or so. I've also had another test store on a different server, I never had problems with the admin until now.

Reading through the wiki docs, and closing up all the security issues before going live within the next couple days, I was in the process of changing the /admin directory to something else, I will call it '/user' for this.

I initially had problems with the configure.php files in admin/includes and /includes because I had forgot to change the permissions. Ok, so I fixed that, good to go right? wrong.

I changed all the instances of '/admin/' to '/user/' and then changed the '/admin' directory to '/user'

Essentially, I followed the directions here: http://www.zen-cart.com/wiki/index.php/Important_Site_Security_Recommendations (section 1.3.3).

Now the store is working (check it at http://store.madhouseminis.com ) but when I try to go to the admin, by typing in http://store.madhouseminis.com/user it says it's "opening page" yet never does anything, and I literally mean it doesn't do anything at all, no error pages come up...nothing.

This leads me to believe at least my changes did make a difference, and I am typing the directory in correctly, but for some reason the code is not working properly. Your help would be greatly appreciated, thanks!

23 May 2006, 10:04 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Unique admin login problem

Can you post your configure.php code from your admin/includes ?

Copy it, paste it, then X out your new admin name & your username & password to the DB

Zen-Venom Get Bitten

23 May 2006, 2:04 PM
#3
atmh avatar

atmh

New Zenner

Join Date:
May 2006
Posts:
29
Plugin Contributions:
0

Re: Unique admin login problem

alright, I just tried it on a different computer, one with firefox instead of IE. I got an a error message that says: Redirection limit for this URL exceeded. Unable to load the requested page. This may be caused by cookies that are blocked.

so maybe I should empty out my cookies and try it again...

23 May 2006, 3:38 PM
#4
atmh avatar

atmh

New Zenner

Join Date:
May 2006
Posts:
29
Plugin Contributions:
0

Re: Unique admin login problem

I fixed it. And if anyone has this problem in the future, here is what I think went wrong:

I first found that I forgot to change one of the '/admin' to '/user', which fixed the hang up problem I was having...this is a stupid mistake, I know. I did change it a few times, but read back to the previous problem about forgetting to change the CHMOD, I guess I forgot to change it on the one that counted.

Anywho, after I did that I was having a parse error on line 46 of user/includes/configure.php

At this point I decided to just reload my backup, and start from scratch again, I got it to work. I found a problem while changing my backup which could have caused the parse error:
On line 27 and 29, where it is define(HTTPS_****...) I accidentally had a '/' at the end of the url because I did a copy/paste from my host. My assumption is that when zen-cart tried to use https it ended up being https://(secure_url)**//**directory/

So yeah, it's working now, I guess this is just another lesson as to why to quadruple check your synax if you're having a problem.

Thanks anyways, cobra!