Have you set MODE=ITEMNQUERY? To me it seems you haven't and MapServer tries to use QSTRING for runtime substitution which it isn't configured for.
HTH Von: [email protected] [[email protected]]" im Auftrag von "mathias cunault [[email protected]] Gesendet: Samstag, 24. Mai 2014 17:38 An: [email protected] Betreff: [mapserver-users] post to be accepted hello, (beginner with mapserver 6.4.2) Despite researchs on the forum, i did not find answers to my question. I cant perform an itemquery. I read that a validation block has to be created in LAYER (mapfile), it looks like : VALIDATION "numope" "[a-z]+" END I set qlayer, qitem and querystring in template and, but i get : mapserv(): Web application error. Parameter 'qstring' value fails to validate. msValidateParameter(): Regular expression error. Parameter pattern validation failed. it means that my regular exp is wrong or that at least 1 value in the field numope doesn't fit this exp ? thx And the attribute in validation has to appear in a classe of the layer or not ? Thx -- Mathias Cunault chargé d’opération et de recherche Inrap Tours - 148 av. Maginot 37000 TOURS 06 32 05 98 96 [email protected] www.inrap.fr abonnez-vous à la lettre d'information de l'Inrap : http://www.inrap.fr/newsletter.php _______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
