"found it";p="1853" wrote:try this one i think the first post got corrupted.....
is this the code changes we are suppose to use?
Moderator: Integra Moderator
"found it";p="1853" wrote:try this one i think the first post got corrupted.....
admin/pagestart.php
#
#-----[ FIND ]---------------------------------------------
# Line 47
message_die(GENERAL_MESSAGE, $lang['Not_admin']);
}
if ($HTTP_GET_VARS['sid'] != $userdata['session_id'])
{
#
#-----[ OPEN ]---------------------------------------------
#
admin/pagestart.php
#
#-----[ FIND ]---------------------------------------------
# Line 47
message_die(GENERAL_MESSAGE, $lang['Not_admin']);
}
if ($HTTP_GET_VARS['sid'] != $userdata['session_id'])
{
#
#-----[ FIND ]---------------------------------------------
# Line 57
$url = str_replace(preg_replace('#^/?(.*?)/?$#', '1', trim($board_config['server_name'])), '', $HTTP_SERVER_VARS['REQUEST_URI']);
$url = str_replace(preg_replace('#^/?(.*?)/?$#', '1', trim($board_config['script_path'])), '', $url);
$url = str_replace('//', '/', $url);
$url = preg_replace('/sid=([^&]*)(&?)/i', '', $url);
$url = preg_replace('/?$/', '', $url);
$url .= ((strpos($url, '?')) ? '&' : '?') . 'sid=' . $userdata['session_id'];
#
#-----[ REPLACE WITH ]---------------------------------------------
# Just remove/delete the lines (replacing with an empty line)
"cleo";p="2047" wrote:ok, here are the entire intructions for that particular file, and as i said, i do not have that instance at all that is says to find, but does not say what to do, i understand that the second bit of code, you just delete#
#-----[ OPEN ]---------------------------------------------
#
admin/pagestart.php
#
#-----[ FIND ]---------------------------------------------
# Line 47
message_die(GENERAL_MESSAGE, $lang['Not_admin']);
}
if ($HTTP_GET_VARS['sid'] != $userdata['session_id'])
{
#
#-----[ FIND ]---------------------------------------------
# Line 57
$url = str_replace(preg_replace('#^/?(.*?)/?$#', '1', trim($board_config['server_name'])), '', $HTTP_SERVER_VARS['REQUEST_URI']);
$url = str_replace(preg_replace('#^/?(.*?)/?$#', '1', trim($board_config['script_path'])), '', $url);
$url = str_replace('//', '/', $url);
$url = preg_replace('/sid=([^&]*)(&?)/i', '', $url);
$url = preg_replace('/?$/', '', $url);
$url .= ((strpos($url, '?')) ? '&' : '?') . 'sid=' . $userdata['session_id'];
#
#-----[ REPLACE WITH ]---------------------------------------------
# Just remove/delete the lines (replacing with an empty line)
$url = str_replace(preg_replace('#^/?(.*?)/?$#', '1', trim($board_config['server_name'])), '', $HTTP_SERVER_VARS['REQUEST_URI']); $url = str_replace(preg_replace('#^/?(.*?)/?$#', '1', trim($board_config['script_path'])), '', $url); $url = str_replace('//', '/', $url); $url = preg_replace('/sid=([^&]*)(&?)/i', '', $url); $url = preg_replace('/?$/', '', $url); $url .= ((strpos($url, '?')) ? '&' ]
Registered users: Helter, Majestic-12 [Bot]