[Mapbender-users] admin:updateWFS

Christoph Baudson christoph.baudson at wheregroup.com
Wed Aug 20 03:59:22 EDT 2008


Ronald Woita schrieb:
> hi list,
>
> after installing the release candidate no. 6 of the major version 2.5 I
> tried 
> to update an existing WFS and then make a new Configuration :
> The Update works fine and the new featuretypes are correctly put in the
> according tables  but I can't make a WFS configuration.
> This is the error message from log :
>
> 2008.08.18, 12:26:30,ERROR: array params and array types have a
> different count  in
> /srv/www/htdocs/mapbender_25/http/php/mod_wfs_conf.php: Sql: INSERT INTO
> wfs_conf_element
> (fkey_wfs_conf_id,f_id,f_search,f_pos,f_style_id,f_toupper,f_label,f_label_id,f_show,f_respos,f_edit,f_form_element_html,f_mandatory,f_auth_varname,f_show_detail)
> VALUES($1, $2, '0', $3, $4, '0',$5, $6, '0', $7, '0',$8, '0',$9,'0'); 
> 2008.08.18, 12:26:30,ERROR: Error while executing prepared statement in
> /srv/www/htdocs/mapbender_25/http/php/mod_wfs_conf.php: Sql: INSERT INTO
> wfs_conf_element
> (fkey_wfs_conf_id,f_id,f_search,f_pos,f_style_id,f_toupper,f_label,f_label_id,f_show,f_respos,f_edit,f_form_element_html,f_mandatory,f_auth_varname,f_show_detail)
> VALUES($1, $2, '0', $3, $4, '0',$5, $6, '0', $7, '0',$8, '0',$9,'0'); ,
> Error: ERROR:  bind message supplies 6 parameters, but prepared
> statement "" requires 9
>
> Does anybody get a hint what this message means ?
>   

I guess it's a bug. The prepared statement requires two arrays, one for 
values and one for data types. It seems like the size of these arrays 
are not equal in this case. Please file a ticket.


> thanks
> Ronald
>
> _______________________________________________
> Mapbender_users mailing list
> Mapbender_users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapbender_users
>   


-- 
_______________________________________

W h e r e G r o u p GmbH & Co. KG

Siemensstraße 8
53121 Bonn
Germany

Christoph Baudson
Anwendungsentwickler

Fon: +49 (0)228 / 90 90 38 - 15
Fax: +49 (0)228 / 90 90 38 - 11
christoph.baudson at wheregroup.com
www.wheregroup.com
Amtsgericht Bonn, HRA 6788
_______________________________________

Komplementärin:
WhereGroup Verwaltungs GmbH
vertreten durch:
Arnulf Christl, Olaf Knopp, Peter Stamm
_______________________________________





More information about the Mapbender_users mailing list