Mapscript problems
Paul G. Allen
pgallen at randomlogic.com
Thu Dec 23 08:36:37 PST 1999
After looking at the mapscript wrapper document, I realized the problem was that
the mapObj() method changed. So I updated to 3.3.001.
Now I am having another problem: the command is failing and not creating the
$map object. The command is:
die mapscript::ms_error->{message} unless $map = new
mapObj("/home/httpd/html/SD/sandiego.map");
PGA
"Paul G. Allen" wrote:
>
> I'm getting an error when trying to instantiate a new mapObj. The code looks
> like this:
>
> $map = new mapObj("/home/httpd/html/SD/sandiego.map");
>
> and the error is:
>
> Usage: new_mapObj(filename,config); at <mapscript_module_path>/mapscript.pm line
> 1479
>
> I am still using the last alpha version of MapServer 3.3. (I have not updated
> yet because I'd have to mess with the code to get it to work on my Alpha, and
> I've been saving that for a good stable release.)
>
> The map file does exist in the path indicated and permissions are correct.
>
> PGA
More information about the MapServer-users
mailing list