You need to log in before you can comment on or make changes to this bug.
When a request is sent to a Chameleon service instance with the "templates" parameter not set, no error message is displayed. Notice that the "cwc2.xml" configuration file is set with a valid default template, a valid default context and a valid default language. The context root directory and template root directory are set correctly. Fedora Core 2 Chameleon beta 20041022 ----------- Request sent: http://server/cwc2.php?service=VCG&request=GetApplication&version=0.1.0& LANGUAGES=en-CA&TEMPLATES=
Changed target to 1.99 Beta 3.
I get this error message. Warning: file_get_contents(/ms4w/apps/chameleon/cwc2/templates/): failed to open stream: Permission denied in F:\ms4w\apps\chameleon\htdocs\chameleon.php on line 609 I am assuming you didn't see this because you are logging errors? In any case, I have modified cwc2.php to detect empty templates, including TEMPLATES= and TEMPLATES=test.html, and to report appropriately. I have also modified chameleon.php to suppress PHP errors when loading templates and to detect an invalid template and report it through the error manager. cwc2.php will now detect an invalid template in the URL by checking the error manager and return value from CWCExecute and will report all the errors on the error stack.
Yes, I'm loging the error. But I have error windows opened: PHP, Apache and JS. I just checked it again and I got no PHP error.
how was this bug fixed?
please read comment #2 more carefully.
Verified on Fedora Core 2.
Chris needs to close this bug.
verified on widows. see error messages. setting to close