FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » Admin Login bug
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Admin Login bug [message #160606] Sun, 04 October 2009 03:59 Go to next message
krbvroc1 is currently offline  krbvroc1   
Messages: 31
Registered: February 2005
Karma: 0
Member
For 2.8.1, I went into the admin control panel.

Under the Global Settings, Primary Forum Options,
I set 'Forum Enabled:' to No.

It tells me that the forums are offline, but I can login as an admin. The login as an admin fails and the apache error_log reports

PHP Notice: Undefined variable: new_sq in /var/www/html/xyz/forums/adm/admloginuser.php

I had to add the following line to adm/admloginuser.php

$GLOBALS['new_sq'] = regen_sq($id); # New line inserted
header('Location: '.$WWW_ROOT.'adm/index.php?S='.$sid.'&SQ='.$new_sq);

I found the above line in some other files. I wonder if someone forgot to add it to the admloginuser since that is not a commonly used path?
Re: Admin Login bug [message #160667 is a reply to message #160606] Sun, 11 October 2009 07:49 Go to previous message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
Patch was applied. Thank you so much!

PS: I hope we wil see many more code improvements from you in future.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Some bugs with NNTP on 3.0 RC 1
Next Topic: SMTP server issue
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat May 18 16:17:46 GMT 2024

Total time taken to generate the page: 2.11312 seconds