Author Topic: Script errors when trying to view pictures at Homedepot.com  (Read 1504 times)

Online YouCanToo

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 5328
  • Location: Lebanon, OR., USA
    • Spreading the word.......
Re: Script errors when trying to view pictures at Homedepot.com
« Reply #30 on: December 31, 2012, 12:53:24 PM »
Too bad the end user has to pay because the web-designer failed to test his deign (his/her website) to work with ALL browsers.  This is a really good example to all web designers of what NOT to do!




Be sure to visit the NEW Knowledge Base


Linux is user-friendly- it's just picky who its friends are!

Offline seaeagle1965

  • Jr. Member
  • **
  • Posts: 37
    • Mega Free Wallpapers
Re: Script errors when trying to view pictures at Homedepot.com
« Reply #31 on: December 31, 2012, 12:55:33 PM »
I tried accessing the link via Firefox from down here in Australia & it worked fine. I would probably try these fixes to see if they solve the problem.

First, completely clear your Firefox caches (both memory & disk). I use Empty Cache Button :: Add-ons for Firefox as it clears the caches & then reloads the current page without any need to restart the browser. Then try loading the page that is having problems.

If the problem persists after clearing the caches, install this addon: Local Load :: Add-ons for Firefox. It stores the common Google jscript libraries on your local drive, so your browser does not need to request & download them every time you visit a site which requires them to load.

If you still have problems after trying the above solutions, I would recommend starting Firefox in safe mode (from a terminal run firefox --safe-mode). That way you can see if the site loads when your addons are disabled. If it does, then you may need to remove your addons one-at-a-time until you find the one that is causing the problem.

Cheers (and good luck)
Intel Q9400 Core 2 Quad CPU @ 2.66GHz; GeForce 210 video; 4GB RAM; 160GB SCSI HDD + 1.5TB external drive
seaeagle1965 on Twitter

Online YouCanToo

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 5328
  • Location: Lebanon, OR., USA
    • Spreading the word.......
Re: Script errors when trying to view pictures at Homedepot.com
« Reply #32 on: December 31, 2012, 01:18:41 PM »
I tried each and every one of your suggestions above and it still fails with the script error.




Be sure to visit the NEW Knowledge Base


Linux is user-friendly- it's just picky who its friends are!

Offline kjpetrie

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3979
Re: Script errors when trying to view pictures at Homedepot.com
« Reply #33 on: December 31, 2012, 05:24:33 PM »
Works fine in the UK too, in both 32 and 64 bit, using FF.

The Google script is called incorrectly, lacking its http: protocol.

Code: [Select]
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" type="text/javascript"></script>
This generates File not found from the server, so that script can't be loaded. (Is the ":4" at the end of the error message a truncated ":404" perhaps?). But in that case, how is FF obtaining the http: for its dialogue box in O-P's screenshot? As a '/'-led link it should be appended to the existing domain. This implies the UK is getting a different page from the US, but then why are the prices still in dollars?

What does that script call look like there?
« Last Edit: December 31, 2012, 05:50:54 PM by kjpetrie »
-----------
KJP
-----------------------------------------------------------
PClos64 RC1 on Intel D945GCLF2 motherboard (Atom 330), 2GB DDR2 RAM, Maxtor STM325031, HL-DT-ST DVDRAM GSA-H42N, Amilo LSL 3220T monitor. Also Acer 5810TG (with custom kernel) and Asus eeePC 2G surf

Online YouCanToo

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 5328
  • Location: Lebanon, OR., USA
    • Spreading the word.......
Re: Script errors when trying to view pictures at Homedepot.com
« Reply #34 on: December 31, 2012, 07:18:01 PM »
Works fine in the UK too, in both 32 and 64 bit, using FF.

The Google script is called incorrectly, lacking its http: protocol.

Code: [Select]
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" type="text/javascript"></script>
This generates File not found from the server, so that script can't be loaded. (Is the ":4" at the end of the error message a truncated ":404" perhaps?). But in that case, how is FF obtaining the http: for its dialogue box in O-P's screenshot? As a '/'-led link it should be appended to the existing domain. This implies the UK is getting a different page from the US, but then why are the prices still in dollars?

What does that script call look like there?



This is what I am seeing here

Script: http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js:4

I don't think this issue is caused by a malformed url.  After a bunch of searching I found this

You likely have an infinite loop somewhere in the jQuery code you have written. The :4 just means that the browser is getting stuck on line 4 of the minified jQuery library. But the code will be causing it.




Be sure to visit the NEW Knowledge Base


Linux is user-friendly- it's just picky who its friends are!

Offline Linuzoid

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1399
    • LinuzoidArt Studio
Re: Script errors when trying to view pictures at Homedepot.com
« Reply #35 on: December 31, 2012, 07:39:37 PM »
Works fine in the UK too, in both 32 and 64 bit, using FF.

The Google script is called incorrectly, lacking its http: protocol.

Code: [Select]
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" type="text/javascript"></script>
This generates File not found from the server, so that script can't be loaded. (Is the ":4" at the end of the error message a truncated ":404" perhaps?). But in that case, how is FF obtaining the http: for its dialogue box in O-P's screenshot? As a '/'-led link it should be appended to the existing domain. This implies the UK is getting a different page from the US, but then why are the prices still in dollars?

What does that script call look like there?



This is what I am seeing here

Script: http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js:4

I don't think this issue is caused by a malformed url.  After a bunch of searching I found this

You likely have an infinite loop somewhere in the jQuery code you have written. The :4 just means that the browser is getting stuck on line 4 of the minified jQuery library. But the code will be causing it.




Why does it happen with FF and not Qupzilla? I'm in the US and Qupzilla and QtWeb work perfect. Could it be the java script engine that comes with FF?
Be very, very kind to your neighbors, but don't take the fence down!

Online YouCanToo

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 5328
  • Location: Lebanon, OR., USA
    • Spreading the word.......
Re: Script errors when trying to view pictures at Homedepot.com
« Reply #36 on: December 31, 2012, 08:42:39 PM »
Works fine in the UK too, in both 32 and 64 bit, using FF.

The Google script is called incorrectly, lacking its http: protocol.

Code: [Select]
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" type="text/javascript"></script>
This generates File not found from the server, so that script can't be loaded. (Is the ":4" at the end of the error message a truncated ":404" perhaps?). But in that case, how is FF obtaining the http: for its dialogue box in O-P's screenshot? As a '/'-led link it should be appended to the existing domain. This implies the UK is getting a different page from the US, but then why are the prices still in dollars?

What does that script call look like there?



This is what I am seeing here

Script: http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js:4

I don't think this issue is caused by a malformed url.  After a bunch of searching I found this

You likely have an infinite loop somewhere in the jQuery code you have written. The :4 just means that the browser is getting stuck on line 4 of the minified jQuery library. But the code will be causing it.




Why does it happen with FF and not Qupzilla? I'm in the US and Qupzilla and QtWeb work perfect. Could it be the java script engine that comes with FF?



Who know why it doesn't happen with the other browsers. Perhaps the browsers are more forgiving to the error then Firefox is.  I remember back when IE would display an html page and Firefox would display an error if the designer forgot to close a tag. I think it is silly for any browser to assume things that are not explicit.

EDIT: After even more searching I see that "jquery.min.js" and Firefox has not played well for sometime. Perhaps this designer should of used the full version of jquery instead of the minimum version of it. Funny since it is released under the GPL why no one has found a solution to this mysterious problem

A copy of the whole jquery.min.js code from their website http://jquery.com/

« Last Edit: December 31, 2012, 08:56:04 PM by YouCanToo »




Be sure to visit the NEW Knowledge Base


Linux is user-friendly- it's just picky who its friends are!

Offline Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10615
  • MLUs Forever!
Re: Script errors when trying to view pictures at Homedepot.com
« Reply #37 on: January 01, 2013, 03:58:28 AM »

Why does it happen with FF and not Qupzilla? I'm in the US and Qupzilla and QtWeb work perfect. Could it be the java script engine that comes with FF?


An even better question is why Firefox does not fail for everybody!
MLUs rule the roost!

Linux XPS 3.2.18-pclos2.pae.bfs  32 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline kjpetrie

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3979
Re: Script errors when trying to view pictures at Homedepot.com
« Reply #38 on: January 01, 2013, 04:40:36 AM »
I'm using Firefox en_GB. Maybe that has something to do with it. I notice the ajax code supplied by Google displays in FF as four lines whereas the JQuery code displays as one. In view source I see four lines, but if I wrap it the line breaks disappear. Could it be a character encoding (or line termination) issue?
-----------
KJP
-----------------------------------------------------------
PClos64 RC1 on Intel D945GCLF2 motherboard (Atom 330), 2GB DDR2 RAM, Maxtor STM325031, HL-DT-ST DVDRAM GSA-H42N, Amilo LSL 3220T monitor. Also Acer 5810TG (with custom kernel) and Asus eeePC 2G surf

Offline Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10615
  • MLUs Forever!
Re: Script errors when trying to view pictures at Homedepot.com
« Reply #39 on: January 01, 2013, 04:43:50 AM »
I'm using Firefox en_GB. Maybe that has something to do with it. I notice the ajax code supplied by Google displays in FF as four lines whereas the JQuery code displays as one. In view source I see four lines, but if I wrap it the line breaks disappear. Could it be a character encoding (or line termination) issue?


Same here ... 
MLUs rule the roost!

Linux XPS 3.2.18-pclos2.pae.bfs  32 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline Linuzoid

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1399
    • LinuzoidArt Studio
Re: Script errors when trying to view pictures at Homedepot.com
« Reply #40 on: January 01, 2013, 07:52:33 AM »
I'm using Firefox en_GB. Maybe that has something to do with it. I notice the ajax code supplied by Google displays in FF as four lines whereas the JQuery code displays as one. In view source I see four lines, but if I wrap it the line breaks disappear. Could it be a character encoding (or line termination) issue?


Same here ... 

Hmm, I'll install the en_GB and see.  ;)
Be very, very kind to your neighbors, but don't take the fence down!

Offline Linuzoid

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1399
    • LinuzoidArt Studio
Re: Script errors when trying to view pictures at Homedepot.com
« Reply #41 on: January 01, 2013, 09:25:01 AM »
I'm using Firefox en_GB. Maybe that has something to do with it. I notice the ajax code supplied by Google displays in FF as four lines whereas the JQuery code displays as one. In view source I see four lines, but if I wrap it the line breaks disappear. Could it be a character encoding (or line termination) issue?


Same here ... 

Hmm, I'll install the en_GB and see.  ;)

Yup, that is it.  ;D The en_GB version rendered it right. I tried zoom on different stuff and it worked. Something to do with the en_US version.  >:(
Be very, very kind to your neighbors, but don't take the fence down!

Offline Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10615
  • MLUs Forever!
Re: Script errors when trying to view pictures at Homedepot.com
« Reply #42 on: January 01, 2013, 09:28:37 AM »
I'm using Firefox en_GB. Maybe that has something to do with it. I notice the ajax code supplied by Google displays in FF as four lines whereas the JQuery code displays as one. In view source I see four lines, but if I wrap it the line breaks disappear. Could it be a character encoding (or line termination) issue?


Same here ...  

Hmm, I'll install the en_GB and see.  ;)

Yup, that is it.  ;D The en_GB version rendered it right. I tried zoom on different stuff and it worked. Something to do with the en_US version.  >:(

I always knew USians could not speak English  :D  ;D

MLUs rule the roost!

Linux XPS 3.2.18-pclos2.pae.bfs  32 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline kjpetrie

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3979
Re: Script errors when trying to view pictures at Homedepot.com
« Reply #43 on: January 01, 2013, 09:40:27 AM »
So it looks as if this site, aimed at the US, is using a source for a JS library that is not encoded correctly for the US, and as a result only works reliably in other territories! D'you think someone should tell them?

I'll resist the temptation to say this proves the Irish are British really but just like to pretend they're something else. Ooops, was I typing when I thought that?
-----------
KJP
-----------------------------------------------------------
PClos64 RC1 on Intel D945GCLF2 motherboard (Atom 330), 2GB DDR2 RAM, Maxtor STM325031, HL-DT-ST DVDRAM GSA-H42N, Amilo LSL 3220T monitor. Also Acer 5810TG (with custom kernel) and Asus eeePC 2G surf

Offline Linuzoid

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1399
    • LinuzoidArt Studio
Re: Script errors when trying to view pictures at Homedepot.com
« Reply #44 on: January 01, 2013, 09:41:42 AM »
I'm using Firefox en_GB. Maybe that has something to do with it. I notice the ajax code supplied by Google displays in FF as four lines whereas the JQuery code displays as one. In view source I see four lines, but if I wrap it the line breaks disappear. Could it be a character encoding (or line termination) issue?


Same here ...  


Hmm, I'll install the en_GB and see.  ;)

Yup, that is it.  ;D The en_GB version rendered it right. I tried zoom on different stuff and it worked. Something to do with the en_US version.  >:(

I always knew USians could not speak English  :D  ;D


Duh, me speak good Englich, US Firefox bad!!! LOL  8) 8) ::) :-* ;D ;D ;)
Be very, very kind to your neighbors, but don't take the fence down!