Opened 18 years ago

Closed 17 years ago

#1 closed defect (worksforme)

Initialize GUI with WMC error

Reported by: arnulf Owned by: christoph
Priority: blocker Milestone: 2.5 release
Component: wmc Version: 2.4.1
Keywords: None Cc: joscha.map@…

Description

Initiating Mapbender with http://.../frames/login.php?name=...&password=...&mb_user_myGui=...&wmc_id=... produces a blank map window without any WMS services. user and gui are the same as the WMC document has been created with.

The GUI starts without any WMS service.

Change History (15)

comment:1 by christoph, 18 years ago

Status: newassigned

comment:2 by joscha.ma@…, 18 years ago

Keywords: Load a WMC added

Loading a WMC from the list with the "Load a WMC" button is also not working, if you start with a blank GUI (without any WMS services). If you add a WMS service first and then you try to load a WMC, it is working just fine.

comment:3 by christoph, 18 years ago

what is the error message?

try Firefox and the plug-in Firebug (www.getfirebug.com)

in reply to:  3 comment:4 by joscha.ma@…, 18 years ago

Firebug shows the following errors:

this.wms[0] has no properties
http://.../mapbender/javascripts/map.php?gui_id=...&&mb_myBBOX=
Line 127

wms[0] has no properties
http://.../mapbender/javascripts/map.php?gui_id=...&&mb_myBBOX=
Line 180

mb_mapObj[ind] has no properties
http://.../mapbender/javascripts/map.php?gui_id=...&&mb_myBBOX=
Line 803

And after clicking on the "Adding WMS" button:

mod_addWMS_load is not defined
http://.../mapbender/javascripts/map.php?gui_id=...&&mb_myBBOX=
Line 1258

comment:5 by christoph, 18 years ago

thank you, I will look into it.

comment:6 by christoph, 18 years ago

the problem with "add WMS" may be related to this bug

http://trac.osgeo.org/mapbender/ticket/35

comment:7 by joscha.map@…, 18 years ago

Version: 2.42.4.1

Problem is still there in Version 2.4.1. Loading/storing a WMC document with the buttons works, but with ...login.php?...wmc_id=... it shows a broken GUI with no maps, no overview and so on. No button works (except logout).

Firebug shows 9 errors:

unterminated string literal
http://.../mapbender/javascripts/map.php?gui_id=...&&mb_myBBOX=
Line 2011

mb_registerSubFunctions is not defined
http://.../mapbender/frames/index.php?PHPSESSID=iqbp1fosjcn4gq25s971r2i5o4&gui_id=...
Line 28

parent.mb_registerSubFunctions is not a function
http://.../mapbender/javascripts/mod_legend.php?&guiID=...&elementID=legend&wms_legend%20=%20yes&e_id_css=legend&e_id=legend
Line 49

parent.mb_registerSubFunctions is not a function
http://.../mapbender/php/mod_mapOV.php?wms=0&&guiID=...&elementID=overview&e_id_css=overview&e_id=overview
Line 33

parent.mb_registerSubFunctions is not a function
http://.../mapbender/php/mod_changeEPSG.php?&guiID=...&elementID=changeEPSG&e_id_css=changeEPSG&e_id=changeEPSG
Line 15

parent.mb_registerMapObj is not a function
http://.../mapbender/php/mod_mapOV.php?wms=0&&guiID=...&elementID=overview&e_id_css=overview&e_id=overview
Line 18

parent.mb_registerloadWmsSubFunctions is not a function
http://.../mapbender/html/mod_treefolder2.php?&guiID=...&elementID=treeGDE&e_id_css=treeGDE&e_id=treeGDE
Line 173

parent.mb_registerMapObj is not a function
http://.../mapbender/php/mod_map1.php?&guiID=...&elementID=mapframe1&e_id_css=mapframe1&e_id=mapframe1
Line 17

init is not defined
http://.../mapbender/frames/index.php?PHPSESSID=iqbp1fosjcn4gq25s971r2i5o4&gui_id=...
Line 1

in reply to:  7 comment:8 by christoph, 18 years ago

Cc: joscha.map@… added

Thanks Joscha,

can you send the WMC to me via e-Mail? It seems to be an encoding problem. I think we will find a solution real soon, as it works via "load WMC".

christoph.baudson@…

comment:9 by anonymous, 17 years ago

Cc: None added; joscha.map@… removed
Component: coredatabase
Keywords: None added; Load a WMC removed
Milestone: internationalization
Priority: majorblocker
Summary: Initialize GUI with WMC errorNone
Version: 2.4.12.4

comment:10 by anonymous, 17 years ago

Component: databasedigitizing
Priority: blockercritical
Type: defectrefactoring
Version: 2.42.1

comment:11 by christoph, 17 years ago

Cc: joscha.map@… added; None removed
Component: digitizingcore
Milestone: internationalization
Priority: criticalblocker
Summary: NoneInitialize GUI with WMC error
Type: refactoringdefect
Version: 2.12.4.1

comment:12 by christoph, 17 years ago

Component: corewmc

comment:13 by christoph, 17 years ago

Please send me a WMC or I have to close this ticket, as it works for me. Thank you!

comment:14 by christoph, 17 years ago

Milestone: Milestone 2.5 release

comment:15 by christoph, 17 years ago

Resolution: worksforme
Status: assignedclosed
Note: See TracTickets for help on using tickets.