[maplab-users] ms4w+maplab preview not working

Jeff McKenna jmckenna at dmsolutions.ca
Wed Aug 31 13:55:55 EDT 2005


in the \ms4w\apps\maplab-2.2\config\maplab.xml file, check to see that 
it has the proper path for temp image files for MS4W....such as the 
following:

    line 64:  <param-value>/ms4w/tmp/ms_tmp</param-value>


your errors seem to point to "/tmp/ms_tmp/"


try that



jeff


wesley ruto wrote:
>  my preview isint working and iam getting thi sort of
> errors does anyone there know what i can do
> 
> the errors and warnings are
> 
> Warning: [MapServer Error]: msSaveImageGD(): Unable to
> open file /tmp/ms_tmp/112550724039481.png for writing
> in C:\ms4w\apps\maplab-2.2\htdocs\mapedit\preview.php
> on line 477
> 
> Warning: [MapServer Error]: msFreeHashItems(): Can't
> free NULL table in
> C:\ms4w\apps\maplab-2.2\htdocs\mapedit\preview.php on
> line 477
> 
> Warning: [MapServer Error]: msFreeHashItems(): Can't
> free NULL table in
> C:\ms4w\apps\maplab-2.2\htdocs\mapedit\preview.php on
> line 477
> 
> Warning: [MapServer Error]: processIcon(): Error while
> save GD image to disk
> (p×p×tmp/1125507240_0_0_20_10.png). in
> C:\ms4w\apps\maplab-2.2\htdocs\mapedit\preview.php on
> line 477
> 
> Warning: [MapServer Error]: msSaveImageGD(): Unable to
> open file /tmp/ms_tmp/1125507240_0_0_20_10.png for
> writing in
> C:\ms4w\apps\maplab-2.2\htdocs\mapedit\preview.php on
> line 477
> 
> Warning: [MapServer Error]: msInsertHashTable: Invalid
> hash table or key in
> C:\ms4w\apps\maplab-2.2\htdocs\mapedit\preview.php on
> line 477
> 
> Warning: [MapServer Error]: processIcon(): Error while
> save GD image to disk
> (p×p×tmp/1125507240_1_0_20_10.png). in
> C:\ms4w\apps\maplab-2.2\htdocs\mapedit\preview.php on
> line 477
> 
> Warning: [MapServer Error]: msSaveImageGD(): Unable to
> open file /tmp/ms_tmp/1125507240_1_0_20_10.png for
> writing in
> C:\ms4w\apps\maplab-2.2\htdocs\mapedit\preview.php on
> line 477
> 
> Warning: [MapServer Error]: msInsertHashTable: Invalid
> hash table or key in
> C:\ms4w\apps\maplab-2.2\htdocs\mapedit\preview.php on
> line 477
> 
> Warning: [MapServer Error]: processIcon(): Error while
> save GD image to disk
> (p×p×tmp/1125507240_2_0_20_10.png). in
> C:\ms4w\apps\maplab-2.2\htdocs\mapedit\preview.php on
> line 477
> 
> Warning: [MapServer Error]: msSaveImageGD(): Unable to
> open file /tmp/ms_tmp/1125507240_2_0_20_10.png for
> writing in
> C:\ms4w\apps\maplab-2.2\htdocs\mapedit\preview.php on
> line 477
> 
> Warning: [MapServer Error]: msInsertHashTable: Invalid
> hash table or key in
> C:\ms4w\apps\maplab-2.2\htdocs\mapedit\preview.php on
> line 477
> 
> Warning: [MapServer Error]: processIcon(): Error while
> save GD image to disk
> (p×p×tmp/1125507240_3_0_20_10.png). in
> C:\ms4w\apps\maplab-2.2\htdocs\mapedit\preview.php on
> line 477
> 
> Warning: [MapServer Error]: msSaveImageGD(): Unable to
> open file /tmp/ms_tmp/1125507240_3_0_20_10.png for
> writing in
> C:\ms4w\apps\maplab-2.2\htdocs\mapedit\preview.php on
> line 477
> 
> Warning: [MapServer Error]: msInsertHashTable: Invalid
> hash table or key in
> C:\ms4w\apps\maplab-2.2\htdocs\mapedit\preview.php on
> line 477
> 
> Warning: [MapServer Error]: processIcon(): Error while
> save GD image to disk
> (p×p×tmp/1125507240_4_0_20_10.png). in
> C:\ms4w\apps\maplab-2.2\htdocs\mapedit\preview.php on
> line 477
> 
> Warning: [MapServer Error]: msSaveImageGD(): Unable to
> open file /tmp/ms_tmp/1125507240_4_0_20_10.png for
> writing in
> C:\ms4w\apps\maplab-2.2\htdocs\mapedit\preview.php on
> line 477
> 
> Warning: [MapServer Error]: msInsertHashTable: Invalid
> hash table or key in
> C:\ms4w\apps\maplab-2.2\htdocs\mapedit\preview.php on
> line 477
> 
> Warning: [MapServer Error]: processIcon(): Error while
> save GD image to disk
> (p×p×tmp/1125507240_5_0_20_10.png). in
> C:\ms4w\apps\maplab-2.2\htdocs\mapedit\preview.php on
> line 477
> 
> Warning: [MapServer Error]: msSaveImageGD(): Unable to
> open file /tmp/ms_tmp/1125507240_5_0_20_10.png for
> writing in
> C:\ms4w\apps\maplab-2.2\htdocs\mapedit\preview.php on
> line 477
> 
> Warning: [MapServer Error]: msInsertHashTable: Invalid
> hash table or key in
> C:\ms4w\apps\maplab-2.2\htdocs\mapedit\preview.php on
> line 477
> 
> Warning: [MapServer Error]: processIcon(): Error while
> save GD image to disk
> (/tmp/ms_tmp/1125507240_6_0_20_10.png). in
> C:\ms4w\apps\maplab-2.2\htdocs\mapedit\preview.php on
> line 477
> 
> Warning: [MapServer Error]: msSaveImageGD(): Unable to
> open file /tmp/ms_tmp/1125507240_6_0_20_10.png for
> writing in
> C:\ms4w\apps\maplab-2.2\htdocs\mapedit\preview.php on
> line 477
> 
> Warning: [MapServer Error]: msInsertHashTable: Invalid
> hash table or key in
> C:\ms4w\apps\maplab-2.2\htdocs\mapedit\preview.php on
> line 477
> 
> Warning: [MapServer Error]: processIcon(): Error while
> save GD image to disk
> (à×à×tmp/1125507240_7_0_20_10.png). in
> C:\ms4w\apps\maplab-2.2\htdocs\mapedit\preview.php on
> line 477
> 
> Warning: [MapServer Error]: msSaveImageGD(): Unable to
> open file /tmp/ms_tmp/1125507240_7_0_20_10.png for
> writing in
> C:\ms4w\apps\maplab-2.2\htdocs\mapedit\preview.php on
> line 477
> 
> Warning: [MapServer Error]: msInsertHashTable: Invalid
> hash table or key in
> C:\ms4w\apps\maplab-2.2\htdocs\mapedit\preview.php on
> line 477
> 
> Warning: [MapServer Error]: processIcon(): Error while
> save GD image to disk
> (p×p×tmp/1125507240_8_0_20_10.png). in
> C:\ms4w\apps\maplab-2.2\htdocs\mapedit\preview.php on
> line 477
> 
> Warning: [MapServer Error]: msSaveImageGD(): Unable to
> open file /tmp/ms_tmp/1125507240_8_0_20_10.png for
> writing in
> C:\ms4w\apps\maplab-2.2\htdocs\mapedit\preview.php on
> line 477
> 
> Warning: [MapServer Error]: msInsertHashTable: Invalid
> hash table or key in
> C:\ms4w\apps\maplab-2.2\htdocs\mapedit\preview.php on
> line 477
> 
> Warning: [MapServer Error]: processIcon(): Error while
> save GD image to disk
> (p×p×tmp/1125507240_9_0_20_10.png). in
> C:\ms4w\apps\maplab-2.2\htdocs\mapedit\preview.php on
> line 477
> 
> Warning: [MapServer Error]: msSaveImageGD(): Unable to
> open file /tmp/ms_tmp/1125507240_9_0_20_10.png for
> writing in
> C:\ms4w\apps\maplab-2.2\htdocs\mapedit\preview.php on
> line 477
> 
> Warning: [MapServer Error]: msInsertHashTable: Invalid
> hash table or key in
> C:\ms4w\apps\maplab-2.2\htdocs\mapedit\preview.php on
> line 477
> 
> Fatal error: Failed writing image to
> /tmp/ms_tmp/112550724039481.png in
> C:\ms4w\apps\maplab-2.2\htdocs\mapedit\preview.php on
> line 477
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
> _______________________________________________
> Maplab-users mailing list
> Maplab-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/maplab-users
> 


-- 
Jeff McKenna
DM Solutions Group Inc.
http://www.dmsolutions.ca



More information about the Maplab-users mailing list