[GeoNetwork-users] Genetwork error in Internet Explorer

Hi,

System: Linux Ubuntu 10.04 / Tomcat6 / Geonetwork 2.6.4

When calling geonetwork in InternetExplorer the following error messages appear and the application doesn´t load any more than the Banner!

Site: http://maps.zgb.de/geonetwork

IE 6:
A Runtime error has occurred. Do you wish to debug?
Line 647
Error: Unspecified Error.

IE 7:
A Runtime error has occurred. Do you wish to debug?
Line 647
Error: Unspecified Error.

IE8:
Zeile: 647
Fehler: Unbekannter Fehler.

in Script debugger:
OpenLayers.js Line 647 Character 186 - Unspecified Error.

In Code:
{return!!(document.namespaces)

Mozilla FireFox . Chrome , Safari and Opera work ok!

Does anyone have a fix or know how to get around this?

I have not altered any code in the viewer or played with GeoExt etc.

Thanks for any help,

Robert Buckley
www.zgb.de

Hello Robert,
it seems to be a well known ie-openlayers problem documented here
http://trac.osgeo.org/openlayers/ticket/2304

You can found some workaround here
http://stackoverflow.com/questions/1081812/javascript-unspecified-error-in-open-layers

Francesco

Il 19/01/2012 09:09, Robert Buckley ha scritto:

Hi,

System: Linux Ubuntu 10.04 / Tomcat6 / Geonetwork 2.6.4

When calling geonetwork in InternetExplorer the following error messages appear and the application doesn´t load any more than the Banner!

Site: http://maps.zgb.de/geonetwork

IE 6: A Runtime error has occurred. Do you wish to debug?
Line 647
Error: Unspecified Error.

IE 7:
A Runtime error has occurred. Do you wish to debug?
Line 647
Error: Unspecified Error.

IE8:
Zeile: 647
Fehler: Unbekannter Fehler.

in Script debugger:
OpenLayers.js Line 647 Character 186 - Unspecified Error.

In Code:
  {return!!(document.namespaces)

Mozilla FireFox . Chrome , Safari and Opera work ok!

Does anyone have a fix or know how to get around this?

I have not altered any code in the viewer or played with GeoExt etc.

Thanks for any help,

Robert Buckley
www.zgb.de
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

--

Hi Rob,

I reported a similar problem last week.

http://osgeo-org.1803224.n2.nabble.com/GeoNetwork-2-6-4-main-home-display-problems-with-IE6-IE7-and-IE9-tt7183806.html

You can look to see if the 'solution' at the top of that message works for you.

Regards

James

-----Original Message-----
From: Robert Buckley [mailto:robertdbuckley@…8…]
Sent: Thursday, January 19, 2012 8:10 AM
To: geonetwork-users@lists.sourceforge.net
Subject: [GeoNetwork-users] Genetwork error in Internet Explorer

Hi,

System: Linux Ubuntu 10.04 / Tomcat6 / Geonetwork 2.6.4

When calling geonetwork in InternetExplorer the following error messages appear and the application doesn´t load any more than the Banner!

Site: http://maps.zgb.de/geonetwork

IE 6:
A Runtime error has occurred. Do you wish to debug?
Line 647
Error: Unspecified Error.

IE 7:
A Runtime error has occurred. Do you wish to debug?
Line 647
Error: Unspecified Error.

IE8:
Zeile: 647
Fehler: Unbekannter Fehler.

in Script debugger:
OpenLayers.js Line 647 Character 186 - Unspecified Error.

In Code:
{return!!(document.namespaces)

Mozilla FireFox . Chrome , Safari and Opera work ok!

Does anyone have a fix or know how to get around this?

I have not altered any code in the viewer or played with GeoExt etc.

Thanks for any help,

Robert Buckley
www.zgb.de
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

--
This message (and any attachments) is for the recipient only. NERC
is subject to the Freedom of Information Act 2000 and the contents
of this email and any reply you make may be disclosed by NERC unless
it is exempt from release under the Act. Any material supplied to
NERC may be stored in an electronic records management system.

Thanks for the tips.

I have tried altering the code in /geonetwork/xsl/main-page.xsl ...to

<!--
main page
-->
<xsl:template match="/">
<!DOCTYPE html
PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd&quot;&gt;
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=8">

as you mentioned. This did not have any affect. The page still doesn´t load due to the same error.

Reading the stackoverflow threads, It seems to be the javascript loading before the DOM which causes the error....but I have no idea how this can be modified because i´m not well versed in xsl scripting.

Is this a new error to the 2.6.4 version? If so does anyone have code for the older versions...or do they also have this error in IE?

yours,

Rob

________________________________
Von: "Passmore, James H." <jpass@anonymised.com>
An: "geonetwork-users@lists.sourceforge.net" <geonetwork-users@anonymised.comforge.net>
Cc: Robert Buckley <robertdbuckley@anonymised.com>
Gesendet: 10:55 Donnerstag, 19.Januar 2012
Betreff: RE: [GeoNetwork-users] Genetwork error in Internet Explorer

Hi Rob,

I reported a similar problem last week.

http://osgeo-org.1803224.n2.nabble.com/GeoNetwork-2-6-4-main-home-display-problems-with-IE6-IE7-and-IE9-tt7183806.html

You can look to see if the 'solution' at the top of that message works for you.

Regards

James

-----Original Message-----
From: Robert Buckley [mailto:robertdbuckley@anonymised.com]
Sent: Thursday, January 19, 2012 8:10 AM
To: geonetwork-users@lists.sourceforge.net
Subject: [GeoNetwork-users] Genetwork error in Internet Explorer

Hi,

System: Linux Ubuntu 10.04 / Tomcat6 / Geonetwork 2.6.4

When calling geonetwork in InternetExplorer the following error messages appear and the application doesn´t load any more than the Banner!

Site: http://maps.zgb.de/geonetwork

IE 6:
A Runtime error has occurred. Do you wish to debug?
Line 647
Error: Unspecified Error.

IE 7:
A Runtime error has occurred. Do you wish to debug?
Line 647
Error: Unspecified Error.

IE8:
Zeile: 647
Fehler: Unbekannter Fehler.

in Script debugger:
OpenLayers.js Line 647 Character 186 - Unspecified Error.

In Code:
{return!!(document.namespaces)

Mozilla FireFox . Chrome , Safari and Opera work ok!

Does anyone have a fix or know how to get around this?

I have not altered any code in the viewer or played with GeoExt etc.

Thanks for any help,

Robert Buckley
www.zgb.de
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

--
This message (and any attachments) is for the recipient only. NERC
is subject to the Freedom of Information Act 2000 and the contents
of this email and any reply you make may be disclosed by NERC unless
it is exempt from release under the Act. Any material supplied to
NERC may be stored in an electronic records management system.

I had a similar problem, which was fixed by inserting

document.namespaces;

right before

Ext.onReady(function(){

~ line 217 in web/geonetwork/xsl/main-page.xsl

Jim

On Jan 18, 2012, at 11:09 PM, Robert Buckley wrote:

Hi,

System: Linux Ubuntu 10.04 / Tomcat6 / Geonetwork 2.6.4

When calling geonetwork in InternetExplorer the following error messages appear and the application doesn´t load any more than the Banner!

Site: http://maps.zgb.de/geonetwork

IE 6:
A Runtime error has occurred. Do you wish to debug?
Line 647
Error: Unspecified Error.

IE 7:
A Runtime error has occurred. Do you wish to debug?
Line 647
Error: Unspecified Error.

IE8:
Zeile: 647
Fehler: Unbekannter Fehler.

in Script debugger:
OpenLayers.js Line 647 Character 186 - Unspecified Error.

In Code:
{return!!(document.namespaces)

Mozilla FireFox . Chrome , Safari and Opera work ok!

Does anyone have a fix or know how to get around this?

I have not altered any code in the viewer or played with GeoExt etc.

Thanks for any help,

Robert Buckley
www.zgb.de
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

--

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
James Long
International Arctic Research Center
University of Alaska Fairbanks
jlong|at|alaska.edu
(907) 474-2440
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

James,

Many thanks for that snippet. That's solves the problem for me in IE9 and IE6.

Cheers

James

-----Original Message-----
From: James Long [mailto:jlong@…964…]
Sent: Thursday, January 19, 2012 10:37 PM
To: Robert Buckley
Cc: geonetwork-users@lists.sourceforge.net
Subject: Re: [GeoNetwork-users] Genetwork error in Internet Explorer

I had a similar problem, which was fixed by inserting

document.namespaces;

right before

Ext.onReady(function(){

~ line 217 in web/geonetwork/xsl/main-page.xsl

Jim

On Jan 18, 2012, at 11:09 PM, Robert Buckley wrote:

Hi,

System: Linux Ubuntu 10.04 / Tomcat6 / Geonetwork 2.6.4

When calling geonetwork in InternetExplorer the following error messages appear and the application doesn´t load any more than the Banner!

Site: http://maps.zgb.de/geonetwork

IE 6:
A Runtime error has occurred. Do you wish to debug?
Line 647
Error: Unspecified Error.

IE 7:
A Runtime error has occurred. Do you wish to debug?
Line 647
Error: Unspecified Error.

IE8:
Zeile: 647
Fehler: Unbekannter Fehler.

in Script debugger:
OpenLayers.js Line 647 Character 186 - Unspecified Error.

In Code:
{return!!(document.namespaces)

Mozilla FireFox . Chrome , Safari and Opera work ok!

Does anyone have a fix or know how to get around this?

I have not altered any code in the viewer or played with GeoExt etc.

Thanks for any help,

Robert Buckley
www.zgb.de
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

--

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
James Long
International Arctic Research Center
University of Alaska Fairbanks
jlong|at|alaska.edu
(907) 474-2440
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

--
This message (and any attachments) is for the recipient only. NERC
is subject to the Freedom of Information Act 2000 and the contents
of this email and any reply you make may be disclosed by NERC unless
it is exempt from release under the Act. Any material supplied to
NERC may be stored in an electronic records management system.

Hi,

I tried your solution and it does stop the appearance of the error message on start up. I now have the problem that as a metadata administrator I get an error when deleting a dataset.

I think the error needs to be looked at deeper by the developers, but for now at least the metadata can be searched and viewed in IE....to edit and create it is still safer to use Firefox or chrome.

Thanks anyway...

ps..any advice regarding the uploading of thumbnails? what could be going wrong?...if the file is being uploaded, then it is not a permissions problem. Does it work on your installation?

thanks,

Robert

________________________________
Von: James Long <jlong@anonymised.com>
An: Robert Buckley <robertdbuckley@anonymised.com>
Cc: "geonetwork-users@lists.sourceforge.net" <geonetwork-users@anonymised.comforge.net>
Gesendet: 23:36 Donnerstag, 19.Januar 2012
Betreff: Re: [GeoNetwork-users] Genetwork error in Internet Explorer

I had a similar problem, which was fixed by inserting

document.namespaces;

right before

Ext.onReady(function(){

~ line 217 in web/geonetwork/xsl/main-page.xsl

Jim

On Jan 18, 2012, at 11:09 PM, Robert Buckley wrote:

Hi,

System: Linux Ubuntu 10.04 / Tomcat6 / Geonetwork 2.6.4

When calling geonetwork in InternetExplorer the following error messages appear and the application doesn´t load any more than the Banner!

Site: http://maps.zgb.de/geonetwork

IE 6:
A Runtime error has occurred. Do you wish to debug?
Line 647
Error: Unspecified Error.

IE 7:
A Runtime error has occurred. Do you wish to debug?
Line 647
Error: Unspecified Error.

IE8:
Zeile: 647
Fehler: Unbekannter Fehler.

in Script debugger:
OpenLayers.js Line 647 Character 186 - Unspecified Error.

In Code:
{return!!(document.namespaces)

Mozilla FireFox . Chrome , Safari and Opera work ok!

Does anyone have a fix or know how to get around this?

I have not altered any code in the viewer or played with GeoExt etc.

Thanks for any help,

Robert Buckley
www.zgb.de
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

--

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
James Long
International Arctic Research Center
University of Alaska Fairbanks
jlong|at|alaska.edu
(907) 474-2440
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%