View Full Version : [fixed] Can't get into Control Panel after upgrade
Thomas P
Wed 6th Jun '01, 5:57pm
Hi,
it seems that I'm unable to get into the Control Panel after upgrading to 2.0.1
Upgrade went fine as far as I can say, board is running.
Admin can login into normal /forum but not into the /admin-part.
The admin-login page just reloads, showing the same login dialog again and again ...
Trying a wrong password shows the (correct) "wrong password" screen.
Any clues?
Thanks, :(
-Tom
Mike Sullivan
Wed 6th Jun '01, 6:37pm
I dunno what you upgraded from, so make sure you have track_vars enabled.
Then you might wanna try turning on browse with cookies and save your username in your options.
Thomas P
Wed 6th Jun '01, 7:30pm
Hi,
thanks for the fast answer.
track_vars are on (1) in my php3 config.
Browsing with cookies is on.
I closed all browsers and deleted all corresponding cookies and tried again - same effect.
I reuploaded /admin and /forum, maybe I forgot a file.
install.php and all upgradeX.php-files are deleted.
I upgraded from vB 2.0.0
I'm getting nervous by the time... :rolleyes:
Thanks for any hint,
-Tom :(
Black Tiger
Wed 6th Jun '01, 8:50pm
There is already a big topic about this. The solution is in there.
But it seems not everything is or can be read by the admins/developers.
I'm also cought with a bug and made a topic, I can't write admin messages to the "users awaiting email" group. But no answer still and I think it's a bug because upgrading to 2.01 did not help.:(
Anyway here is your solution for the time being.
Open a phpmyadmin session and to the following:
UPDATE user SET cookieuser=1
If that does not help, do this one after it:
UPDATE user SET nosessionhash=1
Then you should be able to access the CP again.
I wonder why this problem only occurs on the CP and only after upgrading to 2.01.
Nobody found the cause yet.
Thomas P
Thu 7th Jun '01, 4:05am
Open a phpmyadmin session and to the following:
UPDATE user SET cookieuser=1
Hi Black Tiger!
gee, thanks, that worked!!
Thanks a bunch for helping me out.
Hopefully someone can solve your problem...
cu around,
-Tom :)
P.S.: Funny, "remembering login" which is what the sql-command changes is a must in order to access the cp on my forum... BUG?
Black Tiger
Thu 7th Jun '01, 9:36am
Your welcome.
Seems to me to it's a bug, because in 2.0 there was no problem accessing the CP regardless of this setting.
In my case the problem appeared after upgrading to 2.01. However, regardless of this setting, I was able to access the board itself, so it looks like it only appears to cause problems in the admin section somewhere.
Mike Sullivan
Thu 7th Jun '01, 1:54pm
sessions.php, added code is in blue:
if (!$bbuserinfo['cookieuser'] and !$loginpassword) {
// the user doesn't want to automatically login with cookies, but the cookies are still around for some reason
$bbpassword = '';
}
Hooper
Thu 7th Jun '01, 2:51pm
Originally posted by Ed Sullivan
sessions.php, added code is in blue:
if (!$bbuserinfo['cookieuser'] and !$loginpassword) {
// the user doesn't want to automatically login with cookies, but the cookies are still around for some reason
$bbpassword = '';
}
This seems to have allowed me to upgrade from 2.0.0 to 2.0.1.
You must however login between the different upgrade functions (steps) each time.
Thomas P
Thu 7th Jun '01, 6:08pm
Originally posted by Ed Sullivan
sessions.php, added code is in blue:
if (!$bbuserinfo['cookieuser'] and !$loginpassword) {
(...)
Thanks Mike,
it works now with 'cookieuser' = 0, too
cu,
-Tom :)
Black Tiger
Thu 7th Jun '01, 7:40pm
Thanks Ed! I will add this code too.
poopiepants
Wed 13th Jun '01, 9:32pm
I installed 2.01 yesterday and I still can't get into my admin area. can somebody look at my info and tell me what's wrong. i see that you have fixed the bug. but I still can't get into the admin area.
Please help.
Maybe someone can look and my info and help me fix the problem.
Thomas P
Tue 19th Jun '01, 4:19am
Open a phpmyadmin session and to the following:
UPDATE user SET cookieuser=1
If that does not help, do this one after it:
UPDATE user SET nosessionhash=1
Have you tried the workaround from Black Tiger?
If this works you can modify sessions.php to get rid of the error...
cu,
-Tom
Black Tiger
Wed 20th Jun '01, 9:26pm
And check if the track_vars are enabled on the server.
[track_vars, not set-vars --Ed]
wpwood3
Sun 29th Jul '01, 6:40pm
Well, It's been a month since I last tried to upgrade from 1.x to 2.0. I am getting the SAME results. I cannot access CP. I have tried all of the tricks in this thread and still no joy.
HELP!!!
Mike Sullivan
Sun 29th Jul '01, 8:16pm
Can you post (or submit any other forms)? If not, then we need to enable track_vars. But I need to know your PHP version (I'd assume something in the 3 series) first.
wpwood3
Mon 30th Jul '01, 12:10am
This is a weird one...
My 1.x to 2.x upgrade (php3 version) acted like it was completing successfully but it was not. I reset my database back to 1.x six times and each time it would not complete the upgrade process without either bogging down or incorrectly saying it was complete when it really wasn't. I received a total of 180 vBulletin errors via e-mail during this whole process.
My solution?
I signed off my speedy DSL line and used my old 56K modem. The upgrade went perfectly via the modem.
Why? Who knows!
Powered by vBulletin™ Version 4.0.0 Beta 4 Copyright © 2009 vBulletin Solutions, Inc. All rights