This issue can occur when installing any Starry Night application (most frequently Middle School or High School) on a computer with a non-administrative account.
To correct this issue, download and run the following application. Please note that you need administrator privileges to perform this update.
Fix for Mac OS X:
Fix for Starry Night permissions issue
Fix for Windows XP:
Combined fix for Starry Night Middle School and High School(FixStarryNightSkyGuide.exe)
One, this did not fix the issue, and two, I would like to know what permission changes your utility is making to our district computers.
It seems that Starry Night is more or less a self contained browser. When logged in as the local administrator, right clicking in the Sky Guide Window and choosing Show Source show the following code:
<!DOCTYPE html>
<!-- saved from url=(0016)http://localhost -->
<html>
<head>
<meta name="viewport" content="initial-scale = 1.0">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta charset='utf-8'>
<link rel="stylesheet" type="text/css" href="guide/css/root.css">
<link rel="stylesheet" href="style/theme.css" type="text/css" charset="utf-8" />
</head>
<body class="body-root">
<div id="contentFrame">
<div id="guide">
<div id="splashheader">
<img src="style/images/skyguide_logo_transparent.png" />
</div>
<div id="contentHeaderContainer">
<div id="contentHeader">
<div class="row"><div class="title"><span id="contentUnitTitle"></span><span id="contentTitle"></span><span id="contentSubtitle"></span></div></div>
<div class="row"><span id="contentPath"></span></div>
</div>
</div>
<div id="contentIndex">
<ul class="iconlisting iconlisting_large">
<li><a href="#lessons" data-autoload="true"><span>SkyGuide Lessons</span></a></li>
</ul>
</div>
</div>
</div>
</body>
</html>
Logged in as a non-Administrator shows the following code:
<!DOCTYPE html>
<!-- saved from url=(0016)http://localhost -->
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<style>
html, body {
height: 100%;
overflow-y: hidden;
}
</style>
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/jquery-migrate.js"></script>
<script type="text/javascript" src="js/jquery.history.js"></script>
<script type="text/javascript" src="js/guide.js"></script>
<script type="text/javascript" src="js/ElementQueries.js"></script>
<script type="text/javascript" src="js/ResizeSensor.js"></script>
<script tyle="text/javascript">
$(document).ready(function(){
GUIDEPAGE.init();
$(document).focus();
// resize nav header with text zoom, only when lesson is displayed
$("iframe#content").load(function() {
var content = $("iframe#content").contents().find("#guide");
new ResizeSensor(content, function(){
if ($('iframe#contentLesson').css('display') != 'none') {
$('iframe#content').css("height", content.height() + "px");
var heightOfFrame = $(window).height() - content.height();
$('iframe#contentLesson').css("height", heightOfFrame + "px");
// console.log("changing nav header height to " + content.height() + "px");
}
});
});
});
</script>
<link rel="stylesheet" href="../style/theme.css" type="text/css" charset="utf-8" />
</head>
<body style="padding: 0px; margin: 0px;">
<iframe id="toc" name="toc" src="../toc.html" style="display: none;"></iframe>
<iframe id="content" name="content" src="../root.html" style="display: none; position: relative; border: 0px; width: 100%; height: 100%;" ></iframe>
<iframe id="contentLesson" name="contentLesson" src="about:blank" style="display:none; width: 100%; border:0px; position: relative; top: 0px; left: 0px; padding: 0px; margin: 0px;"></iframe>
<iframe id="externalContent" name="externalContent" src="about:blank" style="display: none; position: absolute; top: 0px; left: 0px; border: 0px; width: 100%; height: 100%; padding: 0px; margin: 0px;"></iframe>
<iframe id="glossary" name="glossary" src="../glossary.html" style="display: none;"></iframe>
<div id="contentProperties" style="display: none">
<a id="currentFile" href="javascript:void(true);" filetoload=""></a>
<a id="currentMedia" href="javascript:void(true);" displaymedia=""></a>
<a id="currentExternalURI" href="" target="_blank"></a>
</div>
</body>
</html>
I suspect the relevant code that is missing from the second one is:
<li><a href="#lessons" data-autoload="true"><span>SkyGuide Lessons</span>
My question is why does a non administrator get a different page, and how can it be fixed without giving away the farm permissions wise? ( Students are definately NOT administrators).
Here is the fix:
If you want to share this with the other schools having issues with Skyguide ( enabling Javascript for the students fixed the issue).
The Windows group policy setting to enable Java script on a per user basis:
Group Policy Management Console:
User settings:
Preferences
Windows settings
Registry
1400 General
Hive
HKEY_CURRENT_USER
Key path
SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\3
Value name
1400
Value type
REG_DWORD
Value data
0x0 (0)