Zen Cart Logo
Forums / General Questions / Can't login to admin

Can't login to admin

Locked

Views: 50,598

Results 81 to 100 of 165
This thread is locked. New replies are disabled.
16 Jan 2008, 6:48 AM
#81
anduril3019 avatar

anduril3019

New Zenner

Join Date:
Dec 2006
Posts:
42
Plugin Contributions:
0

Can't login to admin

Just wanted to add something to this thread. I have been trying to login all day, trying various mods and settings suggested, reinstalling, re-uplaoding, etc.. I finally tried uploading with a different ftp client and the install worked flawless after that, logged in first try. I am on a Mac and was using RBrowser for ftp, when I switched to Fetch , no problems. I know this won't fix everyones problem, but it is worth a try for those of you that can't seem to get it working.

16 Jan 2008, 8:42 AM
#82
robb58 avatar

robb58

New Zenner

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

Re: Can't login to admin

I had the same thoughts so I cleared the cache/cookies and typed in the passwords rather than trust it to the auto complete :huh:

16 Jan 2008, 12:36 PM
#83
robb58 avatar

robb58

New Zenner

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

Re: Can't login to admin

I just tried the admin log in on a different machine using IE (6) and it works fine, so I guess it must be a caching problem

23 Jan 2008, 6:17 AM
#84
technoswiss avatar

technoswiss

New Zenner

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

Re: Can't login to admin

Well I'm afraid I also suffer from the problem where the admin login returns me to the login page.

My web host is using PHP4.3.2, getting them to upgrade doesn't seem to be an option. :(
Possibly insult to injury, my host also runs PHP in cgi mode on a Linux host.
I just installed 1.3.8a (and reinstalled).

I tried

beerdawg:

Basically, add this directly after the call to session_regenerate_id() in includes/functions/sessions.php:

if(!version_compare(phpversion(),"4.3.3",">=")){
setcookie(
session_name(),
session_id(),
ini_get("session.cookie_lifetime"),
"/"
);
}


no change.

I then tried the reinstall, no luck there.

After that I tried

> **DrByte:**
>
> create a new file, at /animal/catalog/admin/includes/local ... named configure.php
> put only the following in it:```
<?php [B]// These are for DEBUG ONLY - not for a live shop[/B]
define('SESSION_RECREATE', 'False');

What happens when you attempt admin login ?

using my path information, and that worked like a charm. Now I can get into my admin area.

So, my question is, since DrByte goes to length to specify this is for debug only, what does this mean? And also, how would I non-debug fix this?

Thanks

23 Jan 2008, 9:13 AM
#85
robb58 avatar

robb58

New Zenner

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

Re: Can't login to admin

I'm now able to get into admin without a problem, but I've got to admit to being a bit concerned about the amount of dificulty experienced by people on new installs. ZenCart is an amazing package and knocks the spots off many commercial packages - I'll freely admit that ZenCart would be my first choice over them, but the log in problems do make me a bit wary of creating new storefronts with it. :huh:

The admin panel log in is obviously a major problem and I nearly gave up on the package before I'd even started, but once in, I'm a total convert. It's an issue that needs to be addressed and, if this frusting glitch could be resolved for the next release, it would save a whole heap of stress for a lot of people :D

23 Jan 2008, 7:34 PM
#86
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,843
Plugin Contributions:
17

Re: Can't login to admin

The admin panel log in is obviously a major problem and I nearly gave up on the package before I'd even started, but once in, I'm a total convert. It's an issue that needs to be addressed and, if this frusting glitch could be resolved for the next release, it would save a whole heap of stress for a lot of peopleFantastico on Hostgator is fine IF you give it the right info on install. When we see the cart work and not the admin, it's generally that you entered yes for ssl when none existed, that a typo occurred somewhere in the admin config file, or an admin specific file is missing.

We are also seeing that the "fly by night" hosting companies will need to "keep up" with Zen's transition into current PHP and MySQL versions rather than Zen adjust to them.

You yourself said that the 1.3.8a install problem was a cache problem with IE. Imagine that, IE with a problem! They'll of course fix it with the next release.

There are almost 50,000 registered Zen forum members. No telling how many lurkers have come to find an answer. Some hosts will boast about guaranteeing 99% uptime for your site. Sounds great till you put it in perspective and find that your site could be down for over 3 days a year! Extrapolating those figures in an attempt to represent installation failures, I doubt that 5,000 of the registered forum users have been unable to get the cart working and point the actual reason to Zen' installation.

My main reason for jumping in here is not to don my white night suit for Zen (well maybe a little) but to remind the lurkers and those with installation problems that involve either only the cart or only the admin, that they need to recheck BOTH config files for accuracy. Learn to search by keywords. Help is not instantaneous but, it IS there in tutorials, the wiki, the DOCS folder, and this forum.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

7 Feb 2008, 6:12 AM
#87
aeolidia avatar

aeolidia

Zen Follower

Join Date:
Mar 2005
Posts:
166
Plugin Contributions:
0

Re: Can't login to admin

Me too! My client just wrote me with this same problem. When we try to log in to the admin tonight, the page just refreshes.

I tried this in Firefox, then cleared my sessions, cache, and cookies, and it still didn't work. Then I tried it in IE - exact same thing, and I've never logged into her site using IE before. I also tried turning off SSL for the admin.

The strangest thing is that we set this site up in 2006 and haven't made any changes to it. It just stopped allowing login a few hours ago. Perhaps a change by our host to our server?

Zen Cart: 1.2.7
PHP version: 4.4.7

Any ideas?

I just noticed that the customer side of the site isn't working either - we can't add anything to our carts! If you click the add to cart button, it takes you to the cart page, with the message "your cart is empty!"

7 Feb 2008, 6:43 AM
#88
drbyte avatar

drbyte

Sensei

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

Re: Can't login to admin

aeolidia:

Me too! My client just wrote me with this same problem. When we try to log in to the admin tonight, the page just refreshes.

I tried this in Firefox, then cleared my sessions, cache, and cookies, and it still didn't work. Then I tried it in IE - exact same thing, and I've never logged into her site using IE before. I also tried turning off SSL for the admin.

The strangest thing is that we set this site up in 2006 and haven't made any changes to it. It just stopped allowing login a few hours ago. Perhaps a change by our host to our server?

Zen Cart: 1.2.7
PHP version: 4.4.7

Any ideas?

I just noticed that the customer side of the site isn't working either - we can't add anything to our carts! If you click the add to cart button, it takes you to the cart page, with the message "your cart is empty!"

That means that either your server's PHP configuration isn't allowing you to use "sessions", or your site's ability to set a session cookie in your browser is broken.

You need to talk to your hosting company about it.

As an aside, keep in mind that the webhosting industry is quickly changing to run PHP 5.2 minimum. Zen Cart v1.2.7 is not compatible with PHP 5. You should plan for an upgrade very soon.

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

7 Feb 2008, 4:38 PM
#89
glitterlisa avatar

glitterlisa

New Zenner

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

Re: Can't login to admin

I was having the same problem as the above poster - also hosted with Dreamhost.

Dreamhost has fixed the issue. Here is their answer as to what the problem was:

Hello,

Sorry for the delay in responding to your support request. We experienced a heavy volume of
support the past several of days.
Our entire staff are working hard towards getting the support queue under control.

The downtime that you experienced was caused by a issue in the PHP 4 config file preventing some
POST data from being sent. We have tracked the issue down and configs ran on all machines that are
effected. If you still notice any sites having issues with this problem please contact support
again with the specific domain details. We sincerely apologize for the inconvenience the downtime
has caused.

    Thanks!
    DreamHost Support
7 Feb 2008, 7:39 PM
#90
technoswiss avatar

technoswiss

New Zenner

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

Re: Can't login to admin

Found my problem.... :blush:

Basically, add this directly after the call to session_regenerate_id() in includes/functions/sessions.php

There are actually 2 calls to session_regenerate_id()

beerdawgs post states you need to make the changes after the call in the zen_session_recreate() function, I'd missed that part and made the changes after the first session_regenerate_id() I'd found which was in the other function.

Works like a charm now, thanks.

24 Feb 2008, 7:17 PM
#91
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Can't login to admin

DrByte, this call appears twice in that file, should I add the code fix after both places?

I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

19 Mar 2008, 2:32 PM
#92
jenny_lisa1 avatar

jenny_lisa1

New Zenner

Join Date:
Mar 2008
Posts:
19
Plugin Contributions:
0

Re: Can't login to admin

I have the same problem. After I install the zen card, I try to log in, it says wrong passwords or user name, then I ask for resent password. I have wait for a few hours, still didn't get a new password.
Do you have a way to reset password or other better way? I really don't want to re-install the card.
Thanks

:clap:

20 Mar 2008, 6:24 AM
#93
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,843
Plugin Contributions:
17

Re: Can't login to admin

head over to tutorials/faq and enter reset password

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

11 Apr 2008, 2:55 AM
#94
krush avatar

krush

New Zenner

Join Date:
Mar 2008
Posts:
8
Plugin Contributions:
0

Re: Can't login to admin

i m having the same problem.

actually, 2 problems.

**1. session.auto_start() enabled problem.. **

  • i still cannot fix it ..and dunno what to do and how to disable it
    2. admin log in problem
  • i m using the latest zen version and hosting server uses PHP ver 4.4.2 but cannot log in to admin

it worked fine for the 1st day and the next day session auto start problem occurred and now i found that i cannot log in to admin too.

i attached the phpinfo

14 Oct 2008, 1:07 PM
#95
booblla avatar

booblla

New Zenner

Join Date:
Oct 2008
Posts:
3
Plugin Contributions:
0

Re: Can't login to admin

TechnoSwiss:

Found my problem.... :blush:

Basically, add this directly after the call to session_regenerate_id() in includes/functions/sessions.php

There are actually 2 calls to session_regenerate_id()

beerdawgs post states you need to make the changes after the call in the zen_session_recreate() function, I'd missed that part and made the changes after the first session_regenerate_id() I'd found which was in the other function.

Works like a charm now, thanks.

Can someone please post the full file with the fix inserted.

I have tried doing it myself but it's not working, because I think I'm putting it in the wrong place.

I searched the file for session_regenerate_id() and it appears 3 times in the sessions.php file and I just shoved the code directly under each entry.

Was that the correct place to insert it, or did I just :censored: it up again?

14 Oct 2008, 4:52 PM
#96
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,843
Plugin Contributions:
17

Re: Can't login to admin

Just because you found this post does not mean it applies to your situation.

What version of Zen, PHP, MySQL, etc would be helpful. New installation, happened all of a sudden, etc.?

Tried the tutorial for resetting password?

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

15 Oct 2008, 4:06 AM
#97
booblla avatar

booblla

New Zenner

Join Date:
Oct 2008
Posts:
3
Plugin Contributions:
0

Re: Can't login to admin

dbltoe:

Just because you found this post does not mean it applies to your situation.

What version of Zen, PHP, MySQL, etc would be helpful. New installation, happened all of a sudden, etc.?

Tried the tutorial for resetting password?

I can login to the admin area but as soon as I click on any link in the admin area it boots me out back to the login page. Which to me screams session issue.

All was working until my hosting company installed patches to everything I'm assuming.

It's a fresh install.

My version details are:
Zen - 1.3.8a
Apache 2.0.63
PHP - 5.2.6
MySQL - 5.0.51a-community

When I installed Zen all the server settings where correct (All green ticks)

15 Oct 2008, 5:09 AM
#98
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,843
Plugin Contributions:
17

Re: Can't login to admin

All was working until my hosting company installed patches to everything I'm assuming.
If you don't have something strange in your .htaccess file, I'd be speaking with the host.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

15 Oct 2008, 4:51 PM
#99
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Can't login to admin

If testing in IE ... could you test in FireFox?

If testing in FireFox ... could you test in IE?

Have you ever logged into the Zen Cart Admin without looping out after the first click?

If you close your browser window(s) and clear your cookies for your site, does it work now?

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

17 Oct 2008, 11:47 AM
#100
booblla avatar

booblla

New Zenner

Join Date:
Oct 2008
Posts:
3
Plugin Contributions:
0

Re: Can't login to admin

Ajeh:

If testing in IE ... could you test in FireFox?

If testing in FireFox ... could you test in IE?

Have you ever logged into the Zen Cart Admin without looping out after the first click?

If you close your browser window(s) and clear your cookies for your site, does it work now?

I have contacted my host and they said they could login fine so I tried again and it worked... for half a day before it stopped working again.

I have tried clearing everything from my browsers and it still didn't work.

I have tried it in the latest versions of Firefox, IE & Chrome and none of them work.

Does anyone else have any other ideas or am I just :frusty:?