Summary: | [Chameleon-Service Instance]No error message displayed when the "templates" parameter is not set in URL | ||
---|---|---|---|
Product: | Chameleon | Reporter: | Normand Savard <nsavard@mapgears.com> |
Component: | Service Instance | Assignee: | chameleon-dev <chameleon-dev@lists.maptools.org> |
Status: | CLOSED FIXED | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 1.99 | ||
Target Milestone: | 1.99 beta 3 | ||
Hardware: | PC | ||
OS: | Linux | ||
Whiteboard: |
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