[ms4w-users] msLoad ( ) error with Mapscript!!!

Dharani Babu
Wed, 18 Feb 2004 09:10:00 +0530
Hi spencer thanks for thats reply . Now a question to all
   I am running a php file which contains code like



    $map = ms_newMapObj($map_path.$map_file);


                <TITLE>Example 1: Displaying a map</TITLE>
            <IMG SRC=<?php echo $image_url; ?> >

I have a map file in the same directory . Thats in the 
/htdocs/demof/ folder . But when I try to execute the test.php by 
http://localhost/demof/test.php I get this error .

Warning: [MapServer Error]: msLoadMap(): in 
C:\ms4w\Apache\htdocs\demof\test.php on line 8

Warning: Failed to open map file 
C:\ms4w\apache\htdocs\demof\mapfiles\ in 
C:\ms4w\Apache\htdocs\demof\test.php on line 8

Fatal error: Call to a member function on a non-object in 
C:\ms4w\Apache\htdocs\demof\test.php on line 9

I changed dl( php_mapscript_36.dll) into dl( php_mapscript_40.dll) also but 
similar error remains .
is it syntax error right ?
Could any one of u shed light on this ?
With regards and thanks in advance ;)

Easiest Money Transfer to India . Send Money To 6000 Indian Towns. Easiest Way To Send Money Home!

This archive was generated by Pipermail.