[Chameleon] RE: Chameleon Digest, Vol 3, Issue 24

Bart van den Eijnden bartvde at xs4all.nl
Mon Jun 21 16:21:44 EDT 2004


Hi David,

what does it say in your cwc2.xml config file with the following entries:

     <context-param>
         <param-name>button_cache_path</param-name>
         <param-value>/ms4w/tmp/ms_tmp/buttons/</param-value>
         <description>Directory in which to write image files generated for 
buttons.  This directory must be writable by the web server user and web 
accessible.  For performance reasons, this directory should not be cleaned 
out automatically.</description>
     </context-param>

     <context-param>
         <param-name>button_cache_web_path</param-name>
         <param-value>/ms_tmp/buttons/</param-value>
         <description>The URL where a browser can find cached button 
images.</description>
     </context-param>

     <context-param>
         <param-name>tmp_web_path</param-name>
         <param-value>/ms_tmp/</param-value>
         <description>URL where browser can find temporary files as context 
or images</description>
     </context-param>

     <context-param>
         <param-name>tmp_img_path</param-name>
         <param-value>/ms4w/tmp/ms_tmp/</param-value>
         <description>Directory where temporary image files are 
put.</description>
     </context-param>

Best regards,
Bart

On Mon, 21 Jun 2004 16:11:16 -0400, David Bradshaw <dbradshaw at olver.com> 
wrote:

> Dear Bart,
>
> That helped a lot but led to the following...
>
> If the tmp folder is not directly on the c:\ then I get this:
>
> Warning: imagepng(): Unable to open
> '/tmp/ms_tmp/buttons/25ced96a80c81d1ad10a498c9f5d74df.png' for writing
> in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on
> line 634
>
> Warning: imagepng(): Unable to open
> '/tmp/ms_tmp/buttons/55e61a3934ab002a85e3012638844428.png' for writing
> in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on
> line 634
>
> Warning: imagepng(): Unable to open
> '/tmp/ms_tmp/buttons/36f421b9d4f61ae1a79fdd73dbae09c3.png' for writing
> in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on
> line 634
>
> Warning: imagepng(): Unable to open
> '/tmp/ms_tmp/buttons/3ecdeb8c5fd918821f2322f993967dbd.png' for writing
> in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on
> line 634
>
> Warning: imagepng(): Unable to open
> '/tmp/ms_tmp/buttons/081e2b9dbb41acf75a594111e8047ff0.png' for writing
> in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on
> line 634
>
> Warning: imagepng(): Unable to open
> '/tmp/ms_tmp/buttons/9d19529dfea7f81f28e029270d9ff511.png' for writing
> in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on
> line 634
>
> Warning: imagepng(): Unable to open
> '/tmp/ms_tmp/buttons/c4e54a7dc998c2f6f25898130c82455a.png' for writing
> in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on
> line 634
>
> Warning: imagepng(): Unable to open
> '/tmp/ms_tmp/buttons/cc88750213fc09ecb1b63a8a94b76365.png' for writing
> in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on
> line 634
>
> Warning: imagepng(): Unable to open
> '/tmp/ms_tmp/buttons/25c5c490496f39c233ada99f13997e1f.png' for writing
> in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on
> line 634
>
> Warning: imagepng(): Unable to open
> '/tmp/ms_tmp/buttons/383ae9e487ec0215973fdc327566c133.png' for writing
> in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on
> line 634
>
> Warning: imagepng(): Unable to open
> '/tmp/ms_tmp/buttons/c44c283962c2578d5cbc434297e3fad6.png' for writing
> in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on
> line 634
>
> Warning: imagepng(): Unable to open
> '/tmp/ms_tmp/buttons/123f7b779d70a129012a3479d20b6478.png' for writing
> in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on
> line 634
>
> Warning: imagepng(): Unable to open
> '/tmp/ms_tmp/buttons/e6356c643031bf7b9206ffd82e0f9398.png' for writing
> in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on
> line 634
>
> Warning: imagepng(): Unable to open
> '/tmp/ms_tmp/buttons/5ba239e70424a38c6b53d37d8e5c1d58.png' for writing
> in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on
> line 634
>
> Warning: imagepng(): Unable to open
> '/tmp/ms_tmp/buttons/e93dd992b213f7a115da8c47fcff2167.png' for writing
> in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on
> line 634
>
> Warning: imagepng(): Unable to open
> '/tmp/ms_tmp/buttons/395942948e47786f00dfe08801bea8a1.png' for writing
> in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on
> line 634
>
> Warning: imagepng(): Unable to open
> '/tmp/ms_tmp/buttons/fc2e229b087c6263023c42a71266dabb.png' for writing
> in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on
> line 634
>
> Warning: imagepng(): Unable to open
> '/tmp/ms_tmp/buttons/f08e4b853f14f0c96163f18a2ca8cf85.png' for writing
> in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on
> line 634
>
> Warning: imagepng(): Unable to open
> '/tmp/ms_tmp/buttons/8cceb898855fafc6fb3a6786fa79cfc8.png' for writing
> in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on
> line 634
>
> Warning: imagepng(): Unable to open
> '/tmp/ms_tmp/buttons/3f6c83597bc90345778da86511a79eb1.png' for writing
> in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on
> line 634
>
> Warning: imagepng(): Unable to open
> '/tmp/ms_tmp/buttons/de0345be41d44295d05c1cc12124fd6b.png' for writing
> in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on
> line 634
>
> Warning: imagepng(): Unable to open
> '/tmp/ms_tmp/buttons/aca5e1d084c14be54b512c074e2ab556.png' for writing
> in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on
> line 634
>
> Warning: imagepng(): Unable to open
> '/tmp/ms_tmp/buttons/75071d6ce8dfc77a28bef3dd649c8943.png' for writing
> in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on
> line 634
>
> Warning: imagepng(): Unable to open
> '/tmp/ms_tmp/buttons/fd51c9b10b5315ff96ad9a2f3aaa090b.png' for writing
> in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on
> line 634
>
> Warning: imagepng(): Unable to open
> '/tmp/ms_tmp/buttons/1ca1f9f6fb931e3abdb7785764b1f768.png' for writing
> in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on
> line 634
>
> Warning: imagepng(): Unable to open
> '/tmp/ms_tmp/buttons/ad0d185be7ca19787f799b4fc39f30ae.png' for writing
> in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on
> line 634
>
> Warning: imagepng(): Unable to open
> '/tmp/ms_tmp/buttons/aa8a1b5e1232897c02f9fc40aa1158e7.png' for writing
> in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on
> line 634
>
> Warning: imagepng(): Unable to open
> '/tmp/ms_tmp/buttons/0028477bc9222dac9aff63a6df59356f.png' for writing
> in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on
> line 634
>
> Warning: imagepng(): Unable to open
> '/tmp/ms_tmp/buttons/e76af0f8574362e4e631495adb44034c.png' for writing
> in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on
> line 634
>
> Warning: imagepng(): Unable to open
> '/tmp/ms_tmp/buttons/d2572f7d979fef8f3654e0cd1dd82189.png' for writing
> in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on
> line 634
>
> Warning: imagepng(): Unable to open
> '/tmp/ms_tmp/buttons/2449fe7730d3d04499b38722558b7c3a.png' for writing
> in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on
> line 634
>
> Warning: imagepng(): Unable to open
> '/tmp/ms_tmp/buttons/879c5e04f317964f5b6e4d146c6a3766.png' for writing
> in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on
> line 634
>
> Warning: imagepng(): Unable to open
> '/tmp/ms_tmp/buttons/c0270d567aadaa4e5aaaab7e6c523ed8.png' for writing
> in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on
> line 634
>
> Warning: imagepng(): Unable to open
> '/tmp/ms_tmp/buttons/58adab8f1d76a5a1f02ee0c024355ee0.png' for writing
> in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on
> line 634
>
> Warning: imagepng(): Unable to open
> '/tmp/ms_tmp/buttons/1e7c78add84a9d3afb1aae4705e5d8c7.png' for writing
> in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on
> line 634
>
> Warning: imagepng(): Unable to open
> '/tmp/ms_tmp/buttons/1240e6b8d4887f4ba1a45090d01c059b.png' for writing
> in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on
> line 634
>
> Warning: imagepng(): Unable to open
> '/tmp/ms_tmp/buttons/b2c932d2f9ebc87f861b5d0da91f780e.png' for writing
> in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on
> line 634
>
> Warning: imagepng(): Unable to open
> '/tmp/ms_tmp/buttons/f705dea7b246ae233941ef9b1fc31791.png' for writing
> in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on
> line 634
>
> Warning: imagepng(): Unable to open
> '/tmp/ms_tmp/buttons/3592ce46fb9cbb14479438edec2869dc.png' for writing
> in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on
> line 634
>
> Warning: imagepng(): Unable to open
> '/tmp/ms_tmp/buttons/e33180fec4f6a6171d13ab20407e243a.png' for writing
> in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on
> line 634
>
> Warning: imagepng(): Unable to open
> '/tmp/ms_tmp/buttons/1e7cf7a21a0566e333a1b2b60ffe4eda.png' for writing
> in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on
> line 634
>
> Warning: imagepng(): Unable to open
> '/tmp/ms_tmp/buttons/00c11690a40f6abfa7f92bfb876ba8d9.png' for writing
> in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on
> line 634
>
> Warning: imagepng(): Unable to open
> '/tmp/ms_tmp/buttons/c04d92e8cf8e00e7c3c4653626520db7.png' for writing
> in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on
> line 634
>
> Warning: imagepng(): Unable to open
> '/tmp/ms_tmp/buttons/db0ee62181ea8cc77ab6a1c608be5c54.png' for writing
> in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on
> line 634
>
> Warning: imagepng(): Unable to open
> '/tmp/ms_tmp/buttons/006c137c8f85c71e5fd464c45072034a.png' for writing
> in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on
> line 634
>
> Warning: imagepng(): Unable to open
> '/tmp/ms_tmp/buttons/3583a0b3fc558a22da912288204e74f5.png' for writing
> in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on
> line 634
>
> Warning: imagepng(): Unable to open
> '/tmp/ms_tmp/buttons/fae1747b28a0320236958eb1ad365aa8.png' for writing
> in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on
> line 634
>
> Warning: imagepng(): Unable to open
> '/tmp/ms_tmp/buttons/a863b6dae8615142cd7f0c4033caaaeb.png' for writing
> in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on
> line 634
>
> Warning: imagepng(): Unable to open
> '/tmp/ms_tmp/buttons/ff97cbf0e9f9a93961c44e7288ea9994.png' for writing
> in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on
> line 634
>
> Warning: imagepng(): Unable to open
> '/tmp/ms_tmp/buttons/9f9e48b702219551bedadfd026b8c62a.png' for writing
> in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on
> line 634
>
> Warning: imagepng(): Unable to open
> '/tmp/ms_tmp/buttons/f87536029dea409937bd37a76ed18a45.png' for writing
> in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on
> line 634
>
> Warning: imagepng(): Unable to open
> '/tmp/ms_tmp/buttons/91fded462b51a31c82efb0225c68ef08.png' for writing
> in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on
> line 634
>
> Warning: imagepng(): Unable to open
> '/tmp/ms_tmp/buttons/d9174478726548fee993730a8d8736b2.png' for writing
> in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on
> line 634
>
> Warning: imagepng(): Unable to open
> '/tmp/ms_tmp/buttons/6b6619a93b4d9396acbacbd4c9bfd3a2.png' for writing
> in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on
> line 634
>
> Warning: imagepng(): Unable to open
> '/tmp/ms_tmp/buttons/d285669d5eb6e630d6bc40bf9e1a40dd.png' for writing
> in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on
> line 634
>
> Warning: imagepng(): Unable to open
> '/tmp/ms_tmp/buttons/dc62df9e7f2561f89d65a030644f7d2a.png' for writing
> in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on
> line 634
>
> Warning: imagepng(): Unable to open
> '/tmp/ms_tmp/buttons/5839cad3fd5598d4a19d0e5b57bbace1.png' for writing
> in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on
> line 634
>
> Warning: imagepng(): Unable to open
> '/tmp/ms_tmp/buttons/f54862ca9357a8b01990b14d3fb4e6d8.png' for writing
> in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on
> line 634
>
> Warning: imagepng(): Unable to open
> '/tmp/ms_tmp/buttons/ff4ac706ad26411a5aa6b222463cfbdb.png' for writing
> in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on
> line 634
>
> Warning: imagepng(): Unable to open
> '/tmp/ms_tmp/buttons/9dabc607a610124c3ed8903e6fad9fc4.png' for writing
> in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on
> line 634
>
> Warning: [MapServer Error]: msSaveImage():
> (/tmp/ms_tmp/108784839332441.png) in
> C:\ms4w\apps\chameleon\htdocs\widgets\Scalebar\Scalebar.widget.php on
> line 385
>
> Fatal error: Failed writing image to /tmp/ms_tmp/108784839332441.png in
> C:\ms4w\apps\chameleon\htdocs\widgets\Scalebar\Scalebar.widget.php on
> line 385
>
> If it is on the c:\ then I get broken image links to some buttons.
>
> What do you think?
>
> David
>
>
> This document, including attachments, is confidential and may be 
> privileged. If you are not an intended recipient, please notify the 
> sender, then delete and destroy the original message and all copies. You 
> should not copy, forward and/or disclose this message, in whole or in 
> part, without permission of the sender. If you receive this e-mail 
> message in error, please notify us immediately. Thank you.
>
>
>
>
> _______________________________________________
> Chameleon mailing list
> Chameleon at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/chameleon
>



-- 
  


More information about the Chameleon mailing list