Ext


Go Back   Ext JS Forums > Ext JS Community Forums (1.x) [Unsupported] > Ext 1.x: Bugs

Reply
 
Thread Tools
  #1  
Old 04-08-2007, 05:33 AM
medusadelft medusadelft is offline
Ext User
 
Join Date: Apr 2007
Posts: 35
medusadelft is on a distinguished road
Default IE6 'unspecified error'

Hello,

I'm trying to use the yui- & ext-libraries.
The yui-javascript includes are: yahoo, animation, dom, event, dragdrop, container_core, menu, treeview
After that, I include:
yui-utilities, ext-yui-adapter, ext-all
(in that order)

On Firefox, everything works fine with no errors shown.
However on IE6 (win2k) I get an error (and the menu (from yui) is not shown):

Line: 12
Char: 714
Error: unspecified error
Code: 0

I think it's the ext-yui-adapter, as when I break the line at that point, the Line number in the error shifts accordingly.

Please help/advise.
I cannot give you access to the program at this time, but when needed I will try to set a sandbox up.

Thank you in advance,

Maurice Uijlenbroek
The Netherlands

Last edited by medusadelft; 04-08-2007 at 05:34 AM.. Reason: error in title corrected
Reply With Quote
  #2  
Old 04-08-2007, 12:56 PM
medusadelft medusadelft is offline
Ext User
 
Join Date: Apr 2007
Posts: 35
medusadelft is on a distinguished road
Default

I did some more searching on the internet and found this subject about altering the Dom causing an 'unspecified error' in IE6.

http://weblogs.asp.net/rajbk/archive...avascript.aspx

Is this (a similair) problem as mine? Any ideas would be appreciated.
Reply With Quote
  #3  
Old 04-08-2007, 01:16 PM
jack.slocum's Avatar
jack.slocum jack.slocum is offline
Ext JS - Development Team
 
Join Date: Mar 2007
Posts: 6,941
jack.slocum is on a distinguished road
Default

Are you using onAvailable? It is known to cause this error in my experience. Inline scripts accessing the DOM also cause it. Make sure you use onReady if possible.
__________________
Jack Slocum
Ext JS - Core Development Team
jack@extjs.com
Reply With Quote
  #4  
Old 04-08-2007, 05:32 PM
medusadelft medusadelft is offline
Ext User
 
Join Date: Apr 2007
Posts: 35
medusadelft is on a distinguished road
Default

Hi Jack,

I replaced all YAHOO.util.Event.addListener with Ext.onReady but still the same problem. I removed everything from my source file, except the menu and the problem still exists. Seems like YUI menu.js is doing something that is given me the problem. Strange thing is that without the ext-yui-adapter, the menu is working fine. Tomorrow, i'll try to assign the menu to a div instead of document.body, maybe that is the trick.
Reply With Quote
  #5  
Old 04-08-2007, 06:07 PM
tryanDLS tryanDLS is offline
Ext JS - Community Support Team
 
Join Date: Mar 2007
Posts: 7,374
tryanDLS is on a distinguished road
Default

AddListener and onReady are not interchanegable - you can't replace one with the other. I would recommend you start with the tutorials on the homepage and get an understanding of how to work with Ext and events. Also, if you post a sample page that illustrates what your code is doing, maybe someone can help you.
__________________
Tim Ryan - Ext JS Support Team
Read BEFORE posting a question / BEFORE posting a Bug
Use Google to Search - API / Forum
API Doc (3.x | 2.x | 1.x) / FAQ / Wiki / Tutorials / 1.x->2.0 Migration Guide
Reply With Quote
  #6  
Old 04-24-2007, 02:56 PM
medusadelft medusadelft is offline
Ext User
 
Join Date: Apr 2007
Posts: 35
medusadelft is on a distinguished road
Default

Hello jack & Tim,

Sorry it took so long, but tomorrow I will upload an example of the page that has the error in IE 6 (with all yui-libraries and the ext-library). Can't do it at this moment unfortunately.

I've tried the same example page in FireFox (works) and IE 7 (works too, surprisingly!), but I like to get it working in IE 6 as well.

Thanks in advance,

Maurice.
Reply With Quote
  #7  
Old 04-25-2007, 04:04 AM
medusadelft medusadelft is offline
Ext User
 
Join Date: Apr 2007
Posts: 35
medusadelft is on a distinguished road
Default

I've created a sandbox with an example page. I know not all links are valid, but that's not the point right now.
I've included all the yui-libs I need for this page, but I get the error even with less libraries (yahoo, event, dom, menu). I've used the latest YUI and EXT versions (2.2.2 and 1.0).

http://www.computercreations.nl/sandbox/dummy.html

It works in IE 7 and FireFox, but not in IE 6.
Any ideas are appreciated.

Best regards,
Maurice.
Reply With Quote
  #8  
Old 04-26-2007, 03:18 PM
jack.slocum's Avatar
jack.slocum jack.slocum is offline
Ext JS - Development Team
 
Join Date: Mar 2007
Posts: 6,941
jack.slocum is on a distinguished road
Default

There's two blocks like this:

<script language="JavaScript1.5" type="text/javascript">
<!--
document.body.style.cursor='wait';
if (parent.document != undefined) parent.document.body.style.cursor='wait';
// -->
</script>

Try removing those.
__________________
Jack Slocum
Ext JS - Core Development Team
jack@extjs.com
Reply With Quote
  #9  
Old 04-27-2007, 02:38 PM
medusadelft medusadelft is offline
Ext User
 
Join Date: Apr 2007
Posts: 35
medusadelft is on a distinguished road
Default

Hi Jack,

I have removed them. No luck, just the same error at the same line number.

Maurice.
Reply With Quote
  #10  
Old 05-04-2007, 09:04 AM
medusadelft medusadelft is offline
Ext User
 
Join Date: Apr 2007
Posts: 35
medusadelft is on a distinguished road
Default

Jack,

Is it possible to add the not minified yui-adapter files to the next release of the library so I can try to figure out the error myself and hopefully create a work-around?

Maurice.
Reply With Quote
Reply

Thread Tools

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

All times are GMT -5. The time now is 04:48 PM.

© 2006-2009 Ext, LLC
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.