Mapscript problems

Paul G. Allen pgallen at randomlogic.com
Thu Dec 23 10:36:31 EST 1999


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