<DIV>Hi! Dear Lists;</DIV>
<DIV>&nbsp;</DIV>
<DIV>I am trying to use Maplab for my thesis project. After I followed the turtorial, I could not preview my Mapfile. The error messages are as follows:</DIV>
<DIV>&nbsp;</DIV>
<DIV>Warning: fopen(C:/temp//40e042ae9b2c4.map): failed to open stream. No such file or diectory in c:\map\maplab-2.1-rc3\htdocs\mapedit\preview.php on line 259.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Warning: fwrite(): supplied argument is not a valid stream rescource in c:\maplab \maplab-2.1-rc3\htdocs\mapedit\preview.php on line 260</DIV>
<DIV>&nbsp;</DIV>
<DIV>Warning: fclose(): supplied argument is not a valid stream resource in c:\maplab\maplab-2.1-rc3\htdocs\mapedit\preview.php on line 261</DIV>
<DIV>&nbsp;</DIV>
<DIV>Fatal error: call to a member function on a non-object in c:\maplab\maplab-2.1-rc3\htdocs\mapedit\preview.php on line 308.</DIV>
<DIV>&nbsp;</DIV>
<DIV>In fact, the preview.php is at above location.</DIV>
<DIV>&nbsp;</DIV>
<DIV>I tested other mapfiles, they all could not be previewed and the error message is similar.</DIV>
<DIV>&nbsp;</DIV>
<DIV>However, I can publish the tutorial using GMAPFactory, it seems work fine.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Other question is that I use MapScript 4.0 which is copied from MSW4,</DIV>
<DIV>I could not find the link to download the PHP MapScript 4.2.0.</DIV>
<DIV>&nbsp;</DIV>
<DIV>I use Window XP, apache, mapsever.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thank you very much!</DIV>
<DIV>&nbsp;</DIV>
<DIV>Charlie</DIV>
<DIV>&nbsp;</DIV>
<DIV>MGIS Candiate</DIV>
<DIV>Department of Geography</DIV>
<DIV>University of Calgary</DIV>
<DIV>&nbsp;</DIV><p><br><hr size=1>Post your free ad now! <a href="http://ca.personals.yahoo.com/"><b>Yahoo! Canada Personals</b></a><br>