Quote:
Originally Posted by Dragonsys
Replace the following
HTTP Error Pages Pro -> Who's Online List: Online Location Unknown
replace with code with:
Code:
if ($userinfo['activity'] == '400')
{
$userinfo['action'] = "Viewing 400 Bad Request";
$userinfo['where'] = '<a href="400_forum.php?'.$vbulletin->session->vars[sessionurl].'">400 Bad Request</a>';
$handled = true;
}
if ($userinfo['activity'] == '401')
{
$userinfo['action'] = "Viewing 401 Unauthorized";
$userinfo['where'] = '<a href="401_forum.php?'.$vbulletin->session->vars[sessionurl].'">401 Unauthorized</a>';
$handled = true;
}
if ($userinfo['activity'] == '403')
{
$userinfo['action'] = "Viewing 403 Forbidden";
$userinfo['where'] = '<a href="403_forum.php?'.$vbulletin->session->vars[sessionurl].'">403 Forbidden</a>';
$handled = true;
}
if ($userinfo['activity'] == '404')
{
$userinfo['action'] = "Viewing 404 Not Found";
$userinfo['where'] = '<a href="404_forum.php?'.$vbulletin->session->vars[sessionurl].'">404 Not Found</a>';
$handled = true;
}
if ($userinfo['activity'] == '500')
{
$userinfo['action'] = "500 Internal Server Error";
$userinfo['where'] = '<a href="500_forum.php?'.$vbulletin->session->vars[sessionurl].'">500 Internal Server Error</a>';
$handled = true;
}
HTTP Error Pages Pro -> Who's Online List: Online Location Process
replace code with:
Code:
if ($filename == 'forum_400.php')
{
$userinfo['activity'] = '400';
}
if ($filename == 'forum_401.php')
{
$userinfo['activity'] = '401';
}
if ($filename == 'forum_403.php')
{
$userinfo['activity'] = '403';
}
if ($filename == 'forum_404.php')
{
$userinfo['activity'] = '404';
}
if ($filename == 'forum_500.php')
{
$userinfo['activity'] = '500';
}
|
sorry about this issue guys, i changed the filenames thats why the error messages appears, i will ensure that this is fixed for next release