The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/showthread.php 28 require_once





× This forum is read only. As of July 23, 2019, the UserSpice forums have been closed. To receive support, please join our Discord by clicking here. Thank you!

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
"Banned" message on logout
#1
When a normal user is logged in, and they proceed to logout, user is presented with the message: "Sorry. You have been banned. If you feel this is an error, please contact the administrator."

Correction: It seems to show that message no matter what links are click, including the user links, EXCEPT for Login.

Correction2: on the bare 4.1a install, it all seems to work fine (no banned messages or anything). Only seeing this on a site that was upgraded from 4.0.

On logout, I believe there should be a redirection to the /index.php homepage since presumably the user is done with whatever they were doing.
  Reply
#2
Correction3: it isn't simply a redirect issue, it seems maybe something is hanging around after the logout for some reason.
  Reply
#3
Hmm...I must have a bug in the securePage function in the us_helpers file. I'll check that out. There is basically a check seeing if permissions = 0 there. Thanks for the input.
  Reply
#4
Yeah, it also exists in a stock US 41a install for example, when you go to click join. I do believe it is part of the securePage function.
  Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)