[Chameleon] Empty buttons
Delfos, Jacob
jacob.delfos at maunsell.com
Thu Jun 3 04:35:01 EDT 2004
Although it wasn't set correctly (sample, rather than default), changing it
hasn't fixed the problem. The apache error suggests it is the buttenizer
that cannot read the image in C:\chameleon\roe7\htdocs/skins/default/. Is it
the slash and backslash problem? Why does it mix these?
Thanks,
Jacob
-----Original Message-----
From: bartvde at xs4all.nl [mailto:bartvde at xs4all.nl]
Sent: Thursday, 3 June 2004 4:11 PM
To: Delfos, Jacob
Cc: chameleon at lists.maptools.org
Subject: Re: [Chameleon] Empty buttons
Hi Jacob,
did you copy the skins/default folder into the htdocs directory of your
application? This is the default skin used if no skin is registered in the
app.
The sample apps register a different skin in their index.phtml through:
$oApp->registerSkin( 'skins/sample' );
Best regards,
Bart
> Hi All,
>
> I have a problem with certain buttons, in the sense that their content
> doesn't show up. E.g. the compasspoint buttons, and the tab-sheet
> buttons. It works in the sample, but not in the site I set up myself.
> I checked all my paths, but I can't find anything. I suspect it has to
> do with a warning that PHP shows. Can someone explain this to me?
>
> [03-Jun-2004 15:39:19] PHP Warning:
> imagecreatefrompng(C:\chameleon\roe7\htdocs/skins/default/): failed to
> open
> stream: Permission denied in
> C:\chameleon\roe7\htdocs\common\buttonizer\buttonizer.php on line 412
> [03-Jun-2004 15:39:19] PHP Warning: imagecolortransparent(): supplied
> argument is not a valid Image resource in
> C:\chameleon\roe7\htdocs\common\buttonizer\buttonizer.php on line 413
> [03-Jun-2004 15:39:19] PHP Warning: imagesx(): supplied argument is
> not a valid Image resource in
> C:\chameleon\roe7\htdocs\common\buttonizer\buttonizer.php on line 414
> [03-Jun-2004 15:39:19] PHP Warning: imagesy(): supplied argument is
> not a valid Image resource in
> C:\chameleon\roe7\htdocs\common\buttonizer\buttonizer.php on line 415
> [03-Jun-2004 15:39:19] PHP Warning: imagecopy(): supplied argument is
> not a valid Image resource in
> C:\chameleon\roe7\htdocs\common\buttonizer\buttonizer.php on line 442
> [03-Jun-2004 15:39:19] PHP Warning: imagedestroy(): supplied argument is
> not a valid Image resource in
> C:\chameleon\roe7\htdocs\common\buttonizer\buttonizer.php on line 447
>
>
>
> JACOB DELFOS
> SPATIAL INFORMATION ANALYST
> Maunsell Australia Pty Ltd
> 629 Newcastle Street
> PO Box 81
> Leederville 6902
> Western Australia
> ABN 20 093 846 925
>
> Tel + 61 8 9281 6185
> Fax + 61 8 9281 6297
> jacob.delfos at maunsell.com
>
> _______________________________________________
> Chameleon mailing list
> Chameleon at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/chameleon
>
More information about the Chameleon
mailing list