SpyrData.js Unknown error in Internet Explorer
Hello my most learned friends!
I am having a problem in Internet Explorer with a page I'm
developing. I'm using SpryData.js to import some XML data for a
photo gallery. It works fine in Safari and Firefox 2 but displays
nothing but an unknown error message at line 1178 in SpryData.js
which is:
if (!hasSpryContent)
// Clear the region.
rgn.innerHTML = ""; <--- line 1178
Is there a way around this?
Thanks.
- Peter
I found
this
post on the forum relating to sprydata.js and it got me
thinking . . . maybe I've got a tag or an element that doesn't have
an innerHTML. So I hunted for this tag like I hunt for my inner
child and I found the problem.
<script type="text/javascript"
SPRYREGION:DETAILSREGION="DSDATA"> //emphasis mine
Somewhere in the production cycle me inner child must have
put that "spry:region" in by mistake. Sorry to raise a fuss. I
learned something from this - let the adults do the coding and
leave the inner children with the design.
Similar Messages
-
Spry Validation Error in Internet Explorer
Hi,
I have a PHP form with Spry Validation for Textfields and Selction.
The init part in the HTML form looks like this:
var spryradioanrede = new Spry.Widget.ValidationRadio("spryradioanrede", {isRequired:true, validateOn:["change,blur"]});
var sprytextfieldvorname = new Spry.Widget.ValidationTextField("sprytextfieldvorname", "none", {isRequired:true, validateOn:["change,blur"]});
var sprytextfieldnachname = new Spry.Widget.ValidationTextField("sprytextfieldnachname", "none", {isRequired:true, validateOn:["change,blur"]});
var sprytextfieldstrasse = new Spry.Widget.ValidationTextField("sprytextfieldstrasse", "none", {isRequired:true, validateOn:["change,blur"]});
var sprytextfieldhausnummer = new Spry.Widget.ValidationTextField("sprytextfieldhausnummer", "none", { validateOn:["change,blur"]});
var sprytextfieldplz = new Spry.Widget.ValidationTextField("sprytextfieldplz", "none", {useCharacterMasking:true, pattern:"00000", validateOn:["change,blur"]});
var sprytextfieldort = new Spry.Widget.ValidationTextField("sprytextfieldort", "none", {isRequired:true, validateOn:["change,blur"]});
var sprytextfieldemail = new Spry.Widget.ValidationTextField("sprytextfieldemail", "email", { validateOn:["change,blur"]});
var sprytextfieldvorwahl = new Spry.Widget.ValidationTextField("sprytextfieldvorwahl", "none", {validation:isNumeric,isRequired:false, validateOn:["change,blur"]});
var sprytextfieldrufnummer = new Spry.Widget.ValidationTextField("sprytextfieldrufnummer", "none", {validation:isNumeric, isRequired:false, validateOn:["change,blur"]});
var sprytextfieldausweisnummer = new Spry.Widget.ValidationTextField("sprytextfieldausweisnummer", "none", {validation:isValididentitycard, validateOn:["blur"]});
var sprytextfieldstaatsangehoerigkeit = new Spry.Widget.ValidationTextField("sprytextfieldstaatsangehoerigkeit", "none", {isRequired:true, validateOn:["change,blur"]});
var spryselectfieldtag = new Spry.Widget.ValidationSelect("spryselectfieldtag", {isRequired:true, validateOn:["change,blur"]});
var spryselectfieldmonat = new Spry.Widget.ValidationSelect("spryselectfieldmonat", {isRequired:true, validateOn:["change,blur"]});
var spryselectfieldjahr = new Spry.Widget.ValidationSelect("spryselectfieldjahr", {isRequired:true, validateOn:["change,blur"]});
When loading the page an error in Internet Explorer 8 occures:
Error Details from IE:
Benutzer-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; MDDR; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
Zeitstempel: Mon, 31 Aug 2009 08:54:38 UTC
Meldung: 'this.input.defaultValue' ist Null oder kein Objekt
Zeile: 1734
Zeichen: 2
Code: 0
URI: http://.../SpryAssets/SpryValidationTextField.js
When loading the page the first time it's not a big problem. But when the users enters some unvalid data the page lodes again and in the onload section from the body the function validateall is startet.
function validateall() {
status = 0;
status += spryradioanrede.validate();
status += sprytextfieldvorname.validate();
status += sprytextfieldnachname.validate();
status += sprytextfieldstrasse.validate();
status += sprytextfieldstrasse.validate();
status += sprytextfieldplz.validate();
status += sprytextfieldort.validate();
status += sprytextfieldemail.validate()
status += sprytextfieldvorwahl.validate();
status += sprytextfieldrufnummer.validate();
status += sprytextfieldausweisnummer.validate();
status += sprytextfieldstaatsangehoerigkeit.validate();
status += spryselectfieldtag.validate();
status += spryselectfieldmonat.validate();
status += spryselectfieldjahr.validate();
if (status < 15) {
return 0;
} else {
return 1;
The error occurs again and the validation is not yet done. Which means, that the fields with problems will not be marked. When entering the field afterward and changing or blur everything works ok and the field is marked in red. Only the onload is not working.
Any ideas, what the problem is?
Thank
MichaelIt seems to be an Error in Spry,
Open the SpryValidationTextField.js
find:
Spry.Widget.ValidationTextField.prototype.reset = function() {
this.removeHint();
this.oldValue = this.input.defaultValue;
this.resetClasses();
if (Spry.is.ie) {
//this will fire the onpropertychange event right after the className changed on the container element
//IE6 will not fire the first onpropertychange on an input type text after a onreset handler if inside that handler the className of one of the elements inside the form has been changed
//to reproduce: change the className of one of the elements inside the form from within the onreset handler; then the onpropertychange does not fire the first time
this.input.forceFireFirstOnPropertyChange = true;
this.input.removeAttribute("forceFireFirstOnPropertyChange");
var self = this;
setTimeout(function() {self.putHint();}, 10);
and replace with:
Spry.Widget.ValidationTextField.prototype.reset = function() {
this.removeHint();
this.oldValue = this.input && this.input.defaultValue ? this.input.defaultValue : "";
this.resetClasses();
if (Spry.is.ie) {
//this will fire the onpropertychange event right after the className changed on the container element
//IE6 will not fire the first onpropertychange on an input type text after a onreset handler if inside that handler the className of one of the elements inside the form has been changed
//to reproduce: change the className of one of the elements inside the form from within the onreset handler; then the onpropertychange does not fire the first time
this.input.forceFireFirstOnPropertyChange = true;
this.input.removeAttribute("forceFireFirstOnPropertyChange");
var self = this;
setTimeout(function() {self.putHint();}, 10);
To see if it helps -
Error in Internet Explorer when loading from cache
Hello all,
I have this error in internet explorer when it's loading the swf from cache
"ArgumentError: Error #2015: Invalid BitmapData.
at flash.display::BitmapData()"
If you have a solution for me I will appreciate.
ThanksI've just run into this error as well. It only occurs when you have loaded your SWF into cache and you refresh the page. This error does not occur if the user opens a new tab and visits the site (even if the cache has that SWF). Right now, I am stumped on how to resolve this issue without the help of Adobe. There is a critical site launch that depends on BitmapData to work properly.
Adobe, I will also be posting this in your bug system. -
Error in Internet Explorer with Muse
I have an error in Internet Explorer and cannot seem to find the resolve in your Q&A databases. It is: museJSAssert: Error calling selector function:Error: Invalid argument; I have gone thru this website for answers (looked at the code thru a code editor and any broken links as per mentioned in posted discussions)... This site is live right now, it works in Safari, Chrome and Firefox. NEED HELP ASAP PLEASE!
I have periods instead of dashes in the phone numbers... could this be it? OR some of the page links are not active yet... I am guessing at this point as I am relatively new to web/muse design. Any help would be fantastic! Thank you very much! Oh, the website address is www.rubarb.ca (yes, that is spelled correctly)... THANKS AGAIN!I've just run into this error as well. It only occurs when you have loaded your SWF into cache and you refresh the page. This error does not occur if the user opens a new tab and visits the site (even if the cache has that SWF). Right now, I am stumped on how to resolve this issue without the help of Adobe. There is a critical site launch that depends on BitmapData to work properly.
Adobe, I will also be posting this in your bug system. -
Sizing Error in Internet Explorer 7
I am currently developing a website that uses the xspf mp3
player (
http://musicplayer.sourceforge.net/).
I set the object size to width=100% and height=100% when I embed
the flash swf file. In Firefox the player is correctly sized to be
contained within the div it resides in but in internet explorer it
ignores my size tags and makes it the default size of the player.
http://exile.thepocketofresistance.com/
Is this a known issue? Do I need to detect IE and run a
workaround in Javascript or am I just being dumb and missing
something? Ignore the content :) Obviously it is a dev site for a
friend.I've just run into this error as well. It only occurs when you have loaded your SWF into cache and you refresh the page. This error does not occur if the user opens a new tab and visits the site (even if the cache has that SWF). Right now, I am stumped on how to resolve this issue without the help of Adobe. There is a critical site launch that depends on BitmapData to work properly.
Adobe, I will also be posting this in your bug system. -
Script error 2126 internet explorer 9
Cannot print from internet
Hello caajuun,
Although downgrading IE9 to IE8 may resolve the issue. Folllowing the steps outlined in this guide will help you continue to use IE9 and be able to print.
Script error when trying to print from Internet Explorer 9
If I have helped you in any way click the Kudos button to say Thanks.
The community works together, click Accept as Solution on the post that solves your issue for other members of the community to benefit from the solution.
- Friendship is magical. -
Error: close Internet Explorer to continue
I keep getting an error message that I must close Internet Explorer to continue but it is already closed, even the Task Manager says so. I have tried at least a dozen times this week.
Did you use the Processes tab in the Task Manager?
-
Hello,
I created a podcast page in iWeb 09 but it deos not display propeorly in IE.
I can only see the page but not the content.
What can be wrong?
Error text:
Line 47
Character 575
Error: " 'undefined' is Null or not an object"
Code 0my site creates the same error. all pages begin at http://www.emersonusainc.com. everything looks fine but there is that small yellow image in the bottom left hand corner in internet explorer that signifies error. should i delete that line of code?
-
Javascript error in Internet Explorer: status is null or not object
Hi.
I use Oracle AS MapViewer 1033p5_B081010, and show maps fine with firefox, but failure with Internet Explorer, and not show map.
My error description in javascript is :
Line: 1143
Character: 1
Error: 'status' is null or is not object
Any Idea?
Please I need a solution or help for solution.
Regards,
Marcelo A. VasquezHi Marcelo,
it may be something in your java script code around line 1143 ('status' parameter?). IE seems not to like it. I would check this piece of code.
Joao -
Flash errors in internet explorer
I'm a newbie in flash. I finished my degree about 3 months
ago and have been learning Flash with Actionscript since.
I am going crazy because no matter how hard I try, unexpected
errors keep showing up in Internet Explorer. Mozilla Firefox works
perfectly, almost the same as when I test the movies in Flash. I am
considering making Flash development my career and need to know if
the error is in my programming or if Internet Explorer is to blame.
I am building a site for somebody right now, and I don't know how
to explain the sudden image resizes, disappearing preloaders and
other strange phenomena. My biggest problems are loaders constantly
changing sizes and preloaders not appearing to indicate loading
percentage.
Should I tell people to download different browsers to view
my Flash sites, or is there something I can do to make Internet
Explorer work correctly?I recall these windows popping up in older versions of
Internet Explorer and older versions of Flash Player. Im not sure
which it depended on, but if you recently updated your Flash
Player, then that is likely the cause. You can always use Firefox
and download/install firebug extension and/or flashtracer
extension. -
Installing elements, error internet explorer 4 or greater needed, I have ie 11????
Is this any help - http://forums.adobe.com/message/5757376.
Cheers,
Neale
Insanity is hereditary, you get it from your children
If this post or another user's post resolves the original issue, please mark the posts as correct and/or helpful accordingly. This helps other users with similar trouble get answers to their questions quicker. Thanks. -
HT204406 Getting "Unknown Error" Check internet connection when downloading from itunes match
I recently uploaded all of my songs from my PC to the itunes match cloud. I was able to sucessfully download a few songs last night. Now when I try to download the songs I get an "unknown" error and to check my internet connection. I have confirmed that my internet connection is working because I am able to access outside websites. I'm not sure where to go from here. any help is greatly appreciated!
Thank you,There are many versions of this song in the UK Store. If you contact Apple from the iTunes section of the website (make sure you have the purchase details to hand), they should credit you so you can purchase another version of the song.
When you contact them, mention the problem file so they know to pull it. -
Javascript in Dreamweaver error in internet explorer but not in mozilla
Hi,
I had a friend create a image viewer of flash files for my
site so when you roll over an image it would show the flash SWF.
However it stalls in internet explorer but works fine in mozilla.
How do I make it work on both here is the code that was used :
<script language="javascript" type="text/javascript">
function loadSwf()
document.getElementById('swfLayer').innerHTML = "<object
type='application/x-shockwave-flash'
data='images/Multimedia/orbit.swf' width='400'
height='300'><param name='movie' value='orbit.swf'
/></object>";
function loadSwf2()
document.getElementById('swfLayer').innerHTML = "<object
type='application/x-shockwave-flash'
data='images/Multimedia/banner.swf' width='400'
height='300'><param name='movie' value='banner.swf'
/></object>";
function loadSwf3()
document.getElementById('swfLayer').innerHTML = "<object
type='application/x-shockwave-flash'
data='images/Multimedia/logo.swf' width='400'
height='300'><param name='movie' value='logo.swf'
/></object>";
function loadSwf4()
document.getElementById('swfLayer').innerHTML = "<object
type='application/x-shockwave-flash'
data='images/Multimedia/babypicture.swf' width='400'
height='300'><param name='movie' value='babypicture.swf'
/></object>";
<div id="linksLayer" style="position: absolute; top:
390px; left: 440px; width: 492px;">
<a href="javascript: void(0);" onmouseover="loadSwf();"
style="color: #999999;"><img
src='images/Multimedia/orbit.jpg' onmouseover="loadswf();" />
<a href="javascript: void(0);" onmouseover="loadSwf2();"
style="color: #999999;"> <img
src='images/Multimedia/banner.jpg' onmouseover="loadswf2();" />
<a href="javascript: void(0);" onmouseover="loadSwf3();"
style="color: #999999;"> <img
src='images/Multimedia/logo.jpg' onmouseover="loadswf3();" />
<a href="javascript: void(0);" onmouseover="loadSwf4();"
style="color: #999999;"> <img
src='images/Multimedia/baby3.jpg' onmouseover="loadswf4();" />Post a link to your page, please.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"DMFowlkes" <[email protected]> wrote in
message
news:[email protected]...
>I have just noted a similar problem in IE7 and, just
updated
>Mozilla/Firefox
> today and have the same problem in Firefox. The Flash
shows only a blank
> space
> when displayed with either browser:
>
> <script src="../Scripts/AC_RunActiveContent.js"
type="text/javascript">
> AC_FL_RunContent(
> 'codebase','
http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#
>
version=6,0,29,0','width','328','height','164','src','Flash/eyemovev.2','quality
> ','high','pluginspage','
http://www.macromedia.com/go/getflashplayer','movie','Fl
> ash/eyemovev.2' ); //end AC code
> </script><noscript><object
> classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
> codebase="
http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#ve
> rsion=6,0,29,0" width="328" height="164">
> <param name="movie" value="Flash/eyemovev.2.swf">
> <param name="quality" value="high">
> <embed src="Flash/eyemovev.2.swf" quality="high"
> pluginspage="
http://www.macromedia.com/go/getflashplayer"
> type="application/x-shockwave-flash" width="328"
>
height="164"></embed></object></noscript>
>
> The Adobe Developer Center suggested they had a fix for
similar problems
> (basically what I have done above) and showed examples,
before and after
> on the
> web page:
>
http://www.adobe.com/devnet/activecontent/articles/before_after.html#linktocapti
> ve
>
> The sample pages: "before" nor "after" work to show the
sample movie in my
> IE
> 7 (7.0.5730.11)
>
> Any ideas for a work around?
> -
FileRef.browse() error with Internet Explorer
In some versions of Internet Explorer 6.0 the
FileRef.browse() method causes the crashing of the browser. It
simply disappear.hmm thats odd, You can go another update on your IE, check
http://windowsupdate.microsoft.com
but i doubt thats the issue, HP really stinks but who knows if
thats related. Is the XP the oem install with all the junk they add
to it? Have you made sure your running the newest version of flash
and not the beta? Go here for the newest version
http://www.adobe.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash
If its only happening on that one spec machine I wouldnt
worry about it to much unless your app is destined for a corporate
enviroment where that spec is indeed the norm, in that case,
poop. -
Flashplayer installation error for Internet Explorer
Hi, I have tried to fix this myself but nothing I have tried has fixed the problem.
I have Windows Vista 64bit Home Premium and I'm not sure what version my flash player is for I Explorer.
Anyway, every time I try to install flash player for IE, it comes up with this error: The ActiveX control for Flash Player could not be registered. And then prompts me to follow this link: http://kb2.adobe.com/cps/191/tn_19166.html.
I have tried all of the fixes given to me at that link, but none seem to work. I noticed that on the very last fix dealing with registry keys, some of the keys that were mentioned in the link did not exist. Someone please help me with this, a step-by-step guide would be great!Mike~ wrote:
The first one had to do with post #7, when i put this into the comand prompt:cd %windir%\system32\macromed\flash
It came up with an error stating the system cannot find the path specified.
Since you are on a 64-bit OS, Flash Player is installed in a different location %WINDIR%\syswow64\Macromed\Flash
Mike~ wrote:
I continued on up to post #21, I found that my hosts file had the problem where i needed to change ::1 to 127.0.0.1 but when i tried to edit windows\system32\drivers\etc\hosts an error came up saying: Cannot create the C:\windows\system32\drivers\etc\hosts file. Make sure that the path and file name are correct.
The post that resolved the OP's problem is #27 (http://forums.adobe.com/message/2924049#2924049) pointing to http://kb2.adobe.com/cps/494/cpsid_49419.html to fix registry permissions
Message was edited by: ʇɐb ɹəuəllıʍ - fix typos.
Maybe you are looking for
-
Photos not appearing in "Last 12 Months"
My last 3 uploads from my Sony DSC-HX1 camera (that I have used for a year) is uploading to my iPhoto but will not show up in "last 12 months". I thought I deleted them but I found the pictures in Events. how do I get them back to "last 12 months"? I
-
When I am trying to sync ringtones in my library it tells it will erase what is already on my iPhone, but I can't get the ringtones in my iTunes library to my iPhone4.
-
Invoice combination in case of different ship to party
Hi, can one invoice be made for more than one sales orders if those sales orders have different ship to parties. regards sachin
-
Photo stream update - I should be eligible but nothing is coming up...
Whilst setting up iCloud, I was told I needed an update for iPhoto to be able to use Photo Stream. I clicked on learn more, and it says If you are using an earlier version of iPhoto 9: If you purchased iPhoto on the Mac App Store, or if it was preins
-
Indesign CS3 Crashes when loading text styles
hi all, i need some help. Indesign cs3 keeps crashing when I try to "load all text styles" from one indesign file to another. the file has ten styles (character & paragraph). I'm currently working on windows 7. thankyou for any information you can pr