Summary: | [Chameleon] button.php - does not handle less than 8 border images | ||
---|---|---|---|
Product: | Chameleon | Reporter: | Fred Warnock <fwarnock@dmsolutions.ca> |
Component: | Core | Assignee: | chameleon-dev <chameleon-dev@lists.maptools.org> |
Status: | CLOSED FIXED | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 1.99 | ||
Target Milestone: | 1.99 beta 2 | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: |
cannot reproduce ... it works for me with the latest cvs to specify only one image (in my example I set just the left image). do the errors appear in popups or the main app page ... and do they appear through the error manager or in the page as php errors/warnings?
the errors appeared int the main page of the application, but only occur if you do not provide the bottom right image. the errors are as follows. Notice: Undefined index: TEXTBUTTONBORDER_BOTTOMRIGHT_IMAGE in C:\DMSG\msapps\chameleon1.1\chameleon\htdocs\widgets\Button.php on line 618 Warning: imagecreatefrompng(C:\\DMSG\\msapps\\chameleon1.1\\chameleon_sample_fred\\htdocs//): failed to open stream: Permission denied in C:\DMSG\msapps\chameleon1.1\chameleon\htdocs\common\buttonizer\buttonizer.php on line 660 Warning: imagesx(): supplied argument is not a valid Image resource in C:\DMSG\msapps\chameleon1.1\chameleon\htdocs\common\buttonizer\buttonizer.php on line 661 Warning: imagesy(): supplied argument is not a valid Image resource in C:\DMSG\msapps\chameleon1.1\chameleon\htdocs\common\buttonizer\buttonizer.php on line 662
fixed. There was a copy/paste error that caused this.
verified using beta 2 2004-06-20 and closing