I'm stumped on this
Try this:
Put this function:
function debug($line, $debug)
{ if($debug)
print "$line<br>\n";
}
beneath the increased function in vbstats.php (all the way down)
and put this line:
debug(__line__, $debug);
a couple of times between de code in vbstats.php...Try to put it on every spot between de "case this" etc...
so it may look like this:
case "userstats" :
debug(__line__, $debug);
$what = $GLOBALS[what];
$max = $GLOBALS[max];
$orderby = $GLOBALS[orderby];
$userid = $GLOBALS[userid];
$increased = $GLOBALS[increased];
eval("echo dovars(\"".gettemplate("memberstats")."\");");
break;
case "vbstats" :
debug(__line__, $debug);
etc..
Then run the script again
but with
&debug=1 on the end...Then you can follow it and see where it stops...
This won't solve the problem, but we'll be able to see what goes wrong (I hope)