[Cartoweb-users] Problem for query

Oliver Christen oliver.christen at camptocamp.com
Fri Nov 21 03:30:52 EST 2008


well, usualy an "Undefined index" mean one or more of the data ids is wrong, either a typo or an uppercase/lowercase problem.
can you show me the complet error backtrace ?

  ----- Original Message ----- 
  From: Arnaud DELEURME 
  To: Oliver Christen 
  Cc: Liste Cartoweb 
  Sent: Friday, November 21, 2008 9:08 AM
  Subject: Re: [Cartoweb-users] Problem for query


  Hi

  Yes, I have this problem for only 2 layers now.

  It's 2 layers with 

  "id_attribute_string" "Shape_Leng|int"

   layer
           name "kamenh"
           DATA "kamenh.shp"
           status ON
           type POLYGON
           #maxscale 1000000
          TRANSPARENCY 50
          class
               name "kamenh"
                outlinecolor 222 130 124
                color 215 0 0
                   end
              DUMP TRUE
          PROJECTION
              "init=epsg:4121"
          END
          TEMPLATE "/hopital.html"
          HEADER "/header.html"
          FOOTER "/footer.html"
          METADATA
            "wms_title" "kamenh"
       "wms_format" "image/png"
         "wms_srs" "EPSG:4326 EPSG:27582 EPSG EPSG:3004 EPSG:23030 EPSG:4230 EPSG:32630 EPSG:4269 EPSG:4267 EPSG:4261"
         "id_attribute_string" "Shape_Leng|int"

  And this 

  layer
           name "esties"
           DATA "esties.shp"
           status ON
           type POINT
           #maxscale 1000000
          class
               name "esties"
                    STYLE
       size 12
       symbol 10
          color 255 0 0
          END
          END
              DUMP TRUE
          PROJECTION
              "init=epsg:4121"
          END
          TEMPLATE "/hopital.html"
          HEADER "/header.html"
          FOOTER "/footer.html"
          METADATA
            "wms_title" "esties"
       "wms_format" "image/png"
         "wms_srs" "EPSG:4326 EPSG:27582 EPSG EPSG:3004 EPSG:23030 EPSG:4230 EPSG:32630 EPSG:4269 EPSG:4267 EPSG:4261"
       "id_attribute_string" "DASOKTHMA|string"



  Arno


  ----- Mail Original -----
  De: "Oliver Christen" <oliver.christen at camptocamp.com>
  À: "Arnaud DELEURME" <a.deleurme at gers.cci.fr>, "Liste Cartoweb" <cartoweb-users at lists.maptools.org>
  Envoyé: Vendredi 21 Novembre 2008 09h50:32 GMT +02:00 Athènes, Beyrouth, Bucarest, Istanbul
  Objet: Re: [Cartoweb-users] Problem for query

   
  Hi

  do you still have that problem ?

  regards
  Oliver
    ----- Original Message ----- 
    From: Arnaud DELEURME 
    To: Liste Cartoweb 
    Sent: Friday, October 31, 2008 11:21 AM
    Subject: [Cartoweb-users] Problem for query


    Hello all

    I try to make auery in my project 
    Also I copied/ paste
    - query.ini
    - mapquery.ini
    - coreplugins/query/

    I made in my mapfile these sentences: 

TTEMPLATE "ttt.html"              METADATA            "id_attribute_string" "id|string"    "query_returned_attributes" "id Shape_Leng NAME_GR type code"    "gml_include_items" "id, Shape_Leng, NAME_GR, type, code"      "gml_id_alias" "ID"      "gml_Shape_Leng_alias" "AREA"      "gml_NAME_GR_alias" "ONOMA"      "gml_type_alias" "type"      "gml_code_alias" "Code"

    But there is a problem 


Failure  CartoWeb version: 3.4.0 [$Revision: 1.7 $]class:   SoapFaultWrappermessage:   Error [8, Undefined index:  /header.html, /home/infodime/public_html/voras/coreplugins/query/server/ServerQuery.php, 153]Backtrace:...I have in front of a big wall!
    I don't know could be my problem...

    Thanks for proposition

    Arno




----------------------------------------------------------------------------


    _______________________________________________
    Cartoweb-users mailing list
    Cartoweb-users at lists.maptools.org
    http://lists.maptools.org/mailman/listinfo/cartoweb-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/cartoweb-users/attachments/20081121/2b99d2c6/attachment.html


More information about the Cartoweb-users mailing list