Display a simple map in PHP
Camden Daily
cdaily at GMAIL.COM
Mon Feb 21 07:13:25 PST 2005
Try using mapscript's error reporting to find out what's going wrong.
At the beginning of your script, put:
ms_ResetErrorList();
Then, at the end of the script, put this code:
$error = ms_GetErrorObj();
while($error AND $error->code != MS_NOERR) {
printf("Error in %s: %s<br>\n", $error->routine, $error->message);
$error = $error->next();
}
That may get you started with debugging.
More information about the MapServer-users
mailing list