The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/printthread.php 16 require_once



UserSpice
"Banned" message on logout - Printable Version

+- UserSpice (https://userspice.com/forums)
+-- Forum: Support Center (https://userspice.com/forums/forumdisplay.php?fid=23)
+--- Forum: UserSpice 4.3 and Below (https://userspice.com/forums/forumdisplay.php?fid=26)
+--- Thread: "Banned" message on logout (/showthread.php?tid=116)



"Banned" message on logout - brian - 04-05-2016

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.


"Banned" message on logout - brian - 04-05-2016

Correction3: it isn't simply a redirect issue, it seems maybe something is hanging around after the logout for some reason.


"Banned" message on logout - mudmin - 04-05-2016

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.


"Banned" message on logout - brian - 04-05-2016

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.