RiggsFolly Wrote:
-------------------------------------------------------
> Hi Johny
>
>
But it does not work> That's not really a useful description of the
> problems you are having. Unfortunately noone here
> is clairvoyant.
>
> Start by looking at error logs.
Thanks for the reply!
I've checked Apache and PHP error log but both are empty. Only Apache access log shows:
127.0.0.1 - - [16/Oct/2017:07:02:58 -0700] "GET / HTTP/1.1" 200 3309
Error is displayed on the website, similar when I try to access it with newer version. I'm out of ideas
/*
| | (c) 2004 mkportal.it
| [www.mkportal.it]
| Email: luponero@mclink.it |
+--------------------------------------------------------------------------- | | > MKPortal | > Written By Amedeo de longis | >
Date started: 9.2.2004 |
+-------------------------------------------------------------------------- */
define ( 'IN_MKP', 1 );
/* start of MKPortal Query String HTML Injection Vulnerability [www.mkportal.it] */
$_SERVER['QUERY_STRING'] = str_replace(array('%3C', '%3E', '<', '>'), array('', '', '', ''), $_SERVER['QUERY_STRING'] );
$_SERVER['PHP_SELF'] = str_replace(array('%3C', '%3E', '<', '>'), array('', '', '', ''), $_SERVER['PHP_SELF'] );
/* end of MKPortal Query String HTML Injection Vulnerability [www.mkportal.it] */
$MK_PATH = "./";
require $MK_PATH."mkportal/conf_mk.php";
switch($MK_BOARD) {
case 'IPB': $driverf = "IPB/ipb_driverf.php";
$board_functions = "IPB/ipb_board_functions.php";
break;
case 'PHPBB':
$driverf = "PHPBB/php_driverf.php";
$board_functions = "PHPBB/php_board_functions.php";
break;
case 'VB':
$driverf = "VB/vb_driverf.php";
$board_functions = "VB/vb_board_functions.php";
break;
case 'OXY':
$driverf = "oxy_driverf.php";
$board_functions = "oxy_board_functions.php";
break;
case 'IPB13':
$driverf = "IPB13/ipb13_driverf.php";
$board_functions = "IPB13/ipb13_board_functions.php";
break;
default:
$driverf = "SMF/smf_driverf.php";
$board_functions = "SMF/smf_board_functions.php";
break;
}
require $MK_PATH."mkportal/include/$driverf";
require $MK_PATH."mkportal/include/functions.php";
require $MK_PATH."mkportal/include/$board_functions";
require "$mklib->template/tpl_main.php";
$mkportals->input = $mklib->mkp_input();
if($MK_OFFLINE && !$mkportals->member['g_access_cp'] && !$mklib->member['g_access_cpa']) {
$message = $mklib->lang['offline']; $mklib->off_line_page($message);
exit;
}
$switch = array('blog' => "blog", 'chat' => "chat",
'contents' => "contents", 'downloads' => "downloads",
'gallery' => "gallery",
'news' => "news",
'quote' => "quote",
'reviews' => "reviews",
'search' => "search",
'topsite' => "topsite",
'donate' => "donate",
'urlobox' => "urlobox",
'staff' => "staff",
'media' => "media",
'docs' => "docs",
'xebook' => "xebook",
'faq' => "faq",
);
if (!isset($switch[$mkportals->input['ind']])) {
$mkportals->input['ind'] = "contents";
}
if (!$mklib->disablegzip && $mkportals->input['ind'] != "downloads" {
ob_end_clean();
@ob_start('ob_gzhandler');
}
require "./mkportal/modules/{$switch[$mkportals->input['ind']]}/index.php";
?>
Edited 1 time(s). Last edit at 10/18/2017 10:17AM by RiggsFolly.