Re: [mapserver-users] php mapscript loadQuery problem

2010-02-09 Thread Daniel Morissette
Lime, Steve D (DNR) wrote: This will print the entire error stack one per line. PHP-MapScript must have something similar. We need to know if the problem is parsing the query file or if it’s running the query itself. There is an example showing how to dump the error stack in PHP MapScript

Re: [mapserver-users] php mapscript loadQuery problem

2010-02-09 Thread Moen, Paul T.
This is the error I get when dumping the error stack as described below. Error in msEvalRegex(): String failed expression test. On Feb 9, 2010, at 7:51 AM, Daniel Morissette wrote: Lime, Steve D (DNR) wrote: This will print the entire error stack one per line. PHP-MapScript must have

Re: [mapserver-users] php mapscript loadQuery problem

2010-02-09 Thread Daniel Morissette
Moen, Paul T. wrote: This is the error I get when dumping the error stack as described below. Error in msEvalRegex(): String failed expression test. My first guess is that this error message comes from the file extension test on the filename of your query file. Your query file has to have a

Re: [mapserver-users] php mapscript loadQuery problem

2010-02-09 Thread Moen, Paul T.
Daniel Morissette wrote: Moen, Paul T. wrote: This is the error I get when dumping the error stack as described below. Error in msEvalRegex(): String failed expression test. My first guess is that this error message comes from the file extension test on the filename of your query

Re: [mapserver-users] php mapscript loadQuery problem

2010-02-08 Thread Moen, Paul T.
The query file parser will throw a detailed error message if it has a parsing problem. Where would I look for the errors that the query file parser throws? I don't see any in the error_log for apache, which is where all my php errors are logged. Does that mean that the parser is having no

RE: [mapserver-users] php mapscript loadQuery problem

2010-02-08 Thread Lime, Steve D (DNR)
From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Moen, Paul T. Sent: Monday, February 08, 2010 12:51 PM To: mapserver-users@lists.osgeo.org Subject: Re: [mapserver-users] php mapscript loadQuery problem The query file parser will throw

RE: [mapserver-users] php mapscript loadQuery problem

2010-02-01 Thread Lime, Steve D (DNR)
I'll send you more details when I get time tonite (I hope) and can test things. I've been using 5.6 save/load query functions a ton via the CGI but not PHP. I tested a bunch with Perl MapScript and will have to check those methods against what PHP is doing. Here's what the lines mean: Line -