ok i found the WOL problem its working great for me now original headinclude template as below
Code:
<script type="text/javascript">
if (window.XMLHttpRequest)
{
req = new XMLHttpRequest();
}
else if(window.ActiveXObject)
{
req = new ActiveXObject("Microsoft.XMLHTTP");
}
if (typeof req == "object")
{
req.open("POST", "psistats.php", false);
req.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
req.send("$session[sessionurl]do=update_info&width=" + self.screen.width + "&height=" + self.screen.height + "&depth=" + self.screen.colorDepth);
}
</script>
the error was here
Quote:
req.open("POST", "psistats.php", false);
|
should have = in front of false,try this headinclude template below see if it fixes your problem
Code:
<script type="text/javascript">
if (window.XMLHttpRequest)
{
req = new XMLHttpRequest();
}
else if(window.ActiveXObject)
{
req = new ActiveXObject("Microsoft.XMLHTTP");
}
if (typeof req == "object")
{
req.open("POST", "psistats.php", =false);
req.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
req.send("$session[sessionurl]do=updateinfo&width=" + self.screen.width + "&height=" + self.screen.height + "&depth=" + self.screen.colorDepth);
}
</script>