Puedes probar a cambiar el siguiente código en ./oc-includes/osclass/install-functions.php?
/*
* The url of the site
*
* @since 1.2
*
* @return string The url of the site
*/
function get_absolute_url( ) {
$protocol = ( isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on' ) ? 'https' : 'http' ;
$pos = strpos($_SERVER['REQUEST_URI'], 'oc-includes') ;
$URI = rtrim( substr( $_SERVER['REQUEST_URI'], 0, $pos ), '/' ) . '/' ;
return $protocol . '://' . $_SERVER['HTTP_HOST'] . $URI ;
}
/*
* The relative url on the domain url
*
* @since 1.2
*
* @return string The relative url on the domain url
*/
function get_relative_url( ) {
$url = $_SERVER['REQUEST_URI'];
return substr($url, 0, strpos($url, '/oc-includes')) . "/";
}