[maplab-users] Can't preview map

Charlton Purvis
Wed, 26 Mar 2003 14:15:37 -0500
You might try putting the complete path to your fontset in your .map file.

FONTSET "/usr/local/maplab-2.0rc3/tutorial/etc/fonts.txt"

I believe an alternative is to put the complete path to the .ttf files in the actual fonts.txt file.

-----Original Message-----
From: Matt Doggett [] 
Sent: Wednesday, March 26, 2003 2:08 PM
Subject: [maplab-users] Can't preview map

I'm following the maplab tutorial, when I try to preview the file I get the following error:

Warning: MapServer Error in msGetLabelSize(): Could not find/open font
in /home/precip/www/maplab/htdocs/mapedit/preview.php on line 458

Fatal error: Call to a member function on a non-object in
/home/precip/www/maplab/htdocs/mapedit/preview.php(465) : eval()'d code
on line 1

No errors show in the Apache error_log and the access_log shows a
successful GET.  I looked at the preview.php source and the offending
line is:

$imgMainMap = $oMapSession->oMap->draw();

Other tests seem to indicate that PHP and php_mapscript both appear to
be functioning correctly.

Any suggestions what the problem might be?

(RedHat8.0, Apache2.0, Mapserver 3.6.4, Php4.3.2rc1)
Matt Doggett
Spatial Climate Analysis Service
Oregon State University
316 Strand Ag Hall
Corvallis, OR 97331

Maplab-users mailing list

This archive was generated by Pipermail.