More problem I found and fixed ...
1) If you had enabled SMF Search engine friendly URLs, exist url (in posts) don't work.
find:
// Get the query string of the passed URL
$params = array();
$url_parts = parse_url(str_replace(array(',', '&', ';'), array('=', '&', '&'), $url));
replace:
// Get the query string of the passed URL
$params = array();
//> modify by PortaMx
$url_parts = parse_url(str_replace(array(',', '&', ';'), array('=', '&', '&'), str_replace($boardurl .'/index.php/', $scripturl .'?', $url)));
2) I see hundreds of url parse error in the apache error log.
I think this is a good fix ...
find:
// Parse the url
$url_parts = parse_url(str_replace($boardurl, '', $_SERVER['REQUEST_URL']));
if (empty($url_parts['path']) || $url_parts['path'] == '/')
return;
replace:
// Parse the url
//> modify by PortaMx
if(strpos($_SERVER['REQUEST_URL'], $boardurl) !== false)
{
$url_parts = parse_url(str_replace($boardurl, '', $_SERVER['REQUEST_URL']));
if (empty($url_parts['path']) || $url_parts['path'] == '/')
return;
}
else
return;
these fixes runs here.
Fel