Error messages explained

Back to the Mac-ImageMap ReadMe file

HTML error messages returned to the Web browser

ERROR: Undefined Map
MapName=[mapname]

You have not defined a line for the mapname above in your "imagemap.config" file, like
mapname : [Macintosh style file path to yor map-defintion file]
but you have in your HTML-page a reference like
<A HREF="imagemap.cgi$mapname">...</A>.

TestMode Diagnostic Output
- or -
Error Diagnostic Output


MapName=[Name of referenced map]
MapID=[MapNumber]
Click Coordinates:
X=x-coordinate
Y=y-coordinate
TestMode=indicator
NRegions=Number of specification lines scanned

Default = Default URL
Redirect to URL = Actual redirect URL

This information is given, if test mode has been switched on, or if you missed to define a default URL in your map-definition file. In the latter case, the Default = ... line will show an empty URL.
A TestMode indicator 0 indicates that testmode is off, and 1 indicates that testmode is on.
NRegions represents the number of specification lines scanned (comment lines excluded) within the map-definition file until the matched region was detected, and the actual redirect URL has been determined.
Hint: This message may also show up, with useless information, if your map-definition file is empty or an alias that points to a file which no longer exists on your disk.

ERROR: could not open imagemap configuration file

When you run the "imagemap.cgi" program in CGI or ACGI mode, the file "imagemap.config" must exist and must reside in the same folder as the "imagemap.cgi" program (and not in a folder where you have only an alias of the CGI/ACGI program).

ERROR: Invalid input parameter
Expected an URL like http://hostname/path/imagemap.cgi$mapname?xcoord,ycoord

You probably either missed to add the ISMAP word to the IMG tag in the HTML page with your map, or you missed to specify the map-name in the HTML page.

Unknown RegionType=[Region Type]
URL=<Redirect URL>
C1=[coordinates-pair-1], C2=[coordinates-pair-2]

The Region Type shown in the error message is not a valid one, as listed in the reference section of the "ReadMe.html" file. To help you to identify the wrong specification line, the Redirect URL and the first two coordinate pairs, prepended by the keys C1= and C2= are shown.
Hint: If the Region Type is an empty string and the "true"region type is shown in place of the redirect URL, you have to remove the leading blanks in this specification line.

Bad point syntax:
RegionType=[Region Type]
URL=<RegionURL>
C1=[coordinates-pair-1], C2=[coordinates-pair-2]

Something is wrong with the syntax of the coordinate pairs, as shown following the keys C1= and C2=. There must be pairs of integer numbers, the two numbers of pair seperated by a comma.
Hint:If you see parts of your redirect URL shown as "coordinates"then your redirect URL contains space characters, which are not allowed within an URL. Use instead the ascii code representation %20 instead of the space within URLs.

PolyRegion has too many points:
URL=<RegionURL>

A polygon region cannot have more than 2000 corner points. You should simplify the polygon region to which is associated the above RegionURL.

Specification buffer overflow; latest Text is:
last 32 characters read from the map-definition file

It is very unlikely that you will ever see this message. But perhaps it may be, if you have defined a polygon region with quite a lot of corner points. If this is the case, you should replace not necessarily needed multiple subsequent space characters, which separate the coordinate pairs, within the polygon specification by a single blank.

ACTION handler cannot build the map-filename
MAP-URL=[the partial URL as passed by WebSTAR]
ACTION-path=[the ACTIONs path to imagemap.cgi as defined within the WebSTAR configuration]
Appl-path=[the path to the application file imagemap.cgi]

Add a $ServerPath-specification line to the imagemap-configuration file for providing to Mac-ImageMap the location on your harddisk of that copy of the WebSTAR application, which has been just referenced.
If the ACTION-path points to an alias of the "imagemap.cgi" program, replace it with the path to the original application.

Cannot open Map-file
Cannot open map definition file; name=[the filename]

Your map-definition file the filename exists and has been found, but for some strange reason it cannot be opened. Is it perhaps in use by another program, which claims exclusive write access to this file?

Not found
File or folder not found: [name of file or folder which is missing]

If the file or folder has been moved and is referenced by an alias, check if this alias reflects the correct location of the original file - using the Finders "Get Info" window. Recreate the alias, if needed.

PBGetCatInfo: error = system error code
FileName = [name of file or folder]

The Macintosh toolbox routine PBGetCatInfo returned the system error number when trying to get info about the file or folder. Hint:A system error number -35 means that the volume cannot be found where the file is expected. The other possible errors can be found in several Macintosh books and Freeware/Shareware tables.

NewAliasMinimalFromFullpath: error = system error code
FileName = [Name of Macintosh alias file]

ResolveAlias: error = system error code
FileName = [Name of Macintosh alias file]

GetAliasInfo: error = system error code
FileName = [Name of Macintosh alias file]

It seems very unlikely that you will see one of these three messages above. If you get such a message, please first restart your machine. If the problem persists, please report it to weimann@zib-berlin.de .

FSpOpenResFile: error = system error code
FileName = [Name of Macintosh alias file]

GetResource: error = system error code
FileName = [Name of Macintosh alias file]

If you see one of the above two messages, first check, if the alias file has been corrupted (use the Finders "Get Info") window. Recreate the alias, if needed. Also consider restarting your machine. If the problem persists, please report it to weimann@zib-berlin.de .

Fatal errors, which cause Mac-ImageMap to stop execution

fatal error system error code - processing AEInstallEventHandler(WWWOmega,sdoc)

fatal error system error code - processing AEInstallEventHandler(QuitAppl)

fatal error system error code - processing AEProcessAppleEvent

It seems very unlikely that you will see one of these three messages above. If you get such a message, please first restart your machine. If the problem persists, please report it to weimann@zib-berlin.de .

error getting WWWOmega-AppleEvent Keyword; code=system error code ,
with the following possible WWWOmega-AppleEvent Keywords:
keyDirectObject, kForKeyword, kServerName, kServerPort, kRefererKeyword, kScriptName, kActionName, kActionPath

It seems very unlikely that you will see such a message. If you get it, try first restarting your WebSTAR or MacHTTP server program. If the problem still shows up, please restart your machine. If the problem persists, please report it to weimann@zib-berlin.de .