You need to log in before you can comment on or make changes to this bug.
I have found a URL instead of a local path. The problem is in an application without access to the internet. --------------------- define( "GIF_SAMPLE", "http://www2.dmsolutions.ca/cgi-bin/gifsample/" ); // define the default gif draw icon define( "DEFAULT_ICON", GIF_SAMPLE."20/15?color=CCCCCC&outline=000000&corner=1" ); // instead of //define( "DEFAULT_ICON", "/usr/local/cwc2/htdocs/images/15-default.gif" ); // define the blank gif draw icon to use for the layer icon define( "BLANK_ICON", GIF_SAMPLE."20/15?color=000000&symbolid=6&symbolsize=4"); // instead of //define( "BLANK_ICON", "/usr/local/cwc2/htdocs/images/15-blank.gif" );
um. this was a temporary measure that never got looked at. For now you can modify the comments to look like: //define( "GIF_SAMPLE", "http://www2.dmsolutions.ca/cgi-bin/gifsample/" ); // define the default gif draw icon //define( "DEFAULT_ICON", GIF_SAMPLE."20/15?color=CCCCCC&outline=000000&corner=1" ); // instead of define( "DEFAULT_ICON", "/usr/local/cwc2/htdocs/images/15-default.gif" ); // define the blank gif draw icon to use for the layer icon //define( "BLANK_ICON", GIF_SAMPLE."20/15?color=000000&symbolid=6&symbolsize=4"); // instead of define( "BLANK_ICON", "/usr/local/cwc2/htdocs/images/15-blank.gif" ); and modify the paths to suit your chameleon installation. I will look at a more permanent solution for the next version (not beta3 though)
GIF_SAMPLE is only referenced in the defines for DEFAULT_ICON and BLANK_ICON. DEFAULT_ICON is unused. BLANK_ICON is used only in one spot. I've replaced it with some gd magic to create an appropriately sized transparent image on the fly.