[GeoNetwork-users] Error on page when starting GeoNetwork 2.1

Hi,
After first running GAST to configure the database (McKoi) and loading test data, I start the Jetty server and then GeoNetwork 2.1 user interface from an IE 6 browser, I get the following error on page...
  Line: 216
  Char: 39
  Error: Expected identifier, string or number
  Code: 0
  URL: http://localhost:8080/geonetwork/srv/en/main.home
Is this a bug, or is some other configuration necessary?
Any help would be appreciated.

Geoffi

Hi Geoffi,
Does it work on Firefox?
Did you try to use http://127.0.0.1:8080/geonetwork ?
Any problems in the logs under ../jetty/log/ ?
Ciao,
Jeroen

On Dec 10, 2007, at 5:48 AM, Geoff Innes wrote:

Hi,
After first running GAST to configure the database (McKoi) and loading test data, I start the Jetty server and then GeoNetwork 2.1 user interface from an IE 6 browser, I get the following error on page...
  Line: 216
  Char: 39
  Error: Expected identifier, string or number
  Code: 0
  URL: http://localhost:8080/geonetwork/srv/en/main.home
Is this a bug, or is some other configuration necessary?
Any help would be appreciated.

Geoffi

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
geonetwork-users List Signup and Options
GeoNetwork OpenSource is maintained at GeoNetwork - Geographic Metadata Catalog download | SourceForge.net

Hi Jeroen,

No change to the results when I tried IE6 but replacing localhost with the
IP address 127.0.0.1.

FireFox does not appear to produce errors, but examining the Error Console
shows the following warning messages:

Warning: Error in parsing value for property 'cursor'. Declaration dropped.
Source File: http://localhost:8085/geonetwork/geonetwork.css
Line: 148

Warning: Error in parsing value for property 'cursor'. Declaration dropped.
Source File: http://localhost:8085/geonetwork/geonetwork.css
Line: 216

Warning: Error in parsing value for property 'cursor'. Declaration dropped.
Source File: http://localhost:8085/geonetwork/geonetwork.css
Line: 226

Warning: Error in parsing value for property 'cursor'. Declaration dropped.
Source File: http://localhost:8085/geonetwork/geonetwork.css
Line: 288

Warning: Unknown property 'filter'. Declaration dropped.
Source File: http://localhost:8085/intermap/intermap-embedded.css?
Line: 593

Warning: Unknown property 'filter'. Declaration dropped.
Source File: http://localhost:8085/intermap/intermap-embedded.css?
Line: 594

Warning: Unknown property '-khtml-opacity'. Declaration dropped.
Source File: http://localhost:8085/intermap/intermap-embedded.css?
Line: 597

Warning: Unknown property 'filter'. Declaration dropped.
Source File: http://localhost:8085/intermap/intermap-embedded.css?
Line: 687

Warning: Unknown property 'align'. Declaration dropped.
Source File: http://localhost:8085/geonetwork/srv/en/main.home
Line: 0

Warning: Error in parsing value for property 'cursor'. Declaration dropped.
Source File: http://localhost:8085/geonetwork/srv/en/main.home
Line: 0

This last warning is repeated 22 times!

NOTE:

The first warnings relate to the file:
  c:\Program Files\GeoNetwork\web\geonetwork\geonetwork.css
containing the line:

  cursor: hand;
  
The second set of warning refer to the file:
  c:\Program Files\GeoNetwork\web\internap\intermap-embedded.css?

   line 593> filter:alpha (opacity=50); /* MS Internet Explorer */
   line 594> filter:progid:DXImageTransform.Microsoft.Alpha (style=0,
opacity=50); /* MS IE proprietory */

   line 597> -khtml-opacity:.5; /* Safari */
  
   line 687> filter: alpha(opacity=50);

There are 2 log files in the ..\jetty\log directory:
jeeves.log Contains INFO and DEBUG lines, but nothing untoward.
date.request.log Contains GET statements.

Does this help you?

Cheers...
Geoff

Jeroen Ticheler-3 wrote:

Hi Geoffi,
Does it work on Firefox?
Did you try to use http://127.0.0.1:8080/geonetwork ?
Any problems in the logs under ../jetty/log/ ?
Ciao,
Jeroen

On Dec 10, 2007, at 5:48 AM, Geoff Innes wrote:

Hi,
After first running GAST to configure the database (McKoi) and
loading test data, I start the Jetty server and then GeoNetwork 2.1
user interface from an IE 6 browser, I get the following error on
page...
  Line: 216
  Char: 39
  Error: Expected identifier, string or number
  Code: 0
  URL: http://localhost:8080/geonetwork/srv/en/main.home
Is this a bug, or is some other configuration necessary?
Any help would be appreciated.

Geoffi

----------------------------------------------------------------------
---
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
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

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
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

--
View this message in context: http://www.nabble.com/Error-on-page-when-starting-GeoNetwork-2.1-tp14247302s18419p14427433.html
Sent from the geonetwork-users mailing list archive at Nabble.com.

Hi Jeroen, Geoffi,

I too was much annoyed by this error message, and got tired of saying "I
don't know, just ignore it," when people asked me about it. So after much
digging and prodding I finally found the source of the problem and a
solution.

The problem lies in the file gn_search.js line 215 -
var closer = Builder.node('div', {class: "im_wbcloser"});
"class" is incorrect. It should be "Class:" (upper case C) or "id:". These
are references to the stylesheet intermap-embedded.css which has both a
class and id entry for im_wbcloser and both entries are identical.

Change this line to : var closer = Builder.node('div', {Class:
"im_wbcloser"}); or
var closer = Builder.node('div', {id: "im_wbcloser"});
and the error message goes away.

Please let me know if you find any problems with this solution.

Cheers,
Byron

geoffi wrote:

Hi Jeroen,

No change to the results when I tried IE6 but replacing localhost with the
IP address 127.0.0.1.

FireFox does not appear to produce errors, but examining the Error Console
shows the following warning messages:

Warning: Error in parsing value for property 'cursor'. Declaration
dropped.
Source File: http://localhost:8085/geonetwork/geonetwork.css
Line: 148

Warning: Error in parsing value for property 'cursor'. Declaration
dropped.
Source File: http://localhost:8085/geonetwork/geonetwork.css
Line: 216

Warning: Error in parsing value for property 'cursor'. Declaration
dropped.
Source File: http://localhost:8085/geonetwork/geonetwork.css
Line: 226

Warning: Error in parsing value for property 'cursor'. Declaration
dropped.
Source File: http://localhost:8085/geonetwork/geonetwork.css
Line: 288

Warning: Unknown property 'filter'. Declaration dropped.
Source File: http://localhost:8085/intermap/intermap-embedded.css?
Line: 593

Warning: Unknown property 'filter'. Declaration dropped.
Source File: http://localhost:8085/intermap/intermap-embedded.css?
Line: 594

Warning: Unknown property '-khtml-opacity'. Declaration dropped.
Source File: http://localhost:8085/intermap/intermap-embedded.css?
Line: 597

Warning: Unknown property 'filter'. Declaration dropped.
Source File: http://localhost:8085/intermap/intermap-embedded.css?
Line: 687

Warning: Unknown property 'align'. Declaration dropped.
Source File: http://localhost:8085/geonetwork/srv/en/main.home
Line: 0

Warning: Error in parsing value for property 'cursor'. Declaration
dropped.
Source File: http://localhost:8085/geonetwork/srv/en/main.home
Line: 0

This last warning is repeated 22 times!

NOTE:

The first warnings relate to the file:
  c:\Program Files\GeoNetwork\web\geonetwork\geonetwork.css
containing the line:

  cursor: hand;
  
The second set of warning refer to the file:
  c:\Program Files\GeoNetwork\web\internap\intermap-embedded.css?

   line 593> filter:alpha (opacity=50); /* MS Internet Explorer */
   line 594> filter:progid:DXImageTransform.Microsoft.Alpha (style=0,
opacity=50); /* MS IE proprietory */

   line 597> -khtml-opacity:.5; /* Safari */
  
   line 687> filter: alpha(opacity=50);

There are 2 log files in the ..\jetty\log directory:
jeeves.log Contains INFO and DEBUG lines, but nothing untoward.
date.request.log Contains GET statements.

Does this help you?

Cheers...
Geoff

Jeroen Ticheler-3 wrote:

Hi Geoffi,
Does it work on Firefox?
Did you try to use http://127.0.0.1:8080/geonetwork ?
Any problems in the logs under ../jetty/log/ ?
Ciao,
Jeroen

On Dec 10, 2007, at 5:48 AM, Geoff Innes wrote:

Hi,
After first running GAST to configure the database (McKoi) and
loading test data, I start the Jetty server and then GeoNetwork 2.1
user interface from an IE 6 browser, I get the following error on
page...
  Line: 216
  Char: 39
  Error: Expected identifier, string or number
  Code: 0
  URL: http://localhost:8080/geonetwork/srv/en/main.home
Is this a bug, or is some other configuration necessary?
Any help would be appreciated.

Geoffi

----------------------------------------------------------------------
---
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
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

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
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

--
View this message in context: http://www.nabble.com/Error-on-page-when-starting-GeoNetwork-2.1-tp14247302s18419p14726498.html
Sent from the geonetwork-users mailing list archive at Nabble.com.

Hi Byron,
Thanks! From what I see, this fix has been applied to the most recent code, so should be available in the RC0 release I will work on today.

Geoffi, the warnings in Firefox are correct indeed. They are warnings for issues that relate to IE 5 and Safari browser compatibility and as such do no harm.

Ciao,
Jeroen

On Jan 10, 2008, at 3:35 AM, ByronC wrote:

Hi Jeroen, Geoffi,

I too was much annoyed by this error message, and got tired of saying "I
don't know, just ignore it," when people asked me about it. So after much
digging and prodding I finally found the source of the problem and a
solution.

The problem lies in the file gn_search.js line 215 -
var closer = Builder.node('div', {class: "im_wbcloser"});
"class" is incorrect. It should be "Class:" (upper case C) or "id:". These
are references to the stylesheet intermap-embedded.css which has both a
class and id entry for im_wbcloser and both entries are identical.

Change this line to : var closer = Builder.node('div', {Class:
"im_wbcloser"}); or
var closer = Builder.node('div', {id: "im_wbcloser"});
and the error message goes away.

Please let me know if you find any problems with this solution.

Cheers,
Byron

geoffi wrote:

Hi Jeroen,

No change to the results when I tried IE6 but replacing localhost with the
IP address 127.0.0.1.

FireFox does not appear to produce errors, but examining the Error Console
shows the following warning messages:

Warning: Error in parsing value for property 'cursor'. Declaration
dropped.
Source File: http://localhost:8085/geonetwork/geonetwork.css
Line: 148

Warning: Error in parsing value for property 'cursor'. Declaration
dropped.
Source File: http://localhost:8085/geonetwork/geonetwork.css
Line: 216

Warning: Error in parsing value for property 'cursor'. Declaration
dropped.
Source File: http://localhost:8085/geonetwork/geonetwork.css
Line: 226

Warning: Error in parsing value for property 'cursor'. Declaration
dropped.
Source File: http://localhost:8085/geonetwork/geonetwork.css
Line: 288

Warning: Unknown property 'filter'. Declaration dropped.
Source File: http://localhost:8085/intermap/intermap-embedded.css?
Line: 593

Warning: Unknown property 'filter'. Declaration dropped.
Source File: http://localhost:8085/intermap/intermap-embedded.css?
Line: 594

Warning: Unknown property '-khtml-opacity'. Declaration dropped.
Source File: http://localhost:8085/intermap/intermap-embedded.css?
Line: 597

Warning: Unknown property 'filter'. Declaration dropped.
Source File: http://localhost:8085/intermap/intermap-embedded.css?
Line: 687

Warning: Unknown property 'align'. Declaration dropped.
Source File: http://localhost:8085/geonetwork/srv/en/main.home
Line: 0

Warning: Error in parsing value for property 'cursor'. Declaration
dropped.
Source File: http://localhost:8085/geonetwork/srv/en/main.home
Line: 0

This last warning is repeated 22 times!

NOTE:

The first warnings relate to the file:
  c:\Program Files\GeoNetwork\web\geonetwork\geonetwork.css
containing the line:

  cursor: hand;
  
The second set of warning refer to the file:
  c:\Program Files\GeoNetwork\web\internap\intermap-embedded.css?

   line 593> filter:alpha (opacity=50); /* MS Internet Explorer */
   line 594> filter:progid:DXImageTransform.Microsoft.Alpha (style=0,
opacity=50); /* MS IE proprietory */

   line 597> -khtml-opacity:.5; /* Safari */
  
   line 687> filter: alpha(opacity=50);

There are 2 log files in the ..\jetty\log directory:
jeeves.log Contains INFO and DEBUG lines, but nothing untoward.
date.request.log Contains GET statements.

Does this help you?

Cheers...
Geoff

Jeroen Ticheler-3 wrote:

Hi Geoffi,
Does it work on Firefox?
Did you try to use http://127.0.0.1:8080/geonetwork ?
Any problems in the logs under ../jetty/log/ ?
Ciao,
Jeroen

On Dec 10, 2007, at 5:48 AM, Geoff Innes wrote:

Hi,
After first running GAST to configure the database (McKoi) and
loading test data, I start the Jetty server and then GeoNetwork 2.1
user interface from an IE 6 browser, I get the following error on
page...
  Line: 216
  Char: 39
  Error: Expected identifier, string or number
  Code: 0
  URL: http://localhost:8080/geonetwork/srv/en/main.home
Is this a bug, or is some other configuration necessary?
Any help would be appreciated.

Geoffi

----------------------------------------------------------------------
---
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
geonetwork-users List Signup and Options
GeoNetwork OpenSource is maintained at http://sourceforge.net/
projects/geonetwork

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
geonetwork-users List Signup and Options
GeoNetwork OpenSource is maintained at
GeoNetwork - Geographic Metadata Catalog download | SourceForge.net

--
View this message in context: http://www.nabble.com/Error-on-page-when-starting-GeoNetwork-2.1-tp14247302s18419p14726498.html
Sent from the geonetwork-users mailing list archive at Nabble.com.

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
geonetwork-users List Signup and Options
GeoNetwork OpenSource is maintained at GeoNetwork - Geographic Metadata Catalog download | SourceForge.net