2010-07-26, 09:34 PM
OK, first thing to try is to upload a new copy of ./moderation.php from a fresh download.
If that doesn't fix it, edit ./moderation.php; starting from line 1819 is this:
Can you change that to this:
Try to perform some moderation again, if it doesn't work, look in your root folder (i.e. same place as moderation.php is) for a new file called mod_debug.txt, what's it written to this??
If that doesn't fix it, edit ./moderation.php; starting from line 1819 is this:
function getids($id, $type)
{
global $mybb;
$cookie = "inlinemod_".$type.$id;
$ids = explode("|", $mybb->cookies[$cookie]);
foreach($ids as $id)
{
if($id != '')
{
$newids[] = intval($id);
}
}
return $newids;
}
Can you change that to this:
function getids($id, $type)
{
global $mybb;
$fp = fopen("mod_debug.txt", "w+");
$cookie = "inlinemod_".$type.$id;
fwrite($fp, $cookie . "\n");
fwrite($fp, $mybb->cookies[$cookie] . "\n");
$ids = explode("|", $mybb->cookies[$cookie]);
foreach($ids as $id)
{
if($id != '')
{
$newids[] = intval($id);
fwrite($fp, $id . "\n");;
}
}
fclose($fp);
return $newids;
}
Try to perform some moderation again, if it doesn't work, look in your root folder (i.e. same place as moderation.php is) for a new file called mod_debug.txt, what's it written to this??