MapTools.org

[Chameleon] Problem with moving Chameleon from 2K to XP....

Paul Spencer spencer@dmsolutions.ca
Mon, 09 Feb 2004 09:32:07 -0500
Jacob,

I am suprised at this.  I have had no problems on WinXP using Apache, so 
I suspect that your issue is related to subtle differences in IIS 
versions.  Unfortunately I have little experience with IIS nor do I have 
access to the versions that you are using.  I can only assume that you 
have tried all the usual things and that there is some deeper issue.  If 
the page loads normally and the only problem is with the drawmap.php not 
returning an image, I would look in two places:

1. access to the session information.  Chameleon uses PHP session 
management functionality and it is possible that IIS is preventing 
access to the session.  You would have had to identify a place for php 
to store session information, that location must be accessible to the 
web server user.  You can test to see if drawmap.php is having a problem 
re-instating the session by adding the following at the top of drawmap.php:

<?php
echo "<PRE>";
print_r( $_SESSION );
echo "</PRE>";
?>

You should see quite a lot of stuff printed out, if you don't then there 
is a problem.

2. drawmap.php has a problem of some sort.  Normally grabbing the URL 
from the image and loading in a separate browser will result in some 
output that indicates the error.  You can instrument drawmap.php with 
some echo statements to figure out where it is failing.

One other thing occurred to me, did you install PROJ?  That could cause 
problems too.

Cheers and good luck,

Paul

J. Delfos wrote:
> Hi List,
> 
> I developed a website with Chameleon 1.1, and got it working without any
> issues. I have managed to install it on a few different computers, with
> windows 2000 running IIS 5.0. Today I tried to install it on a computer
> with windows XP, running IIS 5.1, but it didn't work. The page does load,
> but the dhtmlmap image does not show up. In other words, the drawmap.php
> file does not run the way it's supposed to, because the URL of the dhtml
> map image does not return a map (tried loading it seperately using the
> source of the image). Legend works, including thumbnails for layers.
> Coordinates etc. are correct.
> 
> Can anyone give me some clues as to what difference between XP and 2K
> causes this, and how to fix it? I have used the exact same files to
> install it (PHP 4.3.4, etc.), same DLL's, everything. I copied all my
> files from a site that worked, only changing URL's, because all my file
> paths are the same. The approach worked when porting between windows 2000
> machines. Are there differences with regards to permissions between the
> two OS's? The only difference I spotted was that on this PC, windows was
> installed in "c:\windows", in stead of "c:\winnt".
> 
> regards,
> 
> Jacob
> 
> __________________________________
> Do you Yahoo!?
> Yahoo! Finance: Get your refund fast by filing online.
> http://taxes.yahoo.com/filing.html
> _______________________________________________
> Chameleon mailing list
> Chameleon@lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/chameleon
> 

-- 
  -----------------------------------------------------------------
|Paul Spencer                           spencer@dmsolutions.ca    |
|-----------------------------------------------------------------|
|Applications & Software Development                              |
|DM Solutions Group Inc                 http://www.dmsolutions.ca/|
  -----------------------------------------------------------------



This archive was generated by Pipermail.