[Chameleon] Same old install problem

Delfos, Jacob jacob.delfos at maunsell.com
Wed Jun 2 21:05:27 EDT 2004


Paul,

Thanks for helping us work this out. Eventually I got it to work. But
there's a few other things that need adjustment:

- firstly, the correction that you suggested is necessary
- in MapImageStatic.widget.php, the path on line 29 seems incorrect (PHP
error). Me not being too PHP-literate, I only knew how to fix it by putting
in the absolute path to MapImageWidget.widget.php (which fixed it).
- to get the demo to work properly, the aliases suggested for Apache are not
enough. The temporary paths for images and buttons are not in there. Also,
the directory for these paths need to be manually created. It would probably
be good if these (empty) directories were included in the MS4W package. 

Regards,

Jacob


-----Original Message-----
From: Paul Spencer [mailto:pagameba at magma.ca] 
Sent: Thursday, 3 June 2004 3:11 AM
To: Matt Frost
Cc: chameleon at lists.maptools.org; jacob.delfos at maunsell.com
Subject: Re: [Chameleon] Same old install problem


Matt and Jacob ... and probably others too ...

this is likely not a problem with your configuration, at least, not 
directly.  The short answer is that we have discovered that this problem 
occurs on systems that do not have PEAR installed with PHP.

There is a fix (besides installing PEAR, which should not be required). 
  The latest CVS version of chameleon has been patched and I prepared 
beta 2 today for internal testing, hopefully we should release it by the 
end of the week.

In the mean time, if you are adventurous, you can apply the fix yourself 
by opening chameleon/htdocs/WidgetManager.php in your favourite text 
editor and modifying lines 29-31 that read as follows:

if (@require_once 'PEAR/Registry.php')
     $GLOBALS['gbPear']=true;
else

and comment these three lines out by doing the following:

//if (@require_once 'PEAR/Registry.php')
//    $GLOBALS['gbPear']=true;
//else

You MUST leave the next line as is

     $GLOBALS['gbPear']=false;

I'd appreciate if one or both of you could try this and let me know if 
it fixes your problem.

Cheers

Paul

Matt Frost wrote:

> Please forgive me for posting with this unoriginal problem - I held 
> out
> as long as I could.
> I've just installed 1.99 on my laptop (Mac, Panther, Mapserver binary 
> install from Serverlogistics.com) and I can't get any of the Chameleon 
> demo pages to open. PHP seems to be working fine- I can drop an echo 
> into chameleon.php, and it shows up in the browser. Trouble is, that's 
> the only thing that shows up, even in the source code.
> 
> What's the next likely troubleshooting step?
> 
> Thanks,
> Matt Frost
> 
> _______________________________________________
> Chameleon mailing list
> Chameleon at lists.maptools.org 
> http://lists.maptools.org/mailman/listinfo/chameleon
> 

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


More information about the Chameleon mailing list