[Chameleon] Unoriginal problem (sorry) : blank page with new

bartvde at xs4all.nl bartvde at xs4all.nl
Tue Jun 1 04:37:12 EDT 2004


Hi Jacob,

for some of the functionality you need 4.2, see Paul's release notes.

If you want to try using 4.2, download the 4.2b3 binaries from:

http://www.maptools.org/php_mapscript/index.phtml?page=downloads.html

Can you put php logging on or is there anything reported in the Apache
error log?

Best regards,
Bart

> Tried that. Again, blank page. I set up the aliases as specified in the
> httpd.d file.
>
> I must be missing some dependency file. Are there any dependency
> differences
> between chameleon 1.0.4 and 1.99? Do I need mapscript_42, and if so, where
> do I find it? I got mapscript_40 at the moment.
>
> Regards,
>
> Jacob
>
>
> -----Original Message-----
> From: bartvde at xs4all.nl [mailto:bartvde at xs4all.nl]
> Sent: Tuesday, 1 June 2004 4:02 PM
> To: Delfos, Jacob
> Cc: 'chameleon at lists.maptools.org'
> Subject: Re: [Chameleon] Unoriginal problem (sorry) : blank page with new
> beta
>
>
> Hi Jacob,
>
> did you check to see if the sample applications are working?
>
> /ms4w/apps/chameleon/samples/htdocs/
>
> Depending on if you are using MS4W, you will need to create an Apache
> alias
> for this.
>
> Best regards,
> Bart
>
>> Hi All,
>>
>> I just downloaded the windows binary and installed it. Prior to this,
>> I used version 1.0.4 of chameleon.
>>
>> I have successfully added the aliases to Apache, and server-side
>> scripting runs fine in the htdocs directory of Chameleon. But I get a
>> blank page.
>>
>> As I used CWC2.php before, I am not very knowledgeable about how to
>> launch this version of Chameleon. I used a template from the
>> mailinglist to instantiate the chameleonclass (attached below, named
>> index.phtml). Can anyone spot anything wrong with it?
>>
>> My mapfile is correct. My template is a copy of 'simplest.html'. Can
>> someone point me to the right direction?
>>
>> Regards,
>>
>> Jacob
>>
>>
>> ----------------------------------------------------------------
>> <?
>> include( "c:/chameleon/roe7/htdocs/chameleon.php" );
>>
>> $szTemplate = "c:/web/roe7/template/template.html";
>> $szMapFile = "c:/web/roe7/mapfile.map";
>>
>> class test extends Chameleon
>> {
>>   function test()
>>   {
>>     parent::Chameleon();
>>     $this->moMapSession = new MapSession_RW;
>>     $this->moMapSession->setTempDir( getSessionSavePath());
>>   }
>>
>>   function CWCInitializeMap()
>>   {
>>     parent::CWCInitializeMap();
>>   }
>>
>>   function CWCLoadTemplate($szTemplateName)
>>   {
>>     $this->mszTemplate = implode("\n", file($szTemplateName));
>>   }
>> }
>>
>> $oApp =  new test();
>> $oApp->CWCInitialize( $szTemplate, $szMapFile  ); $oApp->CWCExecute();
>> ?>
>> -------------------------------------------------------------------
>>
>> _______________________________________________
>> Chameleon mailing list
>> Chameleon at lists.maptools.org
>> http://lists.maptools.org/mailman/listinfo/chameleon
>>
>



More information about the Chameleon mailing list