Syntax error and not defined errors

GK User
Sun Dec 07, 2014 1:18 pm
Hello

When I checked Console of Firefox Developer, there were some errors, and I wonder if I can get some advice to get rid of them. The site seems to be working depite of the errors. The site has demo products.

The listed errors in Console are:
    SyntaxError: return not in function hats:149
    ReferenceError: $GK_URL is not defined gk.scripts.js:138
    ReferenceError: $GKMenu is not defined gk.menu.js:49

where hats means ../index.php/women/women-s-brands/hats, and the part is shown as below:
Code: Select all
jQuery(document).ready(function () {
   jQuery('.orderlistcontainer').hover(
      function() { jQuery(this).find('.orderlist').stop().show()},
      function() { jQuery(this).find('.orderlist').stop().hide()}
   )
});
 $GKMenu = { height:true, width:false, duration: 250 };
$GK_TMPL_URL = "http://arigatosama.net/templates/gk_storefront";

$GK_URL = "http://arigatosama.net/";

function keepAlive() {   var myAjax = new Request({method: "get", url: "index.php"}).send();} window.addEvent("domready", function(){ keepAlive.periodical(840000); });
  </script>
  <link rel="apple-touch-icon" href="http://arigatosama.net/templates/gk_storefront/images/touch-device.png">
  <link rel="apple-touch-icon-precomposed" href="http://arigatosama.net/templates/gk_storefront/images/touch-device.png">

    <link rel="stylesheet" href="http://arigatosama.net/templates/gk_storefront/css/small.desktop.css" media="(max-width: 1170px)" />
<link rel="stylesheet" href="http://arigatosama.net/templates/gk_storefront/css/tablet.css" media="(max-width: 1040px)" />
<link rel="stylesheet" href="http://arigatosama.net/templates/gk_storefront/css/small.tablet.css" media="(max-width: 840px)" />
<link rel="stylesheet" href="http://arigatosama.net/templates/gk_storefront/css/mobile.css" media="(max-width: 600px)" />

<!--[if IE 9]>
<link rel="stylesheet" href="http://arigatosama.net/templates/gk_storefront/css/ie/ie9.css" type="text/css" />
<![endif]-->


where <link rel="apple-touch-icon-precomposed" href="http://arigatosama.net/templates/gk_storefront/images/touch-device.png"> is the line 148.
User avatar
Fresh Boarder

GK User
Tue Dec 09, 2014 8:43 am
Hello,

Could you send me a PM message with access to your page in offline mode?
User avatar
Administrator


cron