I appreciate any help provided by the experts here, my situation is as follows.
I upgraded from .14 to .15 by manually editing the code because I have a fairly heavy modded board. I have successfully upgraded several times before with out any trouble being vary careful to follow the instructions meticulously.
I now receive the following error when attempting to view a user's profile:
Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /home/nmggeo2/public_html/geobb/includes/usercp_viewprofile.php on line 183
The only change I made to the usercp_viewprofile.php was what instructed to do, i.e.
#-----[ OPEN ]---------------------------------------------
#
includes/usercp_viewprofile.php
#
#-----[ FIND ]---------------------------------------------
# Line 36
}
$profiledata = get_userdata($HTTP_GET_VARS[POST_USERS_URL]);
#
#-----[ AFTER, ADD ]---------------------------------------------
#
if (!$profiledata)
{
message_die(GENERAL_MESSAGE, $lang['No_user_id_specified']);
}
I replaced the modded file with the original and viewing a profile works, I've tried the mod again making sure I edited exactly and I continue to get the error.
Current code for lines 171 through 184 look like:
//
// Generate page
//
$page_title = $lang['Viewing_profile'];
include($phpbb_root_path . 'includes/page_header.'.$phpEx);
if (function_exists('get_html_translation_table'))
{
$u_search_author = urlencode(strtr($profiledata['username'], array_flip(get_html_translation_table(HTML_ENTITIES))));
}
else
{
$u_search_author = urlencode(str_replace(array('&', ''', '"', '<', '>'), array('&', "'", '"', '<', '>'), $profiledata['username']));
}
Any help?