[Mapbender-users] problem with sld editor and geoserver

Michael Schulz mschulz at webgis.de
Tue Nov 9 04:45:40 EST 2010


Hi,

ok, thanks for that. Do you have assigned a wfs configuration to a wms
layer on which you want to use the SLD-Editor?

Cheers, Michael

2010/11/9 zorg <zorg at probesys.com>:
> Hi
> everything is blank
> I have investigate a little and in fact when sld.main.php is call hte script
> doesnt work after line 96 (no error appear)
> I have try putting echo "test"; and it doesn't show after line 96 (hope i'm
> clear)
>
> /* Check for a related WFS featuretype */
> $wfs_conf_id = $dbutils->getLayerWfsConfId($_SESSION["sld_gui_id"],
> $layer_id);
> if ( $wfs_conf_id ) {
>        $featuretype_id = $dbutils->getWfsConfFeatureTypeId($wfs_conf_id);
>        $classWfsConf->getelements($featuretype_id);
>        $wfs_element = $classWfsConf->elements;
>        $fts =
> $styledlayerdescriptor->layers[0]->styles[0]->featuretypestyles[0];
>        $fts->setElementArray("element_id",$wfs_element->element_id);
>        $fts->setElementArray("element_name",$wfs_element->element_name);
> } else {
>        $wfs_element = false;
> }
>
>
>
> Le 08/11/2010 20:11, Michael Schulz a écrit :
>>
>> No, there's no other, my question was more whether the whole window
>> being completly empty/white or e.g. only the maps or whatever.
>>
>> I'll have a look into that issue...  Cheers, Michael
>>
>>
>> 2010/11/8 zorg<zorg at probesys.com>:
>>
>>>
>>> I using mapbender  2.6.2,  GeoServer 2.0.2
>>>
>>> Yes i'm talking about the sld editor popup (is there another one???)
>>> Le 08/11/2010 16:29, Michael Schulz a écrit :
>>>
>>>>
>>>> Hi,
>>>>
>>>> you mean the Sld-Editor popup window is completly empty? This is
>>>> Mapbender 2.6.2, right? Which Geoserver are you using?
>>>>
>>>> Cheers, Michael
>>>>
>>>>
>>>> 2010/11/8 zorg<zorg at probesys.com>:
>>>>
>>>>
>>>>>
>>>>> Hi
>>>>> If i try to use sldeditor with geoserver wms I get a blank page with no
>>>>> error
>>>>> in the log i have this
>>>>>
>>>>>
>>>>> 2010.11.08, 15:33:25,Notice: class_locale: setting locale to fr
>>>>> 2010.11.08, 15:33:25,Notice: locale fr_FR.utf8 ok on linux
>>>>> 2010.11.08, 15:33:25,Notice: mb_validateSession.php: checking file
>>>>> /mapbender/sld/sld_main.php
>>>>> 2010.11.08, 15:33:25,Notice: gui id not set
>>>>> 2010.11.08, 15:33:25,Notice: gui id set to guiID: admin_en_services
>>>>> 2010.11.08, 15:33:25,Notice: mb_validateSession.php: GUI:
>>>>> admin_en_services,
>>>>> checking file /mapbender/sld/sld_main.php...session valid.
>>>>>
>>>>> If you have nay idea
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Mapbender_users mailing list
>>>>> Mapbender_users at lists.osgeo.org
>>>>> http://lists.osgeo.org/mailman/listinfo/mapbender_users
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>
>>> _______________________________________________
>>> Mapbender_users mailing list
>>> Mapbender_users at lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/mapbender_users
>>>
>>>
>>
>>
>>
>
> _______________________________________________
> Mapbender_users mailing list
> Mapbender_users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapbender_users
>



-- 
-----------------------------------------------------------
Michael Schulz
mschulz at webgis.de

in medias res
Gesellschaft für Informationstechnologie mbH

Schwimmbadstraße 2
D-79100  Freiburg i. Br.

Tel:  +49 (0)761 705798-102
Tel:  +49 (0)761 705798-0
Fax: +49 (0)761 705798-09

http://www.webgis.de / http://www.zopecms.de
--------------------------------------------------------------
Geschäftsführer: Stefan Giese, Dr. Christof Lindenbeck
Eingetragen im Handelsregister HRB 5930 beim Amtsgericht Freiburg


More information about the Mapbender_users mailing list