[maplab-users] Could not preview map in MapEdit

charley cheng chengcharlie2003 at yahoo.ca
Mon Jun 28 16:42:40 EDT 2004


Hi! Thanks Joel,
 
I am not runing MapServer from MS4W.
According to your suggestion, I download the MS4W based package and maplab,  and install it. It works fine.
 
I am now working as summer student in company and am planning to run mapserver, php/ mapscript, maplab under company's  Window 2000 server, IIS platform. 
 
Do you or the Dear lists know where I can find the good references?
 
Thank you very much indeed!
 
Charlie

Joel Rivard <jrivard at connect.carleton.ca> wrote:
Hi Charley,

Are you running MapServer from the MS4W base Package?

I would recommend the MS4W package because it installs MapServer 4.1 
CGI, php_mapscript_41.dll and Apache. You can get the latest PHP 
Mapscript 4.2 for MS4W and the MS4W package at:

http://maptools.org/ms4w/index.phtml?page=downloads.html

you simply have to extract both zip files to the root of the drive.

Joel Rivard

charley cheng wrote:


>Hi! Dear Lists;
> 
>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:
> 
>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.
> 
>Warning: fwrite(): supplied argument is not a valid stream rescource in 
c:\maplab \maplab-2.1-rc3\htdocs\mapedit\preview.php on line 260
> 
>Warning: fclose(): supplied argument is not a valid stream resource in 
c:\maplab\maplab-2.1-rc3\htdocs\mapedit\preview.php on line 261
> 
>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.
> 
>In fact, the preview.php is at above location.
> 
>I tested other mapfiles, they all could not be previewed and the error 
message is similar.
> 
>However, I can publish the tutorial using GMAPFactory, it seems work 
fine.
> 
>Other question is that I use MapScript 4.0 which is copied from MSW4,
>I could not find the link to download the PHP MapScript 4.2.0.
> 
>I use Window XP, apache, mapsever.
> 
>Thank you very much!
> 
>Charlie
> 
>MGIS Candiate
>Department of Geography
>University of Calgary
> 
>
>
>
>---------------------------------
>Post your free ad now! Yahoo! Canada Personals
>


------------------------------------------------------------------------


_______________________________________________
>Maplab-users mailing list
>Maplab-users at lists.maptools.org
>http://lists.maptools.org/mailman/listinfo/maplab-users
>



---------------------------------
Post your free ad now! Yahoo! Canada Personals
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/maplab-users/attachments/20040628/b077c545/attachment.htm


More information about the Maplab-users mailing list