[Mapserver-users] ms_newMapObj in latest 4.0 changed?
Daniel Morissette
morissette@dmsolutions.ca
Tue, 29 Jul 2003 09:59:54 -0400
Vinko Vrsalovic wrote:
>
> PHP Warning: [MapServer Error]: msEvalRegex(): String (/tmp/map) failed
> expression test.
> in /var/www/html/draw.php on line 3
> PHP Warning: Failed to open /tmp/map file map in /var/www/html/draw.php on line 3
> PHP Fatal error: Call to a member function on a non-object in /var/www/html/draw.php on line 4
>
That's because the mapfile filename doesn't match the MS_MAPFILEPATTERN
regular expression. In this case you're probably missing the ".map"
extension.
There's a little bit of info on MS_MAPFILEPATTERN in the migration guide
at http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?MigrationGuide
--
------------------------------------------------------------
Daniel Morissette morissette@dmsolutions.ca
DM Solutions Group http://www.dmsolutions.ca/
------------------------------------------------------------
_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users