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
Return to the default flat view Create a new topic Submit Reply
Admin Login bug [message #160606] Sun, 04 October 2009 03:59 Go to previous message
krbvroc1 is currently offline  krbvroc1   
Messages: 31
Registered: February 2005
Karma:
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?
[Message index]
 
Read Message
Read Message
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: Thu Dec 26 13:22:40 GMT 2024

Total time taken to generate the page: 0.07448 seconds