Opened 17 years ago

Closed 16 years ago

#179 closed defect (fixed)

treeConfGDE - admin

Reported by: Vera Owned by: astrid_emde
Priority: minor Milestone: 2.5 release
Component: administration Version: 2.5 rc5
Keywords: treeConfGDE Cc:

Description

Trying to configure a treeConfGDE in MB25: it works, but with the following Warning: Warning: pg_exec() [function.pg-exec]: Query failed: ERROR: syntax error at or near "'testgui3'" at character 1 in d:\mapbender\branch_2.5\http\php\database-pgsql.php on line 133

Change History (9)

comment:1 by christoph, 17 years ago

Milestone: 2.5 release3.0 release

comment:2 by astrid_emde, 17 years ago

Milestone: 3.0 release2.5 release
Owner: changed from mapbender_dev@… to christoph
  1. Konfiguration of treeCOnfGDE - error om nestedSets.php
  1. treeConfGDE

Tree is not displayed. error in /php/mod_treefolderClient.php

comment:3 by astrid_emde, 17 years ago

Version: 2.5 rc2

comment:4 by christoph, 17 years ago

Owner: changed from christoph to mapbender_dev@…

comment:5 by christoph, 16 years ago

Milestone: 2.5 release2.6 release

comment:6 by vera, 16 years ago

Priority: majorminor
Version: 2.5 rc22.5 rc5

Test treeConfGDE:

Der Tree wird erzeugt, aber bei Create new Element kommt folgende Fehlermeldung:

Warning: pg_execute() [function.pg-execute]: Query failed: FEHLER: Binden-Nachricht enthält 2 Parameter, aber vorbereitete Anweisung »« erfordert 1 in /home/vschulze/data/mapbender25/http/php/database-pgsql.php on line 176

Warning: fopen(../../log/mb_error_2008_07_30.log) [function.fopen]: failed to open stream: Permission denied in /home/vschulze/data/mapbender25/http/classes/class_mb_log.php on line 45

Das Element wird erzeugt, aber der konf. Tree wird nicht in der Gui angezeigt. Über Firebug werden 4 Fehler gemeldet:

  1. syntax error syntax error

http://localhost/mapbender25/php/mod_treefolderClient.php?&guiID=test_treeConfGDE&elementID=treeConfGDE&e_id_css=treeConfGDE&e_id=treeConfGDE&e_target=mapframe1&&guiID=test_treeConfGDE Line 507

  1. initDiv is not defined initDiv is not defined

http://localhost/mapbender25/php/mod_treefolderClient.php?&guiID=test_treeConfGDE&elementID=treeConfGDE&e_id_css=treeConfGDE&e_id=treeConfGDE&e_target=mapframe1&&guiID=test_treeConfGDE Line 561

  1. layerok is not defined http://localhost/mapbender25/php/mod_button_tooltips.php
  2. window.frames.treeConfGDE.checkLayer is not a function

http://localhost/mapbender25/javascripts/core.php Line 186

comment:7 by astrid_emde, 16 years ago

Milestone: 2.6 release2.5 release
Owner: changed from mapbender_dev@… to astrid_emde

I solved some bugfixes already and want to check in the working modul for 2.5 till thursday

comment:8 by astrid_emde, 16 years ago

The Modul is still buggy. Two errors are fixed:

  • 1. $2 was not set. Instead $1 was set twice
  • 2. join layer: wrong variable was set: $res instead of $res_val

still errors when

  1. delete element
    • error occured
  1. error, when a folder should be connected to a layer
UPDATE gui_treegde SET lft=lft-(($1 - $2 + 1)) WHERE lft > $... ^ HINT: Konnte keinen besten Kandidatoperator auswählen. Sie müssen möglicherweise ausdrückliche Typumwandlungen hinzufügen. in

comment:9 by christoph, 16 years ago

Resolution: fixed
Status: newclosed

prepared statement incorrect, now fixed.

http://trac.osgeo.org/mapbender/changeset/2808

Note: See TracTickets for help on using tickets.