[mapserver-users] msParseTime error after upgrading to mapserver 6

Jackson, John jjackson at franklincountyohio.gov
Wed Oct 26 08:44:25 PDT 2011


HI all,

I'm working on a ka-map application that I'm trying to upgrade to mapserver 6.0...

I've got tile.php working with a few minor changes, but I'm having trouble getting php mapscript to work with doing a query.

I suspect it's related to these lines in the mapserver debug log. Unfortunately, my google-fu hasn't turned up much.

Relevant section of map file:
    LAYER
        NAME "Parcels2"
        GROUP "Parcels2"
        STATUS OFF
        TYPE POLYGON
        CONNECTIONTYPE POSTGIS
        CONNECTION "dbname=mapdb user=testuser password=xxx"
        PROCESSING "CLOSE_CONNECTION=DEFER"
        DATA "the_geom from parcel using srid=3402 using unique gid"
        LABELITEM "pid"
        LABELCACHE on
        METADATA
            "queryable" "true"
            "description" "Parcel ID's"
            "fields" "pid:Parcel Id"
            "searchfield" "pid"
            "RESULT_FIELDS" "pid"
            qstring_validation_pattern '^[0-9i\-]{10,10)$'
        END
        CLASS
            STYLE

            END
        END
    END

 [Wed Oct 26 10:50:31 2011].869245 msParseTime(): Regular expression error. Unrecognized date or time format ().
[Wed Oct 26 10:50:31 2011].869283 msTokenizeExpression(): Expression parser error. Parsing time value failed.

Thanks for the help.
--John Jackson
--jxjackso at franklincountyohio.gov<mailto:--jxjackso at franklincountyohio.gov>


[cid:image001.jpg at 01CC93D4.9CBE2A80]
    John Jackson
    Deputy Auditor
    373 South High St, 19th floor
    Columbus, Ohio 43215-6310
    www.franklincountyauditor.com<http://www.franklincountyauditor.com>
    614-525-7279 office

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20111026/380edea9/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 5917 bytes
Desc: image001.jpg
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20111026/380edea9/attachment.jpg>


More information about the MapServer-users mailing list