[Chameleon] New User, Needs Help!

David Bradshaw dbradshaw at olver.com
Mon Jun 21 15:36:06 EDT 2004


Dear Users,

I am VERY new to Chameleon and have a few questions.  First of all, I am
using this on a  Windows XP and Apache platform.  I am looking to
install MS4W and Chameleon 1.99beta.  I've downloaded from DM Solutions
the following zip files:
(1) http://www.maptools.org/dl/ms4w/ms4w_0.8.zip
(2) http://www.maptools.org/dl/ms4w/chameleon_ms4w-1.99beta1.zip

I have unzipped them to my hard drive. I have been following the
chameleon installation instructions on the Wiki site but seem to have
trouble with tmp folders and location/permissions:
http://www.maptools.org/chameleon/wiki/ChameleonInstallationInstructions


Question number 1.  Where should these be "installed?"  Is there a good
example of the file structure hierarchy? I've unzipped them to c:\ms4w
(I placed chameleon under the folder called apps) and was able to get
the localhost to open the demos but I get several broken links. For
example, in the http://localhost/chameleon/samples/ when I click on ROI
Widget Pack Sample using widgets from the ROI widget pack I get the
following error:

Fatal error: Call to undefined function: ms_newsymbolobj() in
C:\ms4w\apps\chameleon\htdocs\widgets\TrueNorth\TrueNorth.widget.php on
line 213

Again, for example, in the http://localhost/chameleon/samples/ when I
click on Enhanced Widget Pack's Sample using XML Theme Legend I get the
following message returned: 

Warning: [MapServer Error]: msSaveImage():
(../tmp/ms_tmp/108784539119681.png) in
C:\ms4w\apps\chameleon\htdocs\widgets\Scalebar\Scalebar.widget.php on
line 385

Fatal error: Failed writing image to ../tmp/ms_tmp/108784539119681.png
in C:\ms4w\apps\chameleon\htdocs\widgets\Scalebar\Scalebar.widget.php on
line 385 

I get a lot more error messages if I do not have the folder
"c:\tmp\ms_tmp."  I do have this same-named folder under c:\ms4w\ and
c:\ms4w\chameleon.

Would the failed to write to /tmp/ms_tmp be a apache permissions
problem?  It seems to access the tmp folders ok but fails to write to
them.  Is there anything special that needs to be done in apache other
then to create an alias in httpd.conf?

Below is my httpd_chameleon.conf

Alias /ms_tmp/ "../ms4w/tmp/ms_tmp/" 
<Directory "/tmp/ms_tmp"> 
   Options Indexes MultiViews 
   AllowOverride None
   Order allow,deny
   Allow from all 
</Directory>  

Alias /chameleon/admin "/ms4w/apps/chameleon/htdocs_admin" 
<Directory "/ms4w/apps/chameleon/htdocs_admin"> 
  AllowOverride None 
  Options Indexes FollowSymLinks Multiviews  
  Order allow,deny 
  Allow from all 
</Directory> 
 
Alias /chameleon/docs "/ms4w/apps/chameleon/docs/html" 
<Directory "/ms4w/apps/chameleon/docs/html"> 
  AllowOverride None 
  Options Indexes FollowSymLinks Multiviews  
  Order allow,deny 
  Allow from all 
</Directory> 
 
Alias /chameleon/samples "/ms4w/apps/chameleon/samples/htdocs" 
<Directory "/ms4w/apps/chameleon/samples/htdocs"> 
  AllowOverride None 
  Options Indexes FollowSymLinks Multiviews  
  Order allow,deny 
  Allow from all 
</Directory> 
 
Alias /chameleon "/ms4w/apps/chameleon/htdocs" 
<Directory "/ms4w/apps/chameleon/htdocs"> 
  AllowOverride None 
  Options Indexes FollowSymLinks Multiviews  
  Order allow,deny 
  Allow from all 
</Directory> 
 

I think this a great program with a lot of potential and I just need a
little help getting out of the starting blocks!


Thanks in advance,

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.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/chameleon/attachments/20040621/c9eeb928/attachment.htm


More information about the Chameleon mailing list