Welcome to Geeklog Wednesday, December 08 2021 @ 10:46 pm EST

Geeklog Forums

account disabled.........AGAIN?!

Page navigation


amchaos

Anonymous
does anyone know why i keep getting disabled from my admin account? I know how to undisable it. but after being disabled 3 days in a row, I'm getting a big frustrated. is it something to do with how the accounts are configured?

and i find that only the 'admin' accounts get disabled. normal user accounts arn't. any ideas why?
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 12/01/02
Posts: 13073
Location:Stuttgart, Germany
Which theme are you using? And did you edit your Admin account's information before that happened?

bye, Dirk
 Quote

amchaos

Anonymous
I custom created my own theme. and no, i didn't edit any admin info before it happened
 Quote

Status: offline

bjudson

Forum User
Junior
Registered: 01/01/04
Posts: 34
Quote by amchaos: I custom created my own theme. and no, i didn't edit any admin info before it happened


So your frustrated. That is understandable, but you are making it impossible for anyone to be able to HELP you!
Give some details, what version of Geeklog are you running, how long has it been running, what did you base your customizations off of? Did you build from scratch or did you copy from professional or another theme? Do you have exclusive use of your box? does anyone else use your admin account? Do you have any plugins installed that are not part of the default installation? Which ones? Which versions?

Give us something to work with. As a rule people do not get locked out of their admin accounts, so something is not right with your installation or your theme or your plugins, or your security or something!

-Astrogen
 Quote

amchaos

Anonymous
ok. sorry. I guess I was just a bit too over-stressed about it. you're right. I should give more info.

I'm currently using version 1.4.0sr1 (yes. i know it's slightly outdated. I will be upgrading soon). I've been running that version for about 1 month now and everything was fine. just started locking me out lately, that's all. As for the theme, I built it from another theme. I am using the root admin, as in, the admin account that was set up when I first installed geeklog. I also installed some plugins such as forum, image gallery, file management, and am using the latest versions. But it was all sucessfully installed and worked fine.

After the 3rd time that I go locked out and I unlocked myself, things have been fine so far. I haven't been locked out since. So I was just thinking that it was weird, coz it had never happened before in the past. Everything was fine until that sudden glitch or something. Now everything is fine again.

Anyway, thanx to all who responded. Smile
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 12/01/02
Posts: 13073
Location:Stuttgart, Germany
A change in the user status will only happen when you edit your own or someone else's account information. There may be a problem here when your theme is based on an old, pre-1.4.0 theme, as the user status was only introduced in 1.4.0 - haven't had the time to look into it.

So you may want to replace the contents of the admin/user directory of your theme with the file from the 1.4.0 Professional theme.

If that doesn't help and it happens again, retrace your steps and tell us what you did before you were locked out again.

bye, Dirk
 Quote

Status: offline

tgc

Forum User
Regular Poster
Registered: 15/03/06
Posts: 82
I am experiencing the same problems. I installed 1.4.1 cvs and 1.40sr2 (to check). I installed a couple of plugins (forum, mediagallery, chatterbox, gus, filemanagment, etc.). After clicking around a couple of times (with the original professional theme) I get sort of logged out, too. When I click on some menus, I might get back the admin status, sometime I get the message in red (is loggod, bla bla).
The easiest is a "forceed refresh" (command shift R on the Mac in Firefox and Camino Browsers). I checked in Windows 98 with explorer, there I can't do that and won't be able to get back in.
I also set up some users and the weird thing here is that I log on as one user, go to a different browser, log in as another user, but I will get into the account of user 1.
I am working on a couple of gl 1.3.11 installations simultaniously in different browsers but that never happend.
I experienced this problem also sometimes when I login on the geeklog.net site and on portalparts. But I would never get logged out, I only could not log on and had to do the forced refresh.
I checked all the possible cookie settings in config.php but that doesn't help either.
I noticed that that in order to install forum 2.5.rc1 (chatterbox, weather) I need to turn on register_globals, once it is installed I can turn it off again. But I am suspecting right now that it has something to do with the forum. (?)
I am playing around with 1.4 quite a while (keyword playing) and thought that it's time to update but after these problems I am still a bit reluctant...

Thanks for listening/Frank
 Quote

Status: offline

tgc

Forum User
Regular Poster
Registered: 15/03/06
Posts: 82
another observation. when I put in the username and password to log on and click "Login" nothing happens even how many times I click. But when I continue clicking on Home or on some other menu items I can get in...
 Quote

firex

Anonymous
accounts disabled for me too :-(
i use 1.4.0sr3. status in gl_users going to 0.
i don't know why.
i use my own theme created for 1.3.11 (some parts i copy from professional 1.4.0 )
 Quote

firex

Anonymous
i find something. the account will be disabled if you as admin edit users profile by user with cookietimeout=0 if user have something else as 0 in cookietimeout so the status will be not changed.

can somebody approve this?

i search bug in the time by myself.
 Quote

firex

Anonymous
i found it. the function "saveusers" in admin/user.php
the $userstatus is empty so DB set status to zero.
i changed the line
PHP Formatted Code

DB_query("UPDATE {$_TABLES['users']} SET username = '$username', fullname = '$fullname', passwd = '$passwd', email = '$email', homepage = '$homepage', photo = '$curphoto', status='$userstatus'  WHERE uid = $uid");

 

to
PHP Formatted Code

            if (empty($userstatus)){
                DB_query("UPDATE {$_TABLES['users']} SET username = '$username', fullname = '$fullname', passwd = '$passwd', email = '$email', homepage = '$homepage', photo = '$curphoto'  WHERE uid = $uid");
            }else{
                DB_query("UPDATE {$_TABLES['users']} SET username = '$username', fullname = '$fullname', passwd = '$passwd', email = '$email', homepage = '$homepage', photo = '$curphoto', status='$userstatus'  WHERE uid = $uid");
            }    

 

it fix the problem for me at the moment
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 12/01/02
Posts: 13073
Location:Stuttgart, Germany
This only goes to show that your theme was not up to date, as mentioned already a few posts above.

I'd suggest you remove the entire "admin" directory of your custom theme and replace it with the one from the Professional theme. Then go through the list of changes to see what else has changed.

bye, Dirk
 Quote

Status: offline

firex

Forum User
Newbie
Registered: 07/06/06
Posts: 2
you are right, but the same problem with the cookietimeout. and it don't help to update the edituser.thtml !!!

cookietimeout will be reset if i edit the user!
 Quote

Status: offline

firex

Forum User
Newbie
Registered: 07/06/06
Posts: 2
i did completly update theme but the cookietimeout sill be reset after edit of user profile :-(
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 12/01/02
Posts: 13073
Location:Stuttgart, Germany
What exactly is the problem with the cookie timeout? What do you mean by "reset"?

bye, Dirk
 Quote

Status: offline

tgc

Forum User
Regular Poster
Registered: 15/03/06
Posts: 82
I still have this issue with geeklog 1.4 (1.4.0sr3). I as an admin and user keep on getting logged out after a while of clicking around or refreshing.
I never had this problem with 1.3.11. I looked in the config files of both and they are basically identical regarding the cookie setting. I also copied the 2 extra lines which are in 1.3.11
PHP Formatted Code
$_CONF['cookie_lastvisit']              = 'LastVisit';
$_CONF['cookie_lastvisittemp']          = 'LastVisitTemp';
 

in the config of 1.4. First I thought that helped but it didn't. I also looked for white space in lib-common and lib-custom, there was one extra empty line which I took out but it didn't solve my problem either.
This issue is still holding me back to change to 1.4 for good. The problem is not as bad as it used to be because at least the users are not getting mixed up anymore.

Any more ideas?

Frank
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 12/01/02
Posts: 13073
Location:Stuttgart, Germany
Check your setting for "remember me for ..." in your preferences. If it says "never" it means that you will only be recognized until the session expires.

The "lastvisit" cookie isn't used in Geeklog any more and has nothing to do with your problem.

bye, Dirk
 Quote

Status: offline

tgc

Forum User
Regular Poster
Registered: 15/03/06
Posts: 82
I have it set to one month. Sometimes I get logged out after 3 minutes and have to log on again. I have not seen a pattern yet as after how minutes or after what action I get logged out. Just doing regular work in the program like moving from block to home, refreshing, etc.

Frank
 Quote

Status: offline

tgc

Forum User
Regular Poster
Registered: 15/03/06
Posts: 82
without changing anything, my geeklog 1.4.0 sr3 is working fine now and I am not getting logged out all the time.
But I have another problem which will I post here. ...(Is the autolink feature not working in the forum, or what am I doing wrong?)

Frank
 Quote

Status: offline

Blaine

Forum User
Moderator
Registered: 16/07/02
Posts: 1232
Location:Canada
I corrected your autolink syntax for the link in the previous post. It's forum: not topic: to activate the forum autolink.
Geeklog components by PortalParts -- www.portalparts.com
 Quote

Page navigation

All times are EST. The time is now 10:46 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content