For the time being you should only care for the Fatal Error. The rest are warnings which have to do with some settings in the mapfile.
Don't use PHP I am afraid so I don't know whether you are using it correctly. Does the actual folder set in your IMAGEPATH /home/kapil/FGS-MAPSERVER/tmp/ms_tmp/ exists? And do you get the same fatal error if you use the mapserv cgi? e.g http://localhost/cgi-bin/mapserv?map= /home/kapil/FGS-MAPSERVER/www/htdocs/mapfiles/sampletest/htdocs/test.map&mod e=map Pano From: kapil manoj [mailto:[email protected]] Sent: 05 May 2009 15:46 To: Pano Voudouris Subject: Re: [mapserver-users] PHP Mapscript - Displaying only image colour except the existing layers hi pano, i have received the following error after changing the status of the layers to both DEFAULT or ON Warning: [MapServer Error]: msGetLabelSize(): Requested font (arial-bold) not found. in /home/kapil/FGS-MAPSERVER/www/htdocs/mapfiles/sampletest/htdocs/test.php on line 6 Warning: [MapServer Error]: msSearchDiskTree(): Unable to open spatial index for /home/kapil/FGS-MAPSERVER/www/htdocs/mapfiles/sampletest/data/parl_04.qix. In most cases you can safely ignore this message, otherwise check file names and permissions. in /home/kapil/FGS-MAPSERVER/www/htdocs/mapfiles/sampletest/htdocs/test.php on line 6 Warning: [MapServer Error]: msSearchDiskTree(): Unable to open spatial index for /home/kapil/FGS-MAPSERVER/www/htdocs/mapfiles/sampletest/data/parl_04.qix. In most cases you can safely ignore this message, otherwise check file names and permissions. in /home/kapil/FGS-MAPSERVER/www/htdocs/mapfiles/sampletest/htdocs/test.php on line 6 Fatal error: Call to a member function saveWebImage() on a non-object in /home/kapil/FGS-MAPSERVER/www/htdocs/mapfiles/sampletest/htdocs/test.php on line 7 what should i do now? On Tue, May 5, 2009 at 6:00 PM, Pano Voudouris <[email protected]> wrote: Both your layer have their STATUS set to OFF. Try setting them to ON or DEFAULT Pano -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of zizu Sent: 05 May 2009 14:00 To: [email protected] Subject: [mapserver-users] PHP Mapscript - Displaying only image colour except the existing layers Dear users, I am using FGS-Mapserver, its a stand alone environment on fedora 9. i have successfully play mapserver through cgi, there is absolutely no problem with that. Now am trying to play PHP-Mapscript , example given in the tutorial. The problem am encountering right now is when i run the php file through browser http://localhost:8080/mapfiles/sampletest/htdocs/test.php Luckily the image colour of the map is displaying but the layers of the map is not displaying... herewith am attaching the screen shot of that page.... am also attaching both the map file and php file for your view..... what could be a problem..... please help me out.. tips will be appreciated.... http://n2.nabble.com/file/n2792269/Screenshot.png Screenshot.png http://n2.nabble.com/file/n2792269/test.map test.map http://n2.nabble.com/file/n2792269/test.php test.php many thanks, zizu -- View this message in context: http://n2.nabble.com/PHP-Mapscript---Displaying-only-image-colour-except-the <http://n2.nabble.com/PHP-Mapscript---Displaying-only-image-colour-except-th e%0A-existing-layers-tp2792269p2792269.html> -existing-layers-tp2792269p2792269.html Sent from the Mapserver - User mailing list archive at Nabble.com. _______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
_______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
