Home »
FUDforum Development »
Bug Reports »
Admin Login bug
Admin Login bug [message #160606] |
Sun, 04 October 2009 03:59 |
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?
|
|
|
Goto Forum:
Current Time: Thu Dec 26 13:22:40 GMT 2024
Total time taken to generate the page: 0.07448 seconds