Opened 16 years ago

Closed 16 years ago

#280 closed defect (duplicate)

prepared statement error occurred at WFS Configuration

Reported by: RWoita Owned by: verenadiewald
Priority: major Milestone: 2.5 release
Component: wfs Version: 2.5 rc6
Keywords: Cc:

Description

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

Enviroment : MB2.5 RC6 / Postgresql 8.3.3 / PHP 5.2.5 / UTF-8

Change History (4)

comment:1 by christoph, 16 years ago

Owner: changed from mapbender_dev@… to verenadiewald

Could you please check this if you have time?

comment:2 by verenadiewald, 16 years ago

Resolution: fixed
Status: newclosed

comment:3 by christoph, 16 years ago

Resolution: fixed
Status: closedreopened

comment:4 by christoph, 16 years ago

Resolution: duplicate
Status: reopenedclosed
Note: See TracTickets for help on using tickets.