PDA

View Full Version : [fixed] Session Limiting Broke in 2.0.3


Zamtil
Sun 19th Aug '01, 2:56pm
Easily fixed, but blocks begging at line 165 & 234 in sessions.php reads:


$sessions=$DB_site->query_first("SELECT COUNT(*) AS sessions FROM session");
if ($session['sessions']>$sessionlimit) {
$servertoobusy=1;
}


The easy fix is (add an 's' to the $sesssion[]):


if ($sessions['sessions']>$sessionlimit) {
$servertoobusy=1;
}

JamesUS
Sun 19th Aug '01, 3:07pm
Verified on the beta board - I will now move it over to the Bugs forum for you :)

Thanks for reporting it!

Someone else seems to have managed to move it before I did :D

Dragon
Tue 21st Aug '01, 10:06pm
...why we logged 74 users on a board that can only support 40 comfortably...my, these people are patient!

Kier
Thu 23rd Aug '01, 2:02pm
[fixed]