Home »
FUDforum Development »
Bug Reports »
Admin Login bug
Admin Login bug [message #160606] |
Sat, 03 October 2009 23:59 |
|
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 12 10:12:43 EST 2024
Total time taken to generate the page: 0.04494 seconds