Ticket #1 (closed defect: worksforme)

Opened 5 years ago

Last modified 4 years ago

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

  Changed 5 years ago by christoph

  • status changed from new to assigned

  Changed 5 years ago by joscha.ma@…

  • 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.

follow-up: ↓ 4   Changed 5 years ago by christoph

what is the error message?

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

in reply to: ↑ 3   Changed 5 years ago by joscha.ma@…

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

  Changed 5 years ago by christoph

thank you, I will look into it.

  Changed 5 years ago by christoph

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

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

follow-up: ↓ 8   Changed 5 years ago by joscha.map@…

  • version changed from 2.4 to 2.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   Changed 5 years ago by christoph

  • 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@…

  Changed 5 years ago by anonymous

  • cc None added; joscha.map@… removed
  • component changed from core to database
  • summary changed from Initialize GUI with WMC error to None
  • priority changed from major to blocker
  • version changed from 2.4.1 to 2.4
  • milestone set to internationalization
  • keywords None added; Load a WMC removed

  Changed 5 years ago by anonymous

  • priority changed from blocker to critical
  • type changed from defect to refactoring
  • version changed from 2.4 to 2.1
  • component changed from database to digitizing

  Changed 5 years ago by christoph

  • cc joscha.map@… added; None removed
  • component changed from digitizing to core
  • summary changed from None to Initialize GUI with WMC error
  • priority changed from critical to blocker
  • version changed from 2.1 to 2.4.1
  • milestone internationalization deleted
  • type changed from refactoring to defect

  Changed 4 years ago by christoph

  • component changed from core to wmc

  Changed 4 years ago by christoph

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

  Changed 4 years ago by christoph

  • milestone set to Milestone 2.5 release

  Changed 4 years ago by christoph

  • status changed from assigned to closed
  • resolution set to worksforme
Note: See TracTickets for help on using tickets.