In our case we are only using https. Therefore, every tag in the default theme that may use {prepath} for the url is incorrect. Right now it appears that the only tag using this is the link tag so the stylesheet is not loading.
A simple fix would be to check whether the server is using SSL or not:
The problem lies at line 50 in themecontrol.php:
$file = str_replace( '{prepath} ','http:// '.$_SERVER['SERVER_ NAME']. $uri,$file) ;
In our case we are only using https. Therefore, every tag in the default theme that may use {prepath} for the url is incorrect. Right now it appears that the only tag using this is the link tag so the stylesheet is not loading.
A simple fix would be to check whether the server is using SSL or not:
$file = str_replace( '{prepath} ','http' .($_SERVER[ 'HTTPS' ] == "on" ? 's':'') .'://'. $_SERVER[ 'SERVER_ NAME']. $uri,$file) ;