?
Solved

Site won't load

Posted on 2015-01-02
16
Medium Priority
?
165 Views
Last Modified: 2015-01-02
Client is having problems getting their site to load. Staff in 2 different cities are experiencing the same problem.  They are using IE.  Don't know the version.  It just spins and spins.

I can view site just fine.  Please let me know if it works for you.

http://garageescape.com
0
Comment
Question by:nsitedesigns
  • 6
  • 5
  • 2
  • +3
16 Comments
 
LVL 53

Expert Comment

by:strung
ID: 40528177
Works for me on both Safari and Firefox on a Mac.
0
 
LVL 35

Expert Comment

by:it_saige
ID: 40528178
Works for me on Chrome and FireFox.Capture.JPGBut not on IE (using version 11)Loading indicator [highlighted] constantly flickers, as if it is stuck in a loop..And in case this is dynamically generated; here is the source presented in IE:
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Garage Slatwall, Slatboard for organizing your garage</title>
<meta name="Description" content="GarageEscape Garage Slatwall Systems. Organize your Garage." />
<meta name="Keywords" content="garage organization, workshop organization, gardening organization, woodworking organization, laundry organization, office organization, getting organized, organize your space, organize your kid’s toys, hobby organization, organizational system, wall organization, organizational system for the garage, pegboard, Slatwall, Slotwall" />
<link href="includes/styles.css" rel="stylesheet" type="text/css" />
 
<!-- ********************* mobile code ********************** -->
<script type="text/javascript">
<!--
function getCookie(name) {
  var nameEQ = name + "=";
  var ca = document.cookie.split(';');
  for(var i=0; i < ca.length; i++) {
    var c = ca[i];
    while (c.charAt(0)==' ') { c = c.substring(1,c.length); }
    if (c.indexOf(nameEQ) == 0) { return c.substring(nameEQ.length,c.length); }
  }
  return null;
}

function skipMobileSite() {
  // Skip mobile site with a cookie setting, no expiration date
  document.cookie = 'occSkipMobile=true; path=/';
}

// Is screen size less than 499, indicating a mobile phone?
var mobileDetected = (screen.width <= 699);

// If not on mobile, use full site css
if(!mobileDetected || getCookie("occSkipMobile") == "true") {
  window.location("http://garageescape.com");
} else { // else go to mobile site
  location.replace("http://garageescape.com/m");
}

function allowMobileSite() {
  // Just delete cookie by setting it to past date
  document.cookie = 'occSkipMobile=true; expires=Fri, 3 Aug 2001 20:47:11 UTC; path=/';
  // if we're on a mobile and deliberately selected full site
  if(mobileDetected && getCookie("occSkipMobile") == "true") {
    location.replace("http://garageescape.com/m");
  }
}
//-->
</script><!-- ********************* end mobile code ********************** -->
</head>
<body>
<div id="wrapper">
<div id="top"></div>
<div id="middle">
<div id="container">

<div id="header">
<div id="logo"><a href="index.php"><img src="images/main_logo.jpg" alt="Garage Escape Systems" width="360" height="91" border="0" /></a></div>
<div id="slogan"><strong> ORGANIZATION SYSTEM FOR THE GARAGE... 800-548-7528<br />
</strong><span id="slogan_no_italics">A division of Wind Mill Slatwall Products</span></div>
<div id="top_menu">
<p><!-- ********************* mobile code ********************** -->
<script language="JavaScript">
<!--
  // write this if we're on a mobile and deliberately selected full site - does not show on desktop site
  if(mobileDetected && getCookie("occSkipMobile") == "true") {
    document.write("<a href='http://garageescape.com/m' class='fullSiteOnMobile' onClick='allowMobileSite()'>Go Back to Mobile Site</a>");
  }
//-->
</script>
&nbsp;&nbsp;
<!-- ********************* end mobile code ********************** --><br>
<a href="contact.php"><img src="images/contact2.jpg" alt="Contact Us for your Garage Organization needs" border="0" /></a></p>

<!--end top_menu --></div>
<!--end header --></div>
<div class="fix"></div> 
<div id="left_column">
<dl id="menu">
<dt><a href="index.php">Home</a></dt>
<dt><a href="panels.php">Slatwall Panels</a></dt>
<dt><a href="accessories.php">Slatwall Accessories</a></dt>	
<dt><a href="gallery.php">Photo Gallery</a></dt>
<dt><a href="installation.php">Installation Instructions</a></dt>         
<dt><a href="retail.php">Where to Buy</a></dt>
</dl>

 
<!--end left_column --></div> 
<div id="main-home">

<img src="images/home.jpg" alt="garage Slatwall"  /> 
<!--end main --></div>

<div class="fix"></div>
<div id="footer">
 <div id="green">
  <img src="images/green_statement.jpg" width="600" height="69" />
  <!--end green --></div>
<div class="fix"></div>

 <div id="address">
 <p>Garage Escape is a division of Wind Mill Slatwall Products<br />
    800-548-7528&nbsp;&nbsp;|&nbsp;&nbsp;<a href="mailto:info@GarageEscape.com">info@GarageEscape.com</a> </p>
<!--end address--></div>  

<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-4601188-2");
pageTracker._trackPageview();
} catch(err) {}</script> 
<!--end footer --></div>

<!--end container --></div>
<!--end middle --></div>
<div id="bottom"></div>
<!--end box --></div>

</body>
</html>

Open in new window

-saige-
0
 
LVL 84

Accepted Solution

by:
Dave Baldwin earned 2000 total points
ID: 40528185
It won't load on IE9 and this code is probably the problem.  Line 34 is causing the page to continuously reload and never finish.
// If not on mobile, use full site css
if(!mobileDetected || getCookie("occSkipMobile") == "true") {
  window.location("http://garageescape.com");  <<< Line 34
} else { // else go to mobile site
  location.replace("http://garageescape.com/m");
}

Open in new window


This might make it work.
if(mobileDetected || getCookie("occSkipMobile") == "false") {
// go to mobile site
  location.replace("http://garageescape.com/m");
}

Open in new window

0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 

Author Comment

by:nsitedesigns
ID: 40528215
Why would it all of a sudden not work?  Seems goofy.  I will see if Dave's code change works.  Note, this isn't "my code"  It is from another programer they brought onboard.
0
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 40528251
Depends on the definition of "all of a sudden."  When was the last time anyone tested with IE?

IE gets patched a lot via the weekly Windows Updates.  It's possible that a recent patch did something to the javascript interpreter that is causing that loop to fail.  MS updates have caused a lot of problems recently, this may be one more on that list.
0
 

Author Comment

by:nsitedesigns
ID: 40528272
Clients use IE.  Must have been a patch then.
0
 
LVL 84

Expert Comment

by:Dave Baldwin
ID: 40528293
I tested using IE8 and IE9.  IE8 worked and IE9 just kept reloading the page up to that javascript.  There may be a second one in there too.
0
 
LVL 35

Expert Comment

by:it_saige
ID: 40528306
Looking through the code I saw, I only saw that if statement referenced twice Dave.  The second one just falls through without trying to reload the location (probably because it just add's a link).
if(mobileDetected && getCookie("occSkipMobile") == "true") { <<< Line 65
    document.write("<a href='http://garageescape.com/m' class='fullSiteOnMobile' onClick='allowMobileSite()'>Go Back to Mobile Site</a>");

Open in new window



-saige-
0
 

Author Comment

by:nsitedesigns
ID: 40528308
I made the modification to the mobile-head.php page per Dave's suggestion.  Please check now and let me know if this site loads now in IE for y'all.

http://garageescape.com
0
 
LVL 84

Expert Comment

by:Dave Baldwin
ID: 40528315
Yep, it loads in IE9 now.
0
 

Author Comment

by:nsitedesigns
ID: 40528316
I replaced the code per Dave's suggestion.  Client said it worked for them.  I wanted to make sure others also had success.  Is there another code snippet I need to remove?
0
 
LVL 50

Expert Comment

by:jcimarron
ID: 40528323
nsitedesigns --
Works fine for me using IE11.   I did not try before you made the code changes.
0
 
LVL 84

Expert Comment

by:Dave Baldwin
ID: 40528326
Not that I can tell.  I saw the error for that line in Firefox but Firefox isn't complaining about anything now.
0
 

Author Comment

by:nsitedesigns
ID: 40528330
Cool - think it is fixed.  Thanks Dave - again you come to my rescue!
0
 

Author Closing Comment

by:nsitedesigns
ID: 40528332
great job!
0
 
LVL 84

Expert Comment

by:Dave Baldwin
ID: 40528341
You're welcome, glad to help.
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
Following on from our article on "The Murky World of Consent and opt in", we thought we would issue some helpful guidance, not only on consent itself but knowing what information you are capturing, what you are doing with this data and how you can p…
Google currently has a new report that is in beta and coming soon to Webmaster Tool accounts. This Micro Tutorial will highlight new features for Google Webmaster Tools.
This Micro Tutorial will demonstrate how nuggets on the Web are formatted by using Chrome Developer Tools. These tools would not only view the site's CSS but it can also modify it and save the CSS to use on your own site.
Suggested Courses
Course of the Month13 days, 18 hours left to enroll

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question