I am running a ajax based tool (magic zoom) in my site on a category display template. I get this error message in IE and FF, but not in chrome. images are displaying correctly, but I cant figure out how to get rid of that error message.
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; GTB6.4; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
Timestamp: Tue, 16 Mar 2010 22:18:21 UTC
Message: 'null' is null or not an object
Line: 357
Char: 5
Code: 0
URI: http://www.partsforscooters.com/Vehicle-Type/125cc-150cc-GY6-4-Stroke-Cylinder-Valve-Cover-Parts
Message: 'null' is null or not an object
Line: 388
Char: 5
Code: 0
URI: http://www.partsforscooters.com/Vehicle-Type/125cc-150cc-GY6-4-Stroke-Cylinder-Valve-Cover-Parts
Message: 'null' is null or not an object
Line: 418
Char: 5
Code: 0
URI: http://www.partsforscooters.com/Vehicle-Type/125cc-150cc-GY6-4-Stroke-Cylinder-Valve-Cover-Parts
Message: 'null' is null or not an object
Line: 449
Char: 5
Code: 0
URI: http://www.partsforscooters.com/Vehicle-Type/125cc-150cc-GY6-4-Stroke-Cylinder-Valve-Cover-Parts
Message: 'null' is null or not an object
Line: 479
Char: 5
Code: 0
URI: http://www.partsforscooters.com/Vehicle-Type/125cc-150cc-GY6-4-Stroke-Cylinder-Valve-Cover-Parts
Message: 'null' is null or not an object
Line: 500
Char: 5
Code: 0
URI: http://www.partsforscooters.com/Vehicle-Type/125cc-150cc-GY6-4-Stroke-Cylinder-Valve-Cover-Parts
Message: 'null' is null or not an object
Line: 532
Char: 5
Code: 0
URI: http://www.partsforscooters.com/Vehicle-Type/125cc-150cc-GY6-4-Stroke-Cylinder-Valve-Cover-Parts
Message: 'null' is null or not an object
Line: 563
Char: 5
Code: 0
URI: http://www.partsforscooters.com/Vehicle-Type/125cc-150cc-GY6-4-Stroke-Cylinder-Valve-Cover-Parts
Message: 'null' is null or not an object
Line: 593
Char: 5
Code: 0
URI: http://www.partsforscooters.com/Vehicle-Type/125cc-150cc-GY6-4-Stroke-Cylinder-Valve-Cover-Parts
Message: 'null' is null or not an object
Line: 624
Char: 5
Code: 0
URI: http://www.partsforscooters.com/Vehicle-Type/125cc-150cc-GY6-4-Stroke-Cylinder-Valve-Cover-Parts
Message: 'null' is null or not an object
Line: 654
Char: 5
Code: 0
URI: http://www.partsforscooters.com/Vehicle-Type/125cc-150cc-GY6-4-Stroke-Cylinder-Valve-Cover-Parts
Two main reasons for this error.
1) A script is loaded before the body content is loaded.
Fix: place the script in a function and call it on a event or (not recommended) place the script below the
body content just above the closing </body> tag
1) You are referencing a parent to child object in the wrong sequence.
Fix:
Use this reference to navigate through the objects and their child objects on a page.
This is a common error in many scripts.
For example
document.radio name is an error
document.form name.radio name is valid
762 views
Usually answered in minutes!
×