Forums / Installing on a Windows Server / Difficulty logging into admin

Difficulty logging into admin

Locked

Started by dravekx on 24 Jan 2008, 8:38 AM · Views: 1,573

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
24 Jan 2008, 8:38 AM
#1
dravekx avatar

dravekx

New Zenner

Join Date:
Jan 2008
Posts:
23
Plugin Contributions:
0

Difficulty logging into admin

Ive deleted and reinstalled everything about 5 times and still cant login to the ADMIN section...it just looks at me stupid and refreshes the screen. Any ideas on this?

24 Jan 2008, 10:27 AM
#2
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Difficulty logging into admin

We'll need a bit more to go on.

What did you delete and re-install - do you mean you ftp'd the whole software package up to your server again?

Is it just the admin section that won't display?

Does your website (customer side) display?

Can you navigate the customer-side site?

What is your website URL? Can we see it?

20 years a Zencart User

24 Jan 2008, 4:59 PM
#3
dravekx avatar

dravekx

New Zenner

Join Date:
Jan 2008
Posts:
23
Plugin Contributions:
0

Re: Difficulty logging into admin

schoolboy:

We'll need a bit more to go on.
What did you delete and re-install - do you mean you ftp'd the whole software package up to your server again?
Is it just the admin section that won't display?
Does your website (customer side) display?
Can you navigate the customer-side site?
What is your website URL? Can we see it?

Im typing from the server, so there's no FTP uploading involved.
The admin section displays.
The customer side displays without loading the stylesheet.css.
I can navigate the customer side, but its difficult without the css. lol.

http://www.fppl.net/store

The problem: When i get to the admin screen, I can type my name and password. When I click LOGIN, it does nothing but blink at me and sit there.

24 Jan 2008, 11:17 PM
#4
rhondab avatar

rhondab

New Zenner

Join Date:
Sep 2005
Posts:
17
Plugin Contributions:
0

Re: Difficulty logging into admin

I am having the same problem!

The only way I can get past this is to clear internet temp. files (cache) and cookies and "SOMETIMES" I can get in. My client can't get in at all even after doing that!

Surely there is something we can do about getting into the admin area without so much difficulty every single time.

Can anyone help?

Rhonda

24 Jan 2008, 11:57 PM
#5
rhondab avatar

rhondab

New Zenner

Join Date:
Sep 2005
Posts:
17
Plugin Contributions:
0

Re: Difficulty logging into admin

rhondab:

I am having the same problem!

The only way I can get past this is to clear internet temp. files (cache) and cookies and "SOMETIMES" I can get in. My client can't get in at all even after doing that!

Surely there is something we can do about getting into the admin area without so much difficulty every single time.

Can anyone help?

Rhonda

I "think" this worked! I have a few people testing for me:

It seems that logging into the admin pages with zen-cart-1.3.7.1 using PHP-4.3.2 is broken. After entering the correct login/passwd, it will just return back to the login page.

The issue has to do with the call to session_regenerate_id() from zen_session_recreate() in includes/functions/sessions.php (which is called from admin/login.php).

According to the php documentation for php, "Version 4.3.3: Since then, if session cookies are enabled, use of session_regenerate_id() will also submit a new session cookie with the new session id." See the documentation here:

<http://us.php.net/manual/en/function...enerate-id.php>

That means that 4.3.2 does not submit a new session cookie with the new session id.

The fix provided by buraks78 in the comments in the link above seems to address the issue and fix the zen-cart login to the admin page.

(original post):
http://www.zen-cart.com/forum/showpost.php?p=411708&postcount=29

Rhonda