[mapserver-users] msParseTime error after upgrading to mapserver 6
Travis Kirstine
traviskirstine at gmail.com
Wed Oct 26 13:15:35 PDT 2011
I think you have a issue with your regex the brace / bracket is unbalanced:
My guess is that ^[0-9i\-]{10,10)$
should be
^[0-9i\-]{10,10}$
or
^[0-9i\-](10,10)$
Regards
On 26 October 2011 11:44, Jackson, John <jjackson at franklincountyohio.gov>wrote:
> 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****
>
> ** **
>
> ** **
>
> [image: http://www.franklincountyauditor.com/images/logoSmall2.jpg]****
>
> John Jackson****
>
> Deputy Auditor****
>
> 373 South High St, 19th floor****
>
> Columbus, Ohio 43215-6310****
>
> www.franklincountyauditor.com****
>
> 614-525-7279 office****
>
> ** **
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20111026/0ddcb8a4/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 5917 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20111026/0ddcb8a4/attachment.jpg>
More information about the MapServer-users
mailing list