[mapguide-users] PHP-CGI remote code execution bug

2012-05-08 Thread Berg, Leandros van den [FGSBV]
Hi Everyone, Does anybody know to what extent the PHP-CGI remote code execution bug found by Eindbazen (http://eindbazen.net/2012/05/php-cgi-advisory-cve-2012-1823/), which is not solved by the latest PHP update (http://www.php.net/archive/2012.php#id2012-05-06-1), affects MapGuide Open Source

RE: [mapguide-users] Translate fusion template tabs in FR

2012-03-02 Thread Berg, Leandros van den [FGSBV]
Hi Iulia, You also need to copy the file 'MapGuide\Web\www\localized\en' to 'fr', otherwise it defaults to 'en' when it can't be found. To force MapGuide to use 'fr', add 'locale=fr' to your url. If there are still some strings not translated, check your application definition and/or your

RE: [mapguide-users] Translate fusion template tabs in FR

2012-03-01 Thread Berg, Leandros van den [FGSBV]
Hi Iulia, Have a look at this: http://osgeo-org.1560.n6.nabble.com/Localized-Search-Quick-Plot-and-Prin t-widgets-td4183118.html Kind regards, Leandros ___ mapguide-users mailing list mapguide-users@lists.osgeo.org

[mapguide-users] Restrict zoom to max extent overlay layer with Google Maps as base layer

2012-02-27 Thread Berg, Leandros van den [FGSBV]
Hi All, The question has been asked before but unfortunately was unanswered (http://osgeo-org.1560.n6.nabble.com/Zoom-Restriction-Google-Map-td41872 54.html), so I'll ask it again. I use MapGuide Maestro to set up my application definition. I've been going through Generic.js, which is executed

RE: [mapguide-users] Re: Popup info on data with Google Maps asexternal provider

2012-02-10 Thread Berg, Leandros van den [FGSBV]
Hi Martin, I believe this is a feature of the Google Maps API v3.7. When you open your flexible layout in the xml editor, you'll see at the bottom a GoogleScript element. In there you'll find this link: http://maps.google.com/maps/api/js?sensor=false Because there is no specific API version

RE: [mapguide-users] Re: Popup info on data with Google Maps asexternalprovider

2012-02-10 Thread Berg, Leandros van den [FGSBV]
Hi Martin, I assume then you have created the application within MapGuide Maestro by adding an Application Definition resource and selecting the Slate template. In that case, when you open the resource in MapGuide Maestro, at the top of the screen there is a button 'Edit as XML'. At the bottom of

RE: [mapguide-users] Re: Localized Search, Quick Plot, and Print widgets

2011-11-22 Thread Berg, Leandros van den [FGSBV]
Hi Jackie, Thanks for your reply. I'm confirming localization changes kick in when the web server is restarted. This may be a very unwelcome thing to do though when running multiple websites on the web server. I found that just stopping and starting the default application pool MapGuideAppPool

[mapguide-users] Localized Search, Quick Plot, and Print widgets

2011-11-21 Thread Berg, Leandros van den [FGSBV]
Hi all, For some reason, calling my FlexibleLayout with the parameter 'locale=nl' does not localize the Search and Quick Plot widget. I found there are quite some steps to get everything, well almost everything, localized. First, I copied the files en and en.json to nl and nl.json and translated

[mapguide-users] Re: Scalebar: TypeError, Fusion Error, and NS_ERROR_DOM_INVALID_ACCESS_ERR

2011-11-11 Thread Berg, Leandros van den [FGSBV]
Your solution worked and the correct label is now placed above the scalebar as well. I've managed to pinpoint where the error is thrown, it is this line if(typeof(aSheet.cssRules) == 'undefined') { Apparently aSheet doesn't have the cssRules parameter when your not debugging. I haven't got a

[mapguide-users] Re: Scalebar: TypeError, Fusion Error, and NS_ERROR_DOM_INVALID_ACCESS_ERR

2011-11-11 Thread Berg, Leandros van den [FGSBV]
OK. It's not due to the fact I'm adding the stylesheet as a link element. I ruled that out by hardcoding the url in Scalebar.js. Apparently, Firefox sees localhost and localhost:80 as different domains and that's why it throws the NS_ERROR_DOM_SECURITY_ERR error. So I set the url to

[mapguide-users] Re: Scalebar: TypeError, Fusion Error, and NS_ERROR_DOM_INVALID_ACCESS_ERR

2011-11-10 Thread Berg, Leandros van den [FGSBV]
Hi Jamo, I think the double quotations are optional within url() and adding them, unfortunately, didn't solve NS_ERROR_DOM_INVALID_ACCESS_ERR. That same line was throwing me a NS_ERROR_DOM_SECURITY_ERR with Firefox. Apparently that error is thrown when the file comes from a different domain,

[mapguide-users] Re: Scalebar: TypeError, Fusion Error, and NS_ERROR_DOM_INVALID_ACCESS_ERR

2011-11-10 Thread Berg, Leandros van den [FGSBV]
Need to correct myself, the NS_ERROR_DOM_SECURITY_ERR error is still thrown, which is weird because I'm running everything on localhost and the url is pointing to localhost as well. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org

[mapguide-users] RE: Another Fusion Question scalebar this time.

2011-11-09 Thread Berg, Leandros van den [FGSBV]
Jamo, I'm glad it worked. Thanks for having a look at my problem as well. Your solution also worked for me, but only for Internet Explorer. Firefox is still giving me the A parameter or an operation is not supported by the underlying object exception for scalebartool.js. I'm going to switch

RE: [mapguide-users] Scalebar: TypeError, Fusion Error, and NS_ERROR_DOM_INVALID_ACCESS_ERR

2011-11-09 Thread Berg, Leandros van den [FGSBV]
Thanks to Jamos' solution in his post (http://osgeo-org.1803224.n2.nabble.com/Another-Fusion-Question-scalebar -this-time-tp6972608p6976316.html), he managed to solve the TypeError and the Scalebar widget works properly now in Internet Explorer. However, the NS_ERROR_DOM_INVALID_ACCESS_ERR error

RE: [mapguide-users] Another Fusion Question scalebar this time.

2011-11-08 Thread Berg, Leandros van den [FGSBV]
Hi Adam, Have a look at the Slate template fusion\templates\mapguide\slate\index.html. You don't need to create a new container for it, just add the Scalebar div to your Map div. div id=Map div id=Scalebar/div /div There are two types of Scalebar widgets, Scalebar and ScalebarDual and as you

RE: [mapguide-users] Query widget: Internal Server Error onquerycontroller.php with max. results 30

2011-10-27 Thread Berg, Leandros van den [FGSBV]
Engineering Design Systems, Inc. 3780 Peters Creek Rd Ext SW Roanoke, VA 24018 540.345.1410 gis.edsi.com -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Berg, Leandros van den [FGSBV] Sent: Wednesday, October 26

RE: [mapguide-users] Re: Query widget: Internal Server Error on querycontroller.php with max. results 30

2011-10-27 Thread Berg, Leandros van den [FGSBV]
Hi Jackie, I'm using a SHP Feature Source with unmanaged files. Using managed files leads to the same problem. But I noticed now that it only happens when I query a layer with area types. Querying a layer with curve types works fine. Leandros ___

RE: [mapguide-users] Re: Query widget: Internal Server Error on querycontroller.php with max. results 30

2011-10-27 Thread Berg, Leandros van den [FGSBV]
Hi Jackie, There must be something wrong with my source files. I tested another files with area types and the querying the layer worked fine. The difference is that these files are in coordinate system RDNew and the other ones are in WGS84.PseudoMercator so I can put the Google Maps layer under

[mapguide-users] Query widget: Internal Server Error on querycontroller.php with max. results 30

2011-10-26 Thread Berg, Leandros van den [FGSBV]
Hi mapguide-users, When I execute a query and the maximum results are set higher than 30, I get a HTTP Error 500.0 - Internal Server Error on querycontroller.php and no results are shown. Setting the maximum result to 30 or less, the error does not occur and the results are shown. I'm using IIS

[mapguide-users] Scalebar: TypeError, Fusion Error, and NS_ERROR_DOM_INVALID_ACCESS_ERR

2011-10-21 Thread Berg, Leandros van den [FGSBV]
Hello mapguide-users, I've been trying to get the Fusion Scalebar widget to work with Internet Explorer and Firefox but keep getting these errors. When I open the public url of my FlexibleLayout this TypeError in OpenLayers.js comes up in the console of firebug: TypeError: func.apply is not a